Liferay 7.0-ce-b4

com.liferay.portlet.asset.service.persistence
Interface AssetTagStatsPersistence

All Superinterfaces:
BasePersistence<AssetTagStats>

@ProviderType
public interface AssetTagStatsPersistence
extends BasePersistence<AssetTagStats>

The persistence interface for the asset tag stats service.

Caching information and settings can be found in portal.properties

See Also:
com.liferay.portlet.asset.service.persistence.impl.AssetTagStatsPersistenceImpl, AssetTagStatsUtil

Method Summary
 void cacheResult(AssetTagStats assetTagStats)
          Caches the asset tag stats in the entity cache if it is enabled.
 void cacheResult(List<AssetTagStats> assetTagStatses)
          Caches the asset tag statses in the entity cache if it is enabled.
 int countAll()
          Returns the number of asset tag statses.
 int countByClassNameId(long classNameId)
          Returns the number of asset tag statses where classNameId = ?.
 int countByT_C(long tagId, long classNameId)
          Returns the number of asset tag statses where tagId = ? and classNameId = ?.
 int countByTagId(long tagId)
          Returns the number of asset tag statses where tagId = ?.
 AssetTagStats create(long tagStatsId)
          Creates a new asset tag stats with the primary key.
 AssetTagStats fetchByClassNameId_First(long classNameId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the first asset tag stats in the ordered set where classNameId = ?.
 AssetTagStats fetchByClassNameId_Last(long classNameId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the last asset tag stats in the ordered set where classNameId = ?.
 AssetTagStats fetchByPrimaryKey(long tagStatsId)
          Returns the asset tag stats with the primary key or returns null if it could not be found.
 Map<Serializable,AssetTagStats> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 AssetTagStats fetchByT_C(long tagId, long classNameId)
          Returns the asset tag stats where tagId = ? and classNameId = ? or returns null if it could not be found.
 AssetTagStats fetchByT_C(long tagId, long classNameId, boolean retrieveFromCache)
          Returns the asset tag stats where tagId = ? and classNameId = ? or returns null if it could not be found, optionally using the finder cache.
 AssetTagStats fetchByTagId_First(long tagId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the first asset tag stats in the ordered set where tagId = ?.
 AssetTagStats fetchByTagId_Last(long tagId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the last asset tag stats in the ordered set where tagId = ?.
 List<AssetTagStats> findAll()
          Returns all the asset tag statses.
 List<AssetTagStats> findAll(int start, int end)
          Returns a range of all the asset tag statses.
 List<AssetTagStats> findAll(int start, int end, OrderByComparator<AssetTagStats> orderByComparator)
          Returns an ordered range of all the asset tag statses.
 List<AssetTagStats> findAll(int start, int end, OrderByComparator<AssetTagStats> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tag statses.
 AssetTagStats findByClassNameId_First(long classNameId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the first asset tag stats in the ordered set where classNameId = ?.
 AssetTagStats findByClassNameId_Last(long classNameId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the last asset tag stats in the ordered set where classNameId = ?.
 AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId, long classNameId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?.
 List<AssetTagStats> findByClassNameId(long classNameId)
          Returns all the asset tag statses where classNameId = ?.
 List<AssetTagStats> findByClassNameId(long classNameId, int start, int end)
          Returns a range of all the asset tag statses where classNameId = ?.
 List<AssetTagStats> findByClassNameId(long classNameId, int start, int end, OrderByComparator<AssetTagStats> orderByComparator)
          Returns an ordered range of all the asset tag statses where classNameId = ?.
 List<AssetTagStats> findByClassNameId(long classNameId, int start, int end, OrderByComparator<AssetTagStats> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tag statses where classNameId = ?.
 AssetTagStats findByPrimaryKey(long tagStatsId)
          Returns the asset tag stats with the primary key or throws a NoSuchTagStatsException if it could not be found.
 AssetTagStats findByT_C(long tagId, long classNameId)
          Returns the asset tag stats where tagId = ? and classNameId = ? or throws a NoSuchTagStatsException if it could not be found.
 AssetTagStats findByTagId_First(long tagId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the first asset tag stats in the ordered set where tagId = ?.
 AssetTagStats findByTagId_Last(long tagId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the last asset tag stats in the ordered set where tagId = ?.
 AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId, long tagId, OrderByComparator<AssetTagStats> orderByComparator)
          Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?.
 List<AssetTagStats> findByTagId(long tagId)
          Returns all the asset tag statses where tagId = ?.
 List<AssetTagStats> findByTagId(long tagId, int start, int end)
          Returns a range of all the asset tag statses where tagId = ?.
 List<AssetTagStats> findByTagId(long tagId, int start, int end, OrderByComparator<AssetTagStats> orderByComparator)
          Returns an ordered range of all the asset tag statses where tagId = ?.
 List<AssetTagStats> findByTagId(long tagId, int start, int end, OrderByComparator<AssetTagStats> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tag statses where tagId = ?.
 AssetTagStats remove(long tagStatsId)
          Removes the asset tag stats with the primary key from the database.
 void removeAll()
          Removes all the asset tag statses from the database.
 void removeByClassNameId(long classNameId)
          Removes all the asset tag statses where classNameId = ? from the database.
 AssetTagStats removeByT_C(long tagId, long classNameId)
          Removes the asset tag stats where tagId = ? and classNameId = ? from the database.
 void removeByTagId(long tagId)
          Removes all the asset tag statses where tagId = ? from the database.
 AssetTagStats updateImpl(AssetTagStats assetTagStats)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByTagId

List<AssetTagStats> findByTagId(long tagId)
Returns all the asset tag statses where tagId = ?.

Parameters:
tagId - the tag ID
Returns:
the matching asset tag statses

findByTagId

List<AssetTagStats> findByTagId(long tagId,
                                int start,
                                int end)
Returns a range of all the asset tag statses where tagId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
tagId - the tag ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
Returns:
the range of matching asset tag statses

findByTagId

List<AssetTagStats> findByTagId(long tagId,
                                int start,
                                int end,
                                OrderByComparator<AssetTagStats> orderByComparator)
Returns an ordered range of all the asset tag statses where tagId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
tagId - the tag ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tag statses

findByTagId

List<AssetTagStats> findByTagId(long tagId,
                                int start,
                                int end,
                                OrderByComparator<AssetTagStats> orderByComparator,
                                boolean retrieveFromCache)
Returns an ordered range of all the asset tag statses where tagId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
tagId - the tag ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching asset tag statses

findByTagId_First

AssetTagStats findByTagId_First(long tagId,
                                OrderByComparator<AssetTagStats> orderByComparator)
                                throws NoSuchTagStatsException
Returns the first asset tag stats in the ordered set where tagId = ?.

Parameters:
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag stats
Throws:
NoSuchTagStatsException - if a matching asset tag stats could not be found

fetchByTagId_First

AssetTagStats fetchByTagId_First(long tagId,
                                 OrderByComparator<AssetTagStats> orderByComparator)
Returns the first asset tag stats in the ordered set where tagId = ?.

Parameters:
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag stats, or null if a matching asset tag stats could not be found

findByTagId_Last

AssetTagStats findByTagId_Last(long tagId,
                               OrderByComparator<AssetTagStats> orderByComparator)
                               throws NoSuchTagStatsException
Returns the last asset tag stats in the ordered set where tagId = ?.

Parameters:
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag stats
Throws:
NoSuchTagStatsException - if a matching asset tag stats could not be found

fetchByTagId_Last

AssetTagStats fetchByTagId_Last(long tagId,
                                OrderByComparator<AssetTagStats> orderByComparator)
Returns the last asset tag stats in the ordered set where tagId = ?.

Parameters:
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag stats, or null if a matching asset tag stats could not be found

findByTagId_PrevAndNext

AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId,
                                        long tagId,
                                        OrderByComparator<AssetTagStats> orderByComparator)
                                        throws NoSuchTagStatsException
Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?.

Parameters:
tagStatsId - the primary key of the current asset tag stats
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag stats
Throws:
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found

removeByTagId

void removeByTagId(long tagId)
Removes all the asset tag statses where tagId = ? from the database.

Parameters:
tagId - the tag ID

countByTagId

int countByTagId(long tagId)
Returns the number of asset tag statses where tagId = ?.

Parameters:
tagId - the tag ID
Returns:
the number of matching asset tag statses

findByClassNameId

List<AssetTagStats> findByClassNameId(long classNameId)
Returns all the asset tag statses where classNameId = ?.

Parameters:
classNameId - the class name ID
Returns:
the matching asset tag statses

findByClassNameId

List<AssetTagStats> findByClassNameId(long classNameId,
                                      int start,
                                      int end)
Returns a range of all the asset tag statses where classNameId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
classNameId - the class name ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
Returns:
the range of matching asset tag statses

findByClassNameId

List<AssetTagStats> findByClassNameId(long classNameId,
                                      int start,
                                      int end,
                                      OrderByComparator<AssetTagStats> orderByComparator)
Returns an ordered range of all the asset tag statses where classNameId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
classNameId - the class name ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tag statses

findByClassNameId

List<AssetTagStats> findByClassNameId(long classNameId,
                                      int start,
                                      int end,
                                      OrderByComparator<AssetTagStats> orderByComparator,
                                      boolean retrieveFromCache)
Returns an ordered range of all the asset tag statses where classNameId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
classNameId - the class name ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching asset tag statses

findByClassNameId_First

AssetTagStats findByClassNameId_First(long classNameId,
                                      OrderByComparator<AssetTagStats> orderByComparator)
                                      throws NoSuchTagStatsException
Returns the first asset tag stats in the ordered set where classNameId = ?.

Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag stats
Throws:
NoSuchTagStatsException - if a matching asset tag stats could not be found

fetchByClassNameId_First

AssetTagStats fetchByClassNameId_First(long classNameId,
                                       OrderByComparator<AssetTagStats> orderByComparator)
Returns the first asset tag stats in the ordered set where classNameId = ?.

Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag stats, or null if a matching asset tag stats could not be found

findByClassNameId_Last

AssetTagStats findByClassNameId_Last(long classNameId,
                                     OrderByComparator<AssetTagStats> orderByComparator)
                                     throws NoSuchTagStatsException
Returns the last asset tag stats in the ordered set where classNameId = ?.

Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag stats
Throws:
NoSuchTagStatsException - if a matching asset tag stats could not be found

fetchByClassNameId_Last

AssetTagStats fetchByClassNameId_Last(long classNameId,
                                      OrderByComparator<AssetTagStats> orderByComparator)
Returns the last asset tag stats in the ordered set where classNameId = ?.

Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag stats, or null if a matching asset tag stats could not be found

findByClassNameId_PrevAndNext

AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId,
                                              long classNameId,
                                              OrderByComparator<AssetTagStats> orderByComparator)
                                              throws NoSuchTagStatsException
Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?.

Parameters:
tagStatsId - the primary key of the current asset tag stats
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag stats
Throws:
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found

removeByClassNameId

void removeByClassNameId(long classNameId)
Removes all the asset tag statses where classNameId = ? from the database.

Parameters:
classNameId - the class name ID

countByClassNameId

int countByClassNameId(long classNameId)
Returns the number of asset tag statses where classNameId = ?.

Parameters:
classNameId - the class name ID
Returns:
the number of matching asset tag statses

findByT_C

AssetTagStats findByT_C(long tagId,
                        long classNameId)
                        throws NoSuchTagStatsException
Returns the asset tag stats where tagId = ? and classNameId = ? or throws a NoSuchTagStatsException if it could not be found.

Parameters:
tagId - the tag ID
classNameId - the class name ID
Returns:
the matching asset tag stats
Throws:
NoSuchTagStatsException - if a matching asset tag stats could not be found

fetchByT_C

AssetTagStats fetchByT_C(long tagId,
                         long classNameId)
Returns the asset tag stats where tagId = ? and classNameId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
tagId - the tag ID
classNameId - the class name ID
Returns:
the matching asset tag stats, or null if a matching asset tag stats could not be found

fetchByT_C

AssetTagStats fetchByT_C(long tagId,
                         long classNameId,
                         boolean retrieveFromCache)
Returns the asset tag stats where tagId = ? and classNameId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
tagId - the tag ID
classNameId - the class name ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching asset tag stats, or null if a matching asset tag stats could not be found

removeByT_C

AssetTagStats removeByT_C(long tagId,
                          long classNameId)
                          throws NoSuchTagStatsException
Removes the asset tag stats where tagId = ? and classNameId = ? from the database.

Parameters:
tagId - the tag ID
classNameId - the class name ID
Returns:
the asset tag stats that was removed
Throws:
NoSuchTagStatsException

countByT_C

int countByT_C(long tagId,
               long classNameId)
Returns the number of asset tag statses where tagId = ? and classNameId = ?.

Parameters:
tagId - the tag ID
classNameId - the class name ID
Returns:
the number of matching asset tag statses

cacheResult

void cacheResult(AssetTagStats assetTagStats)
Caches the asset tag stats in the entity cache if it is enabled.

Parameters:
assetTagStats - the asset tag stats

cacheResult

void cacheResult(List<AssetTagStats> assetTagStatses)
Caches the asset tag statses in the entity cache if it is enabled.

Parameters:
assetTagStatses - the asset tag statses

create

AssetTagStats create(long tagStatsId)
Creates a new asset tag stats with the primary key. Does not add the asset tag stats to the database.

Parameters:
tagStatsId - the primary key for the new asset tag stats
Returns:
the new asset tag stats

remove

AssetTagStats remove(long tagStatsId)
                     throws NoSuchTagStatsException
Removes the asset tag stats with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats that was removed
Throws:
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found

updateImpl

AssetTagStats updateImpl(AssetTagStats assetTagStats)

findByPrimaryKey

AssetTagStats findByPrimaryKey(long tagStatsId)
                               throws NoSuchTagStatsException
Returns the asset tag stats with the primary key or throws a NoSuchTagStatsException if it could not be found.

Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats
Throws:
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found

fetchByPrimaryKey

AssetTagStats fetchByPrimaryKey(long tagStatsId)
Returns the asset tag stats with the primary key or returns null if it could not be found.

Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats, or null if a asset tag stats with the primary key could not be found

fetchByPrimaryKeys

Map<Serializable,AssetTagStats> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<AssetTagStats>

findAll

List<AssetTagStats> findAll()
Returns all the asset tag statses.

Returns:
the asset tag statses

findAll

List<AssetTagStats> findAll(int start,
                            int end)
Returns a range of all the asset tag statses.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
Returns:
the range of asset tag statses

findAll

List<AssetTagStats> findAll(int start,
                            int end,
                            OrderByComparator<AssetTagStats> orderByComparator)
Returns an ordered range of all the asset tag statses.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset tag statses

findAll

List<AssetTagStats> findAll(int start,
                            int end,
                            OrderByComparator<AssetTagStats> orderByComparator,
                            boolean retrieveFromCache)
Returns an ordered range of all the asset tag statses.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator 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.

Parameters:
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of asset tag statses

removeAll

void removeAll()
Removes all the asset tag statses from the database.


countAll

int countAll()
Returns the number of asset tag statses.

Returns:
the number of asset tag statses

Liferay 7.0-ce-b4