001 /** 002 * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.asset.model.AssetTagStats; 022 023 /** 024 * The persistence interface for the asset tag stats service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see com.liferay.portlet.asset.service.persistence.impl.AssetTagStatsPersistenceImpl 032 * @see AssetTagStatsUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface AssetTagStatsPersistence extends BasePersistence<AssetTagStats> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link AssetTagStatsUtil} to access the asset tag stats persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the asset tag statses where tagId = ?. 045 * 046 * @param tagId the tag ID 047 * @return the matching asset tag statses 048 */ 049 public java.util.List<AssetTagStats> findByTagId(long tagId); 050 051 /** 052 * Returns a range of all the asset tag statses where tagId = ?. 053 * 054 * <p> 055 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 056 * </p> 057 * 058 * @param tagId the tag ID 059 * @param start the lower bound of the range of asset tag statses 060 * @param end the upper bound of the range of asset tag statses (not inclusive) 061 * @return the range of matching asset tag statses 062 */ 063 public java.util.List<AssetTagStats> findByTagId(long tagId, int start, 064 int end); 065 066 /** 067 * Returns an ordered range of all the asset tag statses where tagId = ?. 068 * 069 * <p> 070 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 071 * </p> 072 * 073 * @param tagId the tag ID 074 * @param start the lower bound of the range of asset tag statses 075 * @param end the upper bound of the range of asset tag statses (not inclusive) 076 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 077 * @return the ordered range of matching asset tag statses 078 */ 079 public java.util.List<AssetTagStats> findByTagId(long tagId, int start, 080 int end, 081 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator); 082 083 /** 084 * Returns an ordered range of all the asset tag statses where tagId = ?. 085 * 086 * <p> 087 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 088 * </p> 089 * 090 * @param tagId the tag ID 091 * @param start the lower bound of the range of asset tag statses 092 * @param end the upper bound of the range of asset tag statses (not inclusive) 093 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 094 * @param retrieveFromCache whether to retrieve from the finder cache 095 * @return the ordered range of matching asset tag statses 096 */ 097 public java.util.List<AssetTagStats> findByTagId(long tagId, int start, 098 int end, 099 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator, 100 boolean retrieveFromCache); 101 102 /** 103 * Returns the first asset tag stats in the ordered set where tagId = ?. 104 * 105 * @param tagId the tag ID 106 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 107 * @return the first matching asset tag stats 108 * @throws NoSuchTagStatsException if a matching asset tag stats could not be found 109 */ 110 public AssetTagStats findByTagId_First(long tagId, 111 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator) 112 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 113 114 /** 115 * Returns the first asset tag stats in the ordered set where tagId = ?. 116 * 117 * @param tagId the tag ID 118 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 119 * @return the first matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found 120 */ 121 public AssetTagStats fetchByTagId_First(long tagId, 122 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator); 123 124 /** 125 * Returns the last asset tag stats in the ordered set where tagId = ?. 126 * 127 * @param tagId the tag ID 128 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 129 * @return the last matching asset tag stats 130 * @throws NoSuchTagStatsException if a matching asset tag stats could not be found 131 */ 132 public AssetTagStats findByTagId_Last(long tagId, 133 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator) 134 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 135 136 /** 137 * Returns the last asset tag stats in the ordered set where tagId = ?. 138 * 139 * @param tagId the tag ID 140 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 141 * @return the last matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found 142 */ 143 public AssetTagStats fetchByTagId_Last(long tagId, 144 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator); 145 146 /** 147 * Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?. 148 * 149 * @param tagStatsId the primary key of the current asset tag stats 150 * @param tagId the tag ID 151 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 152 * @return the previous, current, and next asset tag stats 153 * @throws NoSuchTagStatsException if a asset tag stats with the primary key could not be found 154 */ 155 public AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId, long tagId, 156 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator) 157 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 158 159 /** 160 * Removes all the asset tag statses where tagId = ? from the database. 161 * 162 * @param tagId the tag ID 163 */ 164 public void removeByTagId(long tagId); 165 166 /** 167 * Returns the number of asset tag statses where tagId = ?. 168 * 169 * @param tagId the tag ID 170 * @return the number of matching asset tag statses 171 */ 172 public int countByTagId(long tagId); 173 174 /** 175 * Returns all the asset tag statses where classNameId = ?. 176 * 177 * @param classNameId the class name ID 178 * @return the matching asset tag statses 179 */ 180 public java.util.List<AssetTagStats> findByClassNameId(long classNameId); 181 182 /** 183 * Returns a range of all the asset tag statses where classNameId = ?. 184 * 185 * <p> 186 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 187 * </p> 188 * 189 * @param classNameId the class name ID 190 * @param start the lower bound of the range of asset tag statses 191 * @param end the upper bound of the range of asset tag statses (not inclusive) 192 * @return the range of matching asset tag statses 193 */ 194 public java.util.List<AssetTagStats> findByClassNameId(long classNameId, 195 int start, int end); 196 197 /** 198 * Returns an ordered range of all the asset tag statses where classNameId = ?. 199 * 200 * <p> 201 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 202 * </p> 203 * 204 * @param classNameId the class name ID 205 * @param start the lower bound of the range of asset tag statses 206 * @param end the upper bound of the range of asset tag statses (not inclusive) 207 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 208 * @return the ordered range of matching asset tag statses 209 */ 210 public java.util.List<AssetTagStats> findByClassNameId(long classNameId, 211 int start, int end, 212 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator); 213 214 /** 215 * Returns an ordered range of all the asset tag statses where classNameId = ?. 216 * 217 * <p> 218 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 219 * </p> 220 * 221 * @param classNameId the class name ID 222 * @param start the lower bound of the range of asset tag statses 223 * @param end the upper bound of the range of asset tag statses (not inclusive) 224 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 225 * @param retrieveFromCache whether to retrieve from the finder cache 226 * @return the ordered range of matching asset tag statses 227 */ 228 public java.util.List<AssetTagStats> findByClassNameId(long classNameId, 229 int start, int end, 230 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator, 231 boolean retrieveFromCache); 232 233 /** 234 * Returns the first asset tag stats in the ordered set where classNameId = ?. 235 * 236 * @param classNameId the class name ID 237 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 238 * @return the first matching asset tag stats 239 * @throws NoSuchTagStatsException if a matching asset tag stats could not be found 240 */ 241 public AssetTagStats findByClassNameId_First(long classNameId, 242 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator) 243 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 244 245 /** 246 * Returns the first asset tag stats in the ordered set where classNameId = ?. 247 * 248 * @param classNameId the class name ID 249 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 250 * @return the first matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found 251 */ 252 public AssetTagStats fetchByClassNameId_First(long classNameId, 253 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator); 254 255 /** 256 * Returns the last asset tag stats in the ordered set where classNameId = ?. 257 * 258 * @param classNameId the class name ID 259 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 260 * @return the last matching asset tag stats 261 * @throws NoSuchTagStatsException if a matching asset tag stats could not be found 262 */ 263 public AssetTagStats findByClassNameId_Last(long classNameId, 264 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator) 265 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 266 267 /** 268 * Returns the last asset tag stats in the ordered set where classNameId = ?. 269 * 270 * @param classNameId the class name ID 271 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 272 * @return the last matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found 273 */ 274 public AssetTagStats fetchByClassNameId_Last(long classNameId, 275 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator); 276 277 /** 278 * Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?. 279 * 280 * @param tagStatsId the primary key of the current asset tag stats 281 * @param classNameId the class name ID 282 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 283 * @return the previous, current, and next asset tag stats 284 * @throws NoSuchTagStatsException if a asset tag stats with the primary key could not be found 285 */ 286 public AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId, 287 long classNameId, 288 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator) 289 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 290 291 /** 292 * Removes all the asset tag statses where classNameId = ? from the database. 293 * 294 * @param classNameId the class name ID 295 */ 296 public void removeByClassNameId(long classNameId); 297 298 /** 299 * Returns the number of asset tag statses where classNameId = ?. 300 * 301 * @param classNameId the class name ID 302 * @return the number of matching asset tag statses 303 */ 304 public int countByClassNameId(long classNameId); 305 306 /** 307 * Returns the asset tag stats where tagId = ? and classNameId = ? or throws a {@link NoSuchTagStatsException} if it could not be found. 308 * 309 * @param tagId the tag ID 310 * @param classNameId the class name ID 311 * @return the matching asset tag stats 312 * @throws NoSuchTagStatsException if a matching asset tag stats could not be found 313 */ 314 public AssetTagStats findByT_C(long tagId, long classNameId) 315 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 316 317 /** 318 * Returns the asset tag stats where tagId = ? and classNameId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 319 * 320 * @param tagId the tag ID 321 * @param classNameId the class name ID 322 * @return the matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found 323 */ 324 public AssetTagStats fetchByT_C(long tagId, long classNameId); 325 326 /** 327 * Returns the asset tag stats where tagId = ? and classNameId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 328 * 329 * @param tagId the tag ID 330 * @param classNameId the class name ID 331 * @param retrieveFromCache whether to retrieve from the finder cache 332 * @return the matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found 333 */ 334 public AssetTagStats fetchByT_C(long tagId, long classNameId, 335 boolean retrieveFromCache); 336 337 /** 338 * Removes the asset tag stats where tagId = ? and classNameId = ? from the database. 339 * 340 * @param tagId the tag ID 341 * @param classNameId the class name ID 342 * @return the asset tag stats that was removed 343 */ 344 public AssetTagStats removeByT_C(long tagId, long classNameId) 345 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 346 347 /** 348 * Returns the number of asset tag statses where tagId = ? and classNameId = ?. 349 * 350 * @param tagId the tag ID 351 * @param classNameId the class name ID 352 * @return the number of matching asset tag statses 353 */ 354 public int countByT_C(long tagId, long classNameId); 355 356 /** 357 * Caches the asset tag stats in the entity cache if it is enabled. 358 * 359 * @param assetTagStats the asset tag stats 360 */ 361 public void cacheResult(AssetTagStats assetTagStats); 362 363 /** 364 * Caches the asset tag statses in the entity cache if it is enabled. 365 * 366 * @param assetTagStatses the asset tag statses 367 */ 368 public void cacheResult(java.util.List<AssetTagStats> assetTagStatses); 369 370 /** 371 * Creates a new asset tag stats with the primary key. Does not add the asset tag stats to the database. 372 * 373 * @param tagStatsId the primary key for the new asset tag stats 374 * @return the new asset tag stats 375 */ 376 public AssetTagStats create(long tagStatsId); 377 378 /** 379 * Removes the asset tag stats with the primary key from the database. Also notifies the appropriate model listeners. 380 * 381 * @param tagStatsId the primary key of the asset tag stats 382 * @return the asset tag stats that was removed 383 * @throws NoSuchTagStatsException if a asset tag stats with the primary key could not be found 384 */ 385 public AssetTagStats remove(long tagStatsId) 386 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 387 388 public AssetTagStats updateImpl(AssetTagStats assetTagStats); 389 390 /** 391 * Returns the asset tag stats with the primary key or throws a {@link NoSuchTagStatsException} if it could not be found. 392 * 393 * @param tagStatsId the primary key of the asset tag stats 394 * @return the asset tag stats 395 * @throws NoSuchTagStatsException if a asset tag stats with the primary key could not be found 396 */ 397 public AssetTagStats findByPrimaryKey(long tagStatsId) 398 throws com.liferay.portlet.asset.exception.NoSuchTagStatsException; 399 400 /** 401 * Returns the asset tag stats with the primary key or returns <code>null</code> if it could not be found. 402 * 403 * @param tagStatsId the primary key of the asset tag stats 404 * @return the asset tag stats, or <code>null</code> if a asset tag stats with the primary key could not be found 405 */ 406 public AssetTagStats fetchByPrimaryKey(long tagStatsId); 407 408 @Override 409 public java.util.Map<java.io.Serializable, AssetTagStats> fetchByPrimaryKeys( 410 java.util.Set<java.io.Serializable> primaryKeys); 411 412 /** 413 * Returns all the asset tag statses. 414 * 415 * @return the asset tag statses 416 */ 417 public java.util.List<AssetTagStats> findAll(); 418 419 /** 420 * Returns a range of all the asset tag statses. 421 * 422 * <p> 423 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 424 * </p> 425 * 426 * @param start the lower bound of the range of asset tag statses 427 * @param end the upper bound of the range of asset tag statses (not inclusive) 428 * @return the range of asset tag statses 429 */ 430 public java.util.List<AssetTagStats> findAll(int start, int end); 431 432 /** 433 * Returns an ordered range of all the asset tag statses. 434 * 435 * <p> 436 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 437 * </p> 438 * 439 * @param start the lower bound of the range of asset tag statses 440 * @param end the upper bound of the range of asset tag statses (not inclusive) 441 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 442 * @return the ordered range of asset tag statses 443 */ 444 public java.util.List<AssetTagStats> findAll(int start, int end, 445 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator); 446 447 /** 448 * Returns an ordered range of all the asset tag statses. 449 * 450 * <p> 451 * 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 QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 452 * </p> 453 * 454 * @param start the lower bound of the range of asset tag statses 455 * @param end the upper bound of the range of asset tag statses (not inclusive) 456 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 457 * @param retrieveFromCache whether to retrieve from the finder cache 458 * @return the ordered range of asset tag statses 459 */ 460 public java.util.List<AssetTagStats> findAll(int start, int end, 461 com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator, 462 boolean retrieveFromCache); 463 464 /** 465 * Removes all the asset tag statses from the database. 466 */ 467 public void removeAll(); 468 469 /** 470 * Returns the number of asset tag statses. 471 * 472 * @return the number of asset tag statses 473 */ 474 public int countAll(); 475 }