@ProviderType public interface AssetTagStatsPersistence extends BasePersistence<AssetTagStats>
Caching information and settings can be found in portal.properties
AssetTagStatsPersistenceImpl,
AssetTagStatsUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(AssetTagStats assetTagStats)
Caches the asset tag stats in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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 orderByComparator)
Returns the first asset tag stats in the ordered set where classNameId = ?.
|
AssetTagStats |
fetchByClassNameId_Last(long classNameId,
OrderByComparator 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. |
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 orderByComparator)
Returns the first asset tag stats in the ordered set where tagId = ?.
|
AssetTagStats |
fetchByTagId_Last(long tagId,
OrderByComparator orderByComparator)
Returns the last asset tag stats in the ordered set where tagId = ?.
|
java.util.List<AssetTagStats> |
findAll()
Returns all the asset tag statses.
|
java.util.List<AssetTagStats> |
findAll(int start,
int end)
Returns a range of all the asset tag statses.
|
java.util.List<AssetTagStats> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset tag statses.
|
AssetTagStats |
findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Returns the first asset tag stats in the ordered set where classNameId = ?.
|
AssetTagStats |
findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Returns the last asset tag stats in the ordered set where classNameId = ?.
|
AssetTagStats[] |
findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
OrderByComparator orderByComparator)
Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?.
|
java.util.List<AssetTagStats> |
findByClassNameId(long classNameId)
Returns all the asset tag statses where classNameId = ?.
|
java.util.List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end)
Returns a range of all the asset tag statses where classNameId = ?.
|
java.util.List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
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 orderByComparator)
Returns the first asset tag stats in the ordered set where tagId = ?.
|
AssetTagStats |
findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
Returns the last asset tag stats in the ordered set where tagId = ?.
|
AssetTagStats[] |
findByTagId_PrevAndNext(long tagStatsId,
long tagId,
OrderByComparator orderByComparator)
Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?.
|
java.util.List<AssetTagStats> |
findByTagId(long tagId)
Returns all the asset tag statses where tagId = ?.
|
java.util.List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end)
Returns a range of all the asset tag statses where tagId = ?.
|
java.util.List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
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) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, updatejava.util.List<AssetTagStats> findByTagId(long tagId) throws SystemException
tagId - the tag IDSystemException - if a system exception occurredjava.util.List<AssetTagStats> findByTagId(long tagId, int start, int end) throws SystemException
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.
tagId - the tag IDstart - the lower bound of the range of asset tag statsesend - the upper bound of the range of asset tag statses (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetTagStats> findByTagId(long tagId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
tagId - the tag IDstart - the lower bound of the range of asset tag statsesend - the upper bound of the range of asset tag statses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredAssetTagStats findByTagId_First(long tagId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagStatsException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagStatsException - if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats fetchByTagId_First(long tagId, OrderByComparator orderByComparator) throws SystemException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats findByTagId_Last(long tagId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagStatsException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagStatsException - if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats fetchByTagId_Last(long tagId, OrderByComparator orderByComparator) throws SystemException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats[] findByTagId_PrevAndNext(long tagStatsId, long tagId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagStatsException
tagStatsId - the primary key of the current asset tag statstagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundSystemException - if a system exception occurredvoid removeByTagId(long tagId)
throws SystemException
tagId - the tag IDSystemException - if a system exception occurredint countByTagId(long tagId)
throws SystemException
tagId - the tag IDSystemException - if a system exception occurredjava.util.List<AssetTagStats> findByClassNameId(long classNameId) throws SystemException
classNameId - the class name IDSystemException - if a system exception occurredjava.util.List<AssetTagStats> findByClassNameId(long classNameId, int start, int end) throws SystemException
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.
classNameId - the class name IDstart - the lower bound of the range of asset tag statsesend - the upper bound of the range of asset tag statses (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetTagStats> findByClassNameId(long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
classNameId - the class name IDstart - the lower bound of the range of asset tag statsesend - the upper bound of the range of asset tag statses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredAssetTagStats findByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagStatsException
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagStatsException - if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats fetchByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats findByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagStatsException
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagStatsException - if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats fetchByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagStatsException
tagStatsId - the primary key of the current asset tag statsclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundSystemException - if a system exception occurredvoid removeByClassNameId(long classNameId)
throws SystemException
classNameId - the class name IDSystemException - if a system exception occurredint countByClassNameId(long classNameId)
throws SystemException
classNameId - the class name IDSystemException - if a system exception occurredAssetTagStats findByT_C(long tagId, long classNameId) throws SystemException, NoSuchTagStatsException
NoSuchTagStatsException if it could not be found.tagId - the tag IDclassNameId - the class name IDNoSuchTagStatsException - if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats fetchByT_C(long tagId, long classNameId) throws SystemException
null if it could not be found. Uses the finder cache.tagId - the tag IDclassNameId - the class name IDnull if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats fetchByT_C(long tagId, long classNameId, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.tagId - the tag IDclassNameId - the class name IDretrieveFromCache - whether to use the finder cachenull if a matching asset tag stats could not be foundSystemException - if a system exception occurredAssetTagStats removeByT_C(long tagId, long classNameId) throws SystemException, NoSuchTagStatsException
tagId - the tag IDclassNameId - the class name IDSystemException - if a system exception occurredNoSuchTagStatsExceptionint countByT_C(long tagId,
long classNameId)
throws SystemException
tagId - the tag IDclassNameId - the class name IDSystemException - if a system exception occurredvoid cacheResult(AssetTagStats assetTagStats)
assetTagStats - the asset tag statsvoid cacheResult(java.util.List<AssetTagStats> assetTagStatses)
assetTagStatses - the asset tag statsesAssetTagStats create(long tagStatsId)
tagStatsId - the primary key for the new asset tag statsAssetTagStats remove(long tagStatsId) throws SystemException, NoSuchTagStatsException
tagStatsId - the primary key of the asset tag statsNoSuchTagStatsException - if a asset tag stats with the primary key could not be foundSystemException - if a system exception occurredAssetTagStats updateImpl(AssetTagStats assetTagStats) throws SystemException
SystemExceptionAssetTagStats findByPrimaryKey(long tagStatsId) throws SystemException, NoSuchTagStatsException
NoSuchTagStatsException if it could not be found.tagStatsId - the primary key of the asset tag statsNoSuchTagStatsException - if a asset tag stats with the primary key could not be foundSystemException - if a system exception occurredAssetTagStats fetchByPrimaryKey(long tagStatsId) throws SystemException
null if it could not be found.tagStatsId - the primary key of the asset tag statsnull if a asset tag stats with the primary key could not be foundSystemException - if a system exception occurredjava.util.List<AssetTagStats> findAll() throws SystemException
SystemException - if a system exception occurredjava.util.List<AssetTagStats> findAll(int start, int end) throws SystemException
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.
start - the lower bound of the range of asset tag statsesend - the upper bound of the range of asset tag statses (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetTagStats> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
start - the lower bound of the range of asset tag statsesend - the upper bound of the range of asset tag statses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredvoid removeAll()
throws SystemException
SystemException - if a system exception occurredint countAll()
throws SystemException
SystemException - if a system exception occurred