001 /** 002 * Copyright (c) 2000-2013 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 * @param companyId the company ID 158 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 159 * @return the first matching asset tag property 160 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 161 * @throws SystemException if a system exception occurred 162 */ 163 public com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_First( 164 long companyId, 165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 166 throws com.liferay.portal.kernel.exception.SystemException, 167 com.liferay.portlet.asset.NoSuchTagPropertyException; 168 169 /** 170 * Returns the first asset tag property in the ordered set where companyId = ?. 171 * 172 * @param companyId the company ID 173 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 174 * @return the first matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 175 * @throws SystemException if a system exception occurred 176 */ 177 public com.liferay.portlet.asset.model.AssetTagProperty fetchByCompanyId_First( 178 long companyId, 179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 180 throws com.liferay.portal.kernel.exception.SystemException; 181 182 /** 183 * Returns the last asset tag property in the ordered set where companyId = ?. 184 * 185 * @param companyId the company ID 186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 187 * @return the last matching asset tag property 188 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 189 * @throws SystemException if a system exception occurred 190 */ 191 public com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_Last( 192 long companyId, 193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 194 throws com.liferay.portal.kernel.exception.SystemException, 195 com.liferay.portlet.asset.NoSuchTagPropertyException; 196 197 /** 198 * Returns the last asset tag property in the ordered set where companyId = ?. 199 * 200 * @param companyId the company ID 201 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 202 * @return the last matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 203 * @throws SystemException if a system exception occurred 204 */ 205 public com.liferay.portlet.asset.model.AssetTagProperty fetchByCompanyId_Last( 206 long companyId, 207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 208 throws com.liferay.portal.kernel.exception.SystemException; 209 210 /** 211 * Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ?. 212 * 213 * @param tagPropertyId the primary key of the current asset tag property 214 * @param companyId the company ID 215 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 216 * @return the previous, current, and next asset tag property 217 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found 218 * @throws SystemException if a system exception occurred 219 */ 220 public com.liferay.portlet.asset.model.AssetTagProperty[] findByCompanyId_PrevAndNext( 221 long tagPropertyId, long companyId, 222 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 223 throws com.liferay.portal.kernel.exception.SystemException, 224 com.liferay.portlet.asset.NoSuchTagPropertyException; 225 226 /** 227 * Returns all the asset tag properties where tagId = ?. 228 * 229 * @param tagId the tag ID 230 * @return the 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) throws com.liferay.portal.kernel.exception.SystemException; 235 236 /** 237 * Returns a range of all the asset tag properties where tagId = ?. 238 * 239 * <p> 240 * 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. 241 * </p> 242 * 243 * @param tagId the tag ID 244 * @param start the lower bound of the range of asset tag properties 245 * @param end the upper bound of the range of asset tag properties (not inclusive) 246 * @return the range of matching asset tag properties 247 * @throws SystemException if a system exception occurred 248 */ 249 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId( 250 long tagId, int start, int end) 251 throws com.liferay.portal.kernel.exception.SystemException; 252 253 /** 254 * Returns an ordered range of all the asset tag properties where tagId = ?. 255 * 256 * <p> 257 * 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. 258 * </p> 259 * 260 * @param tagId the tag ID 261 * @param start the lower bound of the range of asset tag properties 262 * @param end the upper bound of the range of asset tag properties (not inclusive) 263 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 264 * @return the ordered range of matching asset tag properties 265 * @throws SystemException if a system exception occurred 266 */ 267 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId( 268 long tagId, int start, int end, 269 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 270 throws com.liferay.portal.kernel.exception.SystemException; 271 272 /** 273 * Returns the first asset tag property in the ordered set where tagId = ?. 274 * 275 * @param tagId the tag ID 276 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 277 * @return the first matching asset tag property 278 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 279 * @throws SystemException if a system exception occurred 280 */ 281 public com.liferay.portlet.asset.model.AssetTagProperty findByTagId_First( 282 long tagId, 283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 284 throws com.liferay.portal.kernel.exception.SystemException, 285 com.liferay.portlet.asset.NoSuchTagPropertyException; 286 287 /** 288 * Returns the first asset tag property in the ordered set where tagId = ?. 289 * 290 * @param tagId the tag ID 291 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 292 * @return the first matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 293 * @throws SystemException if a system exception occurred 294 */ 295 public com.liferay.portlet.asset.model.AssetTagProperty fetchByTagId_First( 296 long tagId, 297 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 298 throws com.liferay.portal.kernel.exception.SystemException; 299 300 /** 301 * Returns the last asset tag property in the ordered set where tagId = ?. 302 * 303 * @param tagId the tag ID 304 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 305 * @return the last matching asset tag property 306 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 307 * @throws SystemException if a system exception occurred 308 */ 309 public com.liferay.portlet.asset.model.AssetTagProperty findByTagId_Last( 310 long tagId, 311 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 312 throws com.liferay.portal.kernel.exception.SystemException, 313 com.liferay.portlet.asset.NoSuchTagPropertyException; 314 315 /** 316 * Returns the last asset tag property in the ordered set where tagId = ?. 317 * 318 * @param tagId the tag ID 319 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 320 * @return the last matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 321 * @throws SystemException if a system exception occurred 322 */ 323 public com.liferay.portlet.asset.model.AssetTagProperty fetchByTagId_Last( 324 long tagId, 325 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 326 throws com.liferay.portal.kernel.exception.SystemException; 327 328 /** 329 * Returns the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?. 330 * 331 * @param tagPropertyId the primary key of the current asset tag property 332 * @param tagId the tag ID 333 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 334 * @return the previous, current, and next asset tag property 335 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found 336 * @throws SystemException if a system exception occurred 337 */ 338 public com.liferay.portlet.asset.model.AssetTagProperty[] findByTagId_PrevAndNext( 339 long tagPropertyId, long tagId, 340 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 341 throws com.liferay.portal.kernel.exception.SystemException, 342 com.liferay.portlet.asset.NoSuchTagPropertyException; 343 344 /** 345 * Returns all the asset tag properties where companyId = ? and key = ?. 346 * 347 * @param companyId the company ID 348 * @param key the key 349 * @return the matching asset tag properties 350 * @throws SystemException if a system exception occurred 351 */ 352 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K( 353 long companyId, java.lang.String key) 354 throws com.liferay.portal.kernel.exception.SystemException; 355 356 /** 357 * Returns a range of all the asset tag properties where companyId = ? and key = ?. 358 * 359 * <p> 360 * 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. 361 * </p> 362 * 363 * @param companyId the company ID 364 * @param key the key 365 * @param start the lower bound of the range of asset tag properties 366 * @param end the upper bound of the range of asset tag properties (not inclusive) 367 * @return the range of matching asset tag properties 368 * @throws SystemException if a system exception occurred 369 */ 370 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K( 371 long companyId, java.lang.String key, int start, int end) 372 throws com.liferay.portal.kernel.exception.SystemException; 373 374 /** 375 * Returns an ordered range of all the asset tag properties where companyId = ? and key = ?. 376 * 377 * <p> 378 * 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. 379 * </p> 380 * 381 * @param companyId the company ID 382 * @param key the key 383 * @param start the lower bound of the range of asset tag properties 384 * @param end the upper bound of the range of asset tag properties (not inclusive) 385 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 386 * @return the ordered range of matching asset tag properties 387 * @throws SystemException if a system exception occurred 388 */ 389 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K( 390 long companyId, java.lang.String key, int start, int end, 391 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 392 throws com.liferay.portal.kernel.exception.SystemException; 393 394 /** 395 * Returns the first asset tag property in the ordered set where companyId = ? and key = ?. 396 * 397 * @param companyId the company ID 398 * @param key the key 399 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 400 * @return the first matching asset tag property 401 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 402 * @throws SystemException if a system exception occurred 403 */ 404 public com.liferay.portlet.asset.model.AssetTagProperty findByC_K_First( 405 long companyId, java.lang.String key, 406 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 407 throws com.liferay.portal.kernel.exception.SystemException, 408 com.liferay.portlet.asset.NoSuchTagPropertyException; 409 410 /** 411 * Returns the first asset tag property in the ordered set where companyId = ? and key = ?. 412 * 413 * @param companyId the company ID 414 * @param key the key 415 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 416 * @return the first matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 417 * @throws SystemException if a system exception occurred 418 */ 419 public com.liferay.portlet.asset.model.AssetTagProperty fetchByC_K_First( 420 long companyId, java.lang.String key, 421 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 422 throws com.liferay.portal.kernel.exception.SystemException; 423 424 /** 425 * Returns the last asset tag property in the ordered set where companyId = ? and key = ?. 426 * 427 * @param companyId the company ID 428 * @param key the key 429 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 430 * @return the last 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 findByC_K_Last( 435 long companyId, java.lang.String key, 436 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 437 throws com.liferay.portal.kernel.exception.SystemException, 438 com.liferay.portlet.asset.NoSuchTagPropertyException; 439 440 /** 441 * Returns the last asset tag property in the ordered set where companyId = ? and key = ?. 442 * 443 * @param companyId the company ID 444 * @param key the key 445 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 446 * @return the last 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 fetchByC_K_Last( 450 long companyId, java.lang.String key, 451 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 452 throws com.liferay.portal.kernel.exception.SystemException; 453 454 /** 455 * Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ? and key = ?. 456 * 457 * @param tagPropertyId the primary key of the current asset tag property 458 * @param companyId the company ID 459 * @param key the key 460 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 461 * @return the previous, current, and next asset tag property 462 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found 463 * @throws SystemException if a system exception occurred 464 */ 465 public com.liferay.portlet.asset.model.AssetTagProperty[] findByC_K_PrevAndNext( 466 long tagPropertyId, long companyId, java.lang.String key, 467 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 468 throws com.liferay.portal.kernel.exception.SystemException, 469 com.liferay.portlet.asset.NoSuchTagPropertyException; 470 471 /** 472 * Returns the asset tag property where tagId = ? and key = ? or throws a {@link com.liferay.portlet.asset.NoSuchTagPropertyException} if it could not be found. 473 * 474 * @param tagId the tag ID 475 * @param key the key 476 * @return the matching asset tag property 477 * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found 478 * @throws SystemException if a system exception occurred 479 */ 480 public com.liferay.portlet.asset.model.AssetTagProperty findByT_K( 481 long tagId, java.lang.String key) 482 throws com.liferay.portal.kernel.exception.SystemException, 483 com.liferay.portlet.asset.NoSuchTagPropertyException; 484 485 /** 486 * Returns the asset tag property where tagId = ? and key = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 487 * 488 * @param tagId the tag ID 489 * @param key the key 490 * @return the matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 491 * @throws SystemException if a system exception occurred 492 */ 493 public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K( 494 long tagId, java.lang.String key) 495 throws com.liferay.portal.kernel.exception.SystemException; 496 497 /** 498 * 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. 499 * 500 * @param tagId the tag ID 501 * @param key the key 502 * @param retrieveFromCache whether to use the finder cache 503 * @return the matching asset tag property, or <code>null</code> if a matching asset tag property could not be found 504 * @throws SystemException if a system exception occurred 505 */ 506 public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K( 507 long tagId, java.lang.String key, boolean retrieveFromCache) 508 throws com.liferay.portal.kernel.exception.SystemException; 509 510 /** 511 * Returns all the asset tag properties. 512 * 513 * @return the asset tag properties 514 * @throws SystemException if a system exception occurred 515 */ 516 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll() 517 throws com.liferay.portal.kernel.exception.SystemException; 518 519 /** 520 * Returns a range of all the asset tag properties. 521 * 522 * <p> 523 * 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. 524 * </p> 525 * 526 * @param start the lower bound of the range of asset tag properties 527 * @param end the upper bound of the range of asset tag properties (not inclusive) 528 * @return the range of asset tag properties 529 * @throws SystemException if a system exception occurred 530 */ 531 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll( 532 int start, int end) 533 throws com.liferay.portal.kernel.exception.SystemException; 534 535 /** 536 * Returns an ordered range of all the asset tag properties. 537 * 538 * <p> 539 * 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. 540 * </p> 541 * 542 * @param start the lower bound of the range of asset tag properties 543 * @param end the upper bound of the range of asset tag properties (not inclusive) 544 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 545 * @return the ordered range of asset tag properties 546 * @throws SystemException if a system exception occurred 547 */ 548 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll( 549 int start, int end, 550 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 551 throws com.liferay.portal.kernel.exception.SystemException; 552 553 /** 554 * Removes all the asset tag properties where companyId = ? from the database. 555 * 556 * @param companyId the company ID 557 * @throws SystemException if a system exception occurred 558 */ 559 public void removeByCompanyId(long companyId) 560 throws com.liferay.portal.kernel.exception.SystemException; 561 562 /** 563 * Removes all the asset tag properties where tagId = ? from the database. 564 * 565 * @param tagId the tag ID 566 * @throws SystemException if a system exception occurred 567 */ 568 public void removeByTagId(long tagId) 569 throws com.liferay.portal.kernel.exception.SystemException; 570 571 /** 572 * Removes all the asset tag properties where companyId = ? and key = ? from the database. 573 * 574 * @param companyId the company ID 575 * @param key the key 576 * @throws SystemException if a system exception occurred 577 */ 578 public void removeByC_K(long companyId, java.lang.String key) 579 throws com.liferay.portal.kernel.exception.SystemException; 580 581 /** 582 * Removes the asset tag property where tagId = ? and key = ? from the database. 583 * 584 * @param tagId the tag ID 585 * @param key the key 586 * @return the asset tag property that was removed 587 * @throws SystemException if a system exception occurred 588 */ 589 public com.liferay.portlet.asset.model.AssetTagProperty removeByT_K( 590 long tagId, java.lang.String key) 591 throws com.liferay.portal.kernel.exception.SystemException, 592 com.liferay.portlet.asset.NoSuchTagPropertyException; 593 594 /** 595 * Removes all the asset tag properties from the database. 596 * 597 * @throws SystemException if a system exception occurred 598 */ 599 public void removeAll() 600 throws com.liferay.portal.kernel.exception.SystemException; 601 602 /** 603 * Returns the number of asset tag properties where companyId = ?. 604 * 605 * @param companyId the company ID 606 * @return the number of matching asset tag properties 607 * @throws SystemException if a system exception occurred 608 */ 609 public int countByCompanyId(long companyId) 610 throws com.liferay.portal.kernel.exception.SystemException; 611 612 /** 613 * Returns the number of asset tag properties where tagId = ?. 614 * 615 * @param tagId the tag ID 616 * @return the number of matching asset tag properties 617 * @throws SystemException if a system exception occurred 618 */ 619 public int countByTagId(long tagId) 620 throws com.liferay.portal.kernel.exception.SystemException; 621 622 /** 623 * Returns the number of asset tag properties where companyId = ? and key = ?. 624 * 625 * @param companyId the company ID 626 * @param key the key 627 * @return the number of matching asset tag properties 628 * @throws SystemException if a system exception occurred 629 */ 630 public int countByC_K(long companyId, java.lang.String key) 631 throws com.liferay.portal.kernel.exception.SystemException; 632 633 /** 634 * Returns the number of asset tag properties where tagId = ? and key = ?. 635 * 636 * @param tagId the tag ID 637 * @param key the key 638 * @return the number of matching asset tag properties 639 * @throws SystemException if a system exception occurred 640 */ 641 public int countByT_K(long tagId, java.lang.String key) 642 throws com.liferay.portal.kernel.exception.SystemException; 643 644 /** 645 * Returns the number of asset tag properties. 646 * 647 * @return the number of asset tag properties 648 * @throws SystemException if a system exception occurred 649 */ 650 public int countAll() 651 throws com.liferay.portal.kernel.exception.SystemException; 652 }