001 /** 002 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.asset.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.asset.model.AssetTagProperty; 020 021 /** 022 * The persistence interface for the asset tag property service. 023 * 024 * <p> 025 * Caching information and settings can be found in <code>portal.properties</code> 026 * </p> 027 * 028 * @author Brian Wing Shun Chan 029 * @see AssetTagPropertyPersistenceImpl 030 * @see AssetTagPropertyUtil 031 * @generated 032 */ 033 public interface AssetTagPropertyPersistence extends BasePersistence<AssetTagProperty> { 034 /* 035 * NOTE FOR DEVELOPERS: 036 * 037 * Never modify or reference this interface directly. Always use {@link AssetTagPropertyUtil} to access the asset tag property persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 038 */ 039 040 /** 041 * Caches the asset tag property in the entity cache if it is enabled. 042 * 043 * @param assetTagProperty the asset tag property 044 */ 045 public void cacheResult( 046 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty); 047 048 /** 049 * Caches the asset tag properties in the entity cache if it is enabled. 050 * 051 * @param assetTagProperties the asset tag properties 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> assetTagProperties); 055 056 /** 057 * Creates a new asset tag property with the primary key. Does not add the asset tag property to the database. 058 * 059 * @param tagPropertyId the primary key for the new asset tag property 060 * @return the new asset tag property 061 */ 062 public com.liferay.portlet.asset.model.AssetTagProperty create( 063 long tagPropertyId); 064 065 /** 066 * Removes the asset tag property with the primary key from the database. Also notifies the appropriate model listeners. 067 * 068 * @param tagPropertyId the primary key of the asset tag property 069 * @return the asset tag property that was removed 070 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found 071 * @throws SystemException if a system exception occurred 072 */ 073 public com.liferay.portlet.asset.model.AssetTagProperty remove( 074 long tagPropertyId) 075 throws com.liferay.portal.kernel.exception.SystemException, 076 com.liferay.portlet.asset.NoSuchTagPropertyException; 077 078 public com.liferay.portlet.asset.model.AssetTagProperty updateImpl( 079 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty, 080 boolean merge) 081 throws com.liferay.portal.kernel.exception.SystemException; 082 083 /** 084 * Returns the asset tag property with the primary key or throws a {@link com.liferay.portlet.asset.NoSuchTagPropertyException} if it could not be found. 085 * 086 * @param tagPropertyId the primary key of the asset tag property 087 * @return the asset tag property 088 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found 089 * @throws SystemException if a system exception occurred 090 */ 091 public com.liferay.portlet.asset.model.AssetTagProperty findByPrimaryKey( 092 long tagPropertyId) 093 throws com.liferay.portal.kernel.exception.SystemException, 094 com.liferay.portlet.asset.NoSuchTagPropertyException; 095 096 /** 097 * Returns the asset tag property with the primary key or returns <code>null</code> if it could not be found. 098 * 099 * @param tagPropertyId the primary key of the asset tag property 100 * @return the asset tag property, or <code>null</code> if a asset tag property with the primary key could not be found 101 * @throws SystemException if a system exception occurred 102 */ 103 public com.liferay.portlet.asset.model.AssetTagProperty fetchByPrimaryKey( 104 long tagPropertyId) 105 throws com.liferay.portal.kernel.exception.SystemException; 106 107 /** 108 * Returns all the asset tag properties where companyId = ?. 109 * 110 * @param companyId the company ID 111 * @return the matching asset tag properties 112 * @throws SystemException if a system exception occurred 113 */ 114 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId( 115 long companyId) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns a range of all the asset tag properties where companyId = ?. 120 * 121 * <p> 122 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 123 * </p> 124 * 125 * @param companyId the company ID 126 * @param start the lower bound of the range of asset tag properties 127 * @param end the upper bound of the range of asset tag properties (not inclusive) 128 * @return the range of matching asset tag properties 129 * @throws SystemException if a system exception occurred 130 */ 131 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId( 132 long companyId, int start, int end) 133 throws com.liferay.portal.kernel.exception.SystemException; 134 135 /** 136 * Returns an ordered range of all the asset tag properties where companyId = ?. 137 * 138 * <p> 139 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 140 * </p> 141 * 142 * @param companyId the company ID 143 * @param start the lower bound of the range of asset tag properties 144 * @param end the upper bound of the range of asset tag properties (not inclusive) 145 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 146 * @return the ordered range of matching asset tag properties 147 * @throws SystemException if a system exception occurred 148 */ 149 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId( 150 long companyId, int start, int end, 151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 152 throws com.liferay.portal.kernel.exception.SystemException; 153 154 /** 155 * Returns the first asset tag property in the ordered set where companyId = ?. 156 * 157 * <p> 158 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 159 * </p> 160 * 161 * @param companyId the company ID 162 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 163 * @return the first matching asset tag property 164 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 165 * @throws SystemException if a system exception occurred 166 */ 167 public com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_First( 168 long companyId, 169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 170 throws com.liferay.portal.kernel.exception.SystemException, 171 com.liferay.portlet.asset.NoSuchTagPropertyException; 172 173 /** 174 * Returns the last asset tag property in the ordered set where companyId = ?. 175 * 176 * <p> 177 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 178 * </p> 179 * 180 * @param companyId the company ID 181 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 182 * @return the last matching asset tag property 183 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 184 * @throws SystemException if a system exception occurred 185 */ 186 public com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_Last( 187 long companyId, 188 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 189 throws com.liferay.portal.kernel.exception.SystemException, 190 com.liferay.portlet.asset.NoSuchTagPropertyException; 191 192 /** 193 * Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ?. 194 * 195 * <p> 196 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 197 * </p> 198 * 199 * @param tagPropertyId the primary key of the current asset tag property 200 * @param companyId the company ID 201 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 202 * @return the previous, current, and next asset tag property 203 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found 204 * @throws SystemException if a system exception occurred 205 */ 206 public com.liferay.portlet.asset.model.AssetTagProperty[] findByCompanyId_PrevAndNext( 207 long tagPropertyId, long companyId, 208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 209 throws com.liferay.portal.kernel.exception.SystemException, 210 com.liferay.portlet.asset.NoSuchTagPropertyException; 211 212 /** 213 * Returns all the asset tag properties where tagId = ?. 214 * 215 * @param tagId the tag ID 216 * @return the matching asset tag properties 217 * @throws SystemException if a system exception occurred 218 */ 219 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId( 220 long tagId) throws com.liferay.portal.kernel.exception.SystemException; 221 222 /** 223 * Returns a range of all the asset tag properties where tagId = ?. 224 * 225 * <p> 226 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 227 * </p> 228 * 229 * @param tagId the tag ID 230 * @param start the lower bound of the range of asset tag properties 231 * @param end the upper bound of the range of asset tag properties (not inclusive) 232 * @return the range of matching asset tag properties 233 * @throws SystemException if a system exception occurred 234 */ 235 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId( 236 long tagId, int start, int end) 237 throws com.liferay.portal.kernel.exception.SystemException; 238 239 /** 240 * Returns an ordered range of all the asset tag properties where tagId = ?. 241 * 242 * <p> 243 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 244 * </p> 245 * 246 * @param tagId the tag ID 247 * @param start the lower bound of the range of asset tag properties 248 * @param end the upper bound of the range of asset tag properties (not inclusive) 249 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 250 * @return the ordered range of matching asset tag properties 251 * @throws SystemException if a system exception occurred 252 */ 253 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId( 254 long tagId, int start, int end, 255 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 256 throws com.liferay.portal.kernel.exception.SystemException; 257 258 /** 259 * Returns the first asset tag property in the ordered set where tagId = ?. 260 * 261 * <p> 262 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 263 * </p> 264 * 265 * @param tagId the tag ID 266 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 267 * @return the first matching asset tag property 268 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 269 * @throws SystemException if a system exception occurred 270 */ 271 public com.liferay.portlet.asset.model.AssetTagProperty findByTagId_First( 272 long tagId, 273 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 274 throws com.liferay.portal.kernel.exception.SystemException, 275 com.liferay.portlet.asset.NoSuchTagPropertyException; 276 277 /** 278 * Returns the last asset tag property in the ordered set where tagId = ?. 279 * 280 * <p> 281 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 282 * </p> 283 * 284 * @param tagId the tag ID 285 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 286 * @return the last matching asset tag property 287 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 288 * @throws SystemException if a system exception occurred 289 */ 290 public com.liferay.portlet.asset.model.AssetTagProperty findByTagId_Last( 291 long tagId, 292 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 293 throws com.liferay.portal.kernel.exception.SystemException, 294 com.liferay.portlet.asset.NoSuchTagPropertyException; 295 296 /** 297 * Returns the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?. 298 * 299 * <p> 300 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 301 * </p> 302 * 303 * @param tagPropertyId the primary key of the current asset tag property 304 * @param tagId the tag ID 305 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 306 * @return the previous, current, and next asset tag property 307 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found 308 * @throws SystemException if a system exception occurred 309 */ 310 public com.liferay.portlet.asset.model.AssetTagProperty[] findByTagId_PrevAndNext( 311 long tagPropertyId, long tagId, 312 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 313 throws com.liferay.portal.kernel.exception.SystemException, 314 com.liferay.portlet.asset.NoSuchTagPropertyException; 315 316 /** 317 * Returns all the asset tag properties where companyId = ? and key = ?. 318 * 319 * @param companyId the company ID 320 * @param key the key 321 * @return the matching asset tag properties 322 * @throws SystemException if a system exception occurred 323 */ 324 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K( 325 long companyId, java.lang.String key) 326 throws com.liferay.portal.kernel.exception.SystemException; 327 328 /** 329 * Returns a range of all the asset tag properties where companyId = ? and key = ?. 330 * 331 * <p> 332 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 333 * </p> 334 * 335 * @param companyId the company ID 336 * @param key the key 337 * @param start the lower bound of the range of asset tag properties 338 * @param end the upper bound of the range of asset tag properties (not inclusive) 339 * @return the range of matching asset tag properties 340 * @throws SystemException if a system exception occurred 341 */ 342 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K( 343 long companyId, java.lang.String key, int start, int end) 344 throws com.liferay.portal.kernel.exception.SystemException; 345 346 /** 347 * Returns an ordered range of all the asset tag properties where companyId = ? and key = ?. 348 * 349 * <p> 350 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 351 * </p> 352 * 353 * @param companyId the company ID 354 * @param key the key 355 * @param start the lower bound of the range of asset tag properties 356 * @param end the upper bound of the range of asset tag properties (not inclusive) 357 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 358 * @return the ordered range of matching asset tag properties 359 * @throws SystemException if a system exception occurred 360 */ 361 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K( 362 long companyId, java.lang.String key, int start, int end, 363 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 364 throws com.liferay.portal.kernel.exception.SystemException; 365 366 /** 367 * Returns the first asset tag property in the ordered set where companyId = ? and key = ?. 368 * 369 * <p> 370 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 371 * </p> 372 * 373 * @param companyId the company ID 374 * @param key the key 375 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 376 * @return the first matching asset tag property 377 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 378 * @throws SystemException if a system exception occurred 379 */ 380 public com.liferay.portlet.asset.model.AssetTagProperty findByC_K_First( 381 long companyId, java.lang.String key, 382 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 383 throws com.liferay.portal.kernel.exception.SystemException, 384 com.liferay.portlet.asset.NoSuchTagPropertyException; 385 386 /** 387 * Returns the last asset tag property in the ordered set where companyId = ? and key = ?. 388 * 389 * <p> 390 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 391 * </p> 392 * 393 * @param companyId the company ID 394 * @param key the key 395 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 396 * @return the last matching asset tag property 397 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 398 * @throws SystemException if a system exception occurred 399 */ 400 public com.liferay.portlet.asset.model.AssetTagProperty findByC_K_Last( 401 long companyId, java.lang.String key, 402 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 403 throws com.liferay.portal.kernel.exception.SystemException, 404 com.liferay.portlet.asset.NoSuchTagPropertyException; 405 406 /** 407 * Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ? and key = ?. 408 * 409 * <p> 410 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 411 * </p> 412 * 413 * @param tagPropertyId the primary key of the current asset tag property 414 * @param companyId the company ID 415 * @param key the key 416 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 417 * @return the previous, current, and next asset tag property 418 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found 419 * @throws SystemException if a system exception occurred 420 */ 421 public com.liferay.portlet.asset.model.AssetTagProperty[] findByC_K_PrevAndNext( 422 long tagPropertyId, long companyId, java.lang.String key, 423 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 424 throws com.liferay.portal.kernel.exception.SystemException, 425 com.liferay.portlet.asset.NoSuchTagPropertyException; 426 427 /** 428 * Returns the asset tag property where tagId = ? and key = ? or throws a {@link com.liferay.portlet.asset.NoSuchTagPropertyException} if it could not be found. 429 * 430 * @param tagId the tag ID 431 * @param key the key 432 * @return the matching asset tag property 433 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 434 * @throws SystemException if a system exception occurred 435 */ 436 public com.liferay.portlet.asset.model.AssetTagProperty findByT_K( 437 long tagId, java.lang.String key) 438 throws com.liferay.portal.kernel.exception.SystemException, 439 com.liferay.portlet.asset.NoSuchTagPropertyException; 440 441 /** 442 * Returns the asset tag property where tagId = ? and key = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 443 * 444 * @param tagId the tag ID 445 * @param key the key 446 * @return the matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 447 * @throws SystemException if a system exception occurred 448 */ 449 public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K( 450 long tagId, java.lang.String key) 451 throws com.liferay.portal.kernel.exception.SystemException; 452 453 /** 454 * Returns the asset tag property where tagId = ? and key = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 455 * 456 * @param tagId the tag ID 457 * @param key the key 458 * @param retrieveFromCache whether to use the finder cache 459 * @return the matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 460 * @throws SystemException if a system exception occurred 461 */ 462 public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K( 463 long tagId, java.lang.String key, boolean retrieveFromCache) 464 throws com.liferay.portal.kernel.exception.SystemException; 465 466 /** 467 * Returns all the asset tag properties. 468 * 469 * @return the asset tag properties 470 * @throws SystemException if a system exception occurred 471 */ 472 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll() 473 throws com.liferay.portal.kernel.exception.SystemException; 474 475 /** 476 * Returns a range of all the asset tag properties. 477 * 478 * <p> 479 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 480 * </p> 481 * 482 * @param start the lower bound of the range of asset tag properties 483 * @param end the upper bound of the range of asset tag properties (not inclusive) 484 * @return the range of asset tag properties 485 * @throws SystemException if a system exception occurred 486 */ 487 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll( 488 int start, int end) 489 throws com.liferay.portal.kernel.exception.SystemException; 490 491 /** 492 * Returns an ordered range of all the asset tag properties. 493 * 494 * <p> 495 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 496 * </p> 497 * 498 * @param start the lower bound of the range of asset tag properties 499 * @param end the upper bound of the range of asset tag properties (not inclusive) 500 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 501 * @return the ordered range of asset tag properties 502 * @throws SystemException if a system exception occurred 503 */ 504 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll( 505 int start, int end, 506 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 507 throws com.liferay.portal.kernel.exception.SystemException; 508 509 /** 510 * Removes all the asset tag properties where companyId = ? from the database. 511 * 512 * @param companyId the company ID 513 * @throws SystemException if a system exception occurred 514 */ 515 public void removeByCompanyId(long companyId) 516 throws com.liferay.portal.kernel.exception.SystemException; 517 518 /** 519 * Removes all the asset tag properties where tagId = ? from the database. 520 * 521 * @param tagId the tag ID 522 * @throws SystemException if a system exception occurred 523 */ 524 public void removeByTagId(long tagId) 525 throws com.liferay.portal.kernel.exception.SystemException; 526 527 /** 528 * Removes all the asset tag properties where companyId = ? and key = ? from the database. 529 * 530 * @param companyId the company ID 531 * @param key the key 532 * @throws SystemException if a system exception occurred 533 */ 534 public void removeByC_K(long companyId, java.lang.String key) 535 throws com.liferay.portal.kernel.exception.SystemException; 536 537 /** 538 * Removes the asset tag property where tagId = ? and key = ? from the database. 539 * 540 * @param tagId the tag ID 541 * @param key the key 542 * @throws SystemException if a system exception occurred 543 */ 544 public void removeByT_K(long tagId, java.lang.String key) 545 throws com.liferay.portal.kernel.exception.SystemException, 546 com.liferay.portlet.asset.NoSuchTagPropertyException; 547 548 /** 549 * Removes all the asset tag properties from the database. 550 * 551 * @throws SystemException if a system exception occurred 552 */ 553 public void removeAll() 554 throws com.liferay.portal.kernel.exception.SystemException; 555 556 /** 557 * Returns the number of asset tag properties where companyId = ?. 558 * 559 * @param companyId the company ID 560 * @return the number of matching asset tag properties 561 * @throws SystemException if a system exception occurred 562 */ 563 public int countByCompanyId(long companyId) 564 throws com.liferay.portal.kernel.exception.SystemException; 565 566 /** 567 * Returns the number of asset tag properties where tagId = ?. 568 * 569 * @param tagId the tag ID 570 * @return the number of matching asset tag properties 571 * @throws SystemException if a system exception occurred 572 */ 573 public int countByTagId(long tagId) 574 throws com.liferay.portal.kernel.exception.SystemException; 575 576 /** 577 * Returns the number of asset tag properties where companyId = ? and key = ?. 578 * 579 * @param companyId the company ID 580 * @param key the key 581 * @return the number of matching asset tag properties 582 * @throws SystemException if a system exception occurred 583 */ 584 public int countByC_K(long companyId, java.lang.String key) 585 throws com.liferay.portal.kernel.exception.SystemException; 586 587 /** 588 * Returns the number of asset tag properties where tagId = ? and key = ?. 589 * 590 * @param tagId the tag ID 591 * @param key the key 592 * @return the number of matching asset tag properties 593 * @throws SystemException if a system exception occurred 594 */ 595 public int countByT_K(long tagId, java.lang.String key) 596 throws com.liferay.portal.kernel.exception.SystemException; 597 598 /** 599 * Returns the number of asset tag properties. 600 * 601 * @return the number of asset tag properties 602 * @throws SystemException if a system exception occurred 603 */ 604 public int countAll() 605 throws com.liferay.portal.kernel.exception.SystemException; 606 }