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