|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetTagStats> com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceImpl
public class AssetTagStatsPersistenceImpl
The persistence implementation for the asset tag stats service.
Caching information and settings can be found in portal.properties
AssetTagStatsPersistence
,
AssetTagStatsUtil
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
Constructor Summary | |
---|---|
AssetTagStatsPersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the asset tag stats persistence. |
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. |
protected void |
cacheUniqueFindersCache(AssetTagStats assetTagStats)
|
void |
clearCache()
Clears the cache for all asset tag statses. |
void |
clearCache(AssetTagStats assetTagStats)
Clears the cache for the asset tag stats. |
void |
clearCache(List<AssetTagStats> assetTagStatses)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(AssetTagStats assetTagStats)
|
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. |
void |
destroy()
|
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 |
fetchByPrimaryKey(Serializable primaryKey)
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 = ?. |
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 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 = ?. |
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 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 |
findByPrimaryKey(Serializable primaryKey)
Returns the asset tag stats with the primary key or throws a NoSuchModelException 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 = ?. |
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 orderByComparator)
Returns an ordered range of all the asset tag statses where tagId = ?. |
protected AssetTagStats |
getByClassNameId_PrevAndNext(Session session,
AssetTagStats assetTagStats,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetTagStats |
getByTagId_PrevAndNext(Session session,
AssetTagStats assetTagStats,
long tagId,
OrderByComparator orderByComparator,
boolean previous)
|
AssetTagStats |
remove(long tagStatsId)
Removes the asset tag stats with the primary key from the database. |
AssetTagStats |
remove(Serializable primaryKey)
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. |
protected AssetTagStats |
removeImpl(AssetTagStats assetTagStats)
Removes the model instance from the database. |
protected AssetTagStats |
toUnwrappedModel(AssetTagStats assetTagStats)
|
AssetTagStats |
updateImpl(AssetTagStats assetTagStats)
Updates the model instance in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID
public static final FinderPath FINDER_PATH_COUNT_BY_TAGID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_FETCH_BY_T_C
public static final FinderPath FINDER_PATH_COUNT_BY_T_C
Constructor Detail |
---|
public AssetTagStatsPersistenceImpl()
Method Detail |
---|
public List<AssetTagStats> findByTagId(long tagId) throws SystemException
findByTagId
in interface AssetTagStatsPersistence
tagId
- the tag ID
SystemException
- if a system exception occurredpublic 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.
findByTagId
in interface AssetTagStatsPersistence
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 occurredpublic 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.
findByTagId
in interface AssetTagStatsPersistence
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 occurredpublic AssetTagStats findByTagId_First(long tagId, OrderByComparator orderByComparator) throws NoSuchTagStatsException, SystemException
findByTagId_First
in interface AssetTagStatsPersistence
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTagStatsException
- if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats fetchByTagId_First(long tagId, OrderByComparator orderByComparator) throws SystemException
fetchByTagId_First
in interface AssetTagStatsPersistence
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats findByTagId_Last(long tagId, OrderByComparator orderByComparator) throws NoSuchTagStatsException, SystemException
findByTagId_Last
in interface AssetTagStatsPersistence
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTagStatsException
- if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats fetchByTagId_Last(long tagId, OrderByComparator orderByComparator) throws SystemException
fetchByTagId_Last
in interface AssetTagStatsPersistence
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId, long tagId, OrderByComparator orderByComparator) throws NoSuchTagStatsException, SystemException
findByTagId_PrevAndNext
in interface AssetTagStatsPersistence
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 found
SystemException
- if a system exception occurredprotected AssetTagStats getByTagId_PrevAndNext(Session session, AssetTagStats assetTagStats, long tagId, OrderByComparator orderByComparator, boolean previous)
public void removeByTagId(long tagId) throws SystemException
removeByTagId
in interface AssetTagStatsPersistence
tagId
- the tag ID
SystemException
- if a system exception occurredpublic int countByTagId(long tagId) throws SystemException
countByTagId
in interface AssetTagStatsPersistence
tagId
- the tag ID
SystemException
- if a system exception occurredpublic List<AssetTagStats> findByClassNameId(long classNameId) throws SystemException
findByClassNameId
in interface AssetTagStatsPersistence
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic 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.
findByClassNameId
in interface AssetTagStatsPersistence
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 occurredpublic 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.
findByClassNameId
in interface AssetTagStatsPersistence
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 occurredpublic AssetTagStats findByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws NoSuchTagStatsException, SystemException
findByClassNameId_First
in interface AssetTagStatsPersistence
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTagStatsException
- if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats fetchByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException
fetchByClassNameId_First
in interface AssetTagStatsPersistence
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats findByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws NoSuchTagStatsException, SystemException
findByClassNameId_Last
in interface AssetTagStatsPersistence
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTagStatsException
- if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats fetchByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException
fetchByClassNameId_Last
in interface AssetTagStatsPersistence
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId, long classNameId, OrderByComparator orderByComparator) throws NoSuchTagStatsException, SystemException
findByClassNameId_PrevAndNext
in interface AssetTagStatsPersistence
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 found
SystemException
- if a system exception occurredprotected AssetTagStats getByClassNameId_PrevAndNext(Session session, AssetTagStats assetTagStats, long classNameId, OrderByComparator orderByComparator, boolean previous)
public void removeByClassNameId(long classNameId) throws SystemException
removeByClassNameId
in interface AssetTagStatsPersistence
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic int countByClassNameId(long classNameId) throws SystemException
countByClassNameId
in interface AssetTagStatsPersistence
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic AssetTagStats findByT_C(long tagId, long classNameId) throws NoSuchTagStatsException, SystemException
NoSuchTagStatsException
if it could not be found.
findByT_C
in interface AssetTagStatsPersistence
tagId
- the tag IDclassNameId
- the class name ID
NoSuchTagStatsException
- if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats fetchByT_C(long tagId, long classNameId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByT_C
in interface AssetTagStatsPersistence
tagId
- the tag IDclassNameId
- the class name ID
null
if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats fetchByT_C(long tagId, long classNameId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByT_C
in interface AssetTagStatsPersistence
tagId
- the tag IDclassNameId
- the class name IDretrieveFromCache
- whether to use the finder cache
null
if a matching asset tag stats could not be found
SystemException
- if a system exception occurredpublic AssetTagStats removeByT_C(long tagId, long classNameId) throws NoSuchTagStatsException, SystemException
removeByT_C
in interface AssetTagStatsPersistence
tagId
- the tag IDclassNameId
- the class name ID
SystemException
- if a system exception occurred
NoSuchTagStatsException
public int countByT_C(long tagId, long classNameId) throws SystemException
countByT_C
in interface AssetTagStatsPersistence
tagId
- the tag IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic void cacheResult(AssetTagStats assetTagStats)
cacheResult
in interface AssetTagStatsPersistence
assetTagStats
- the asset tag statspublic void cacheResult(List<AssetTagStats> assetTagStatses)
cacheResult
in interface AssetTagStatsPersistence
assetTagStatses
- the asset tag statsespublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<AssetTagStats>
clearCache
in class BasePersistenceImpl<AssetTagStats>
public void clearCache(AssetTagStats assetTagStats)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<AssetTagStats>
clearCache
in class BasePersistenceImpl<AssetTagStats>
assetTagStats
- the instance of this model to clear the cache forpublic void clearCache(List<AssetTagStats> assetTagStatses)
BasePersistence
The EntityCache
and FinderCache
are both cleared by this
method.
clearCache
in interface BasePersistence<AssetTagStats>
clearCache
in class BasePersistenceImpl<AssetTagStats>
assetTagStatses
- the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(AssetTagStats assetTagStats)
protected void clearUniqueFindersCache(AssetTagStats assetTagStats)
public AssetTagStats create(long tagStatsId)
create
in interface AssetTagStatsPersistence
tagStatsId
- the primary key for the new asset tag stats
public AssetTagStats remove(long tagStatsId) throws NoSuchTagStatsException, SystemException
remove
in interface AssetTagStatsPersistence
tagStatsId
- the primary key of the asset tag stats
NoSuchTagStatsException
- if a asset tag stats with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTagStats remove(Serializable primaryKey) throws NoSuchTagStatsException, SystemException
remove
in interface BasePersistence<AssetTagStats>
remove
in class BasePersistenceImpl<AssetTagStats>
primaryKey
- the primary key of the asset tag stats
NoSuchTagStatsException
- if a asset tag stats with the primary key could not be found
SystemException
- if a system exception occurredprotected AssetTagStats removeImpl(AssetTagStats assetTagStats) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<AssetTagStats>
assetTagStats
- the model instance to remove
SystemException
- if a system exception occurredpublic AssetTagStats updateImpl(AssetTagStats assetTagStats) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface AssetTagStatsPersistence
updateImpl
in class BasePersistenceImpl<AssetTagStats>
assetTagStats
- the model instance to update
SystemException
- if a system exception occurredprotected AssetTagStats toUnwrappedModel(AssetTagStats assetTagStats)
public AssetTagStats findByPrimaryKey(Serializable primaryKey) throws NoSuchTagStatsException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<AssetTagStats>
findByPrimaryKey
in class BasePersistenceImpl<AssetTagStats>
primaryKey
- the primary key of the asset tag stats
NoSuchTagStatsException
- if a asset tag stats with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTagStats findByPrimaryKey(long tagStatsId) throws NoSuchTagStatsException, SystemException
NoSuchTagStatsException
if it could not be found.
findByPrimaryKey
in interface AssetTagStatsPersistence
tagStatsId
- the primary key of the asset tag stats
NoSuchTagStatsException
- if a asset tag stats with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTagStats fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<AssetTagStats>
fetchByPrimaryKey
in class BasePersistenceImpl<AssetTagStats>
primaryKey
- the primary key of the asset tag stats
null
if a asset tag stats with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTagStats fetchByPrimaryKey(long tagStatsId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface AssetTagStatsPersistence
tagStatsId
- the primary key of the asset tag stats
null
if a asset tag stats with the primary key could not be found
SystemException
- if a system exception occurredpublic List<AssetTagStats> findAll() throws SystemException
findAll
in interface AssetTagStatsPersistence
SystemException
- if a system exception occurredpublic 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.
findAll
in interface AssetTagStatsPersistence
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 occurredpublic 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.
findAll
in interface AssetTagStatsPersistence
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 occurredpublic void removeAll() throws SystemException
removeAll
in interface AssetTagStatsPersistence
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface AssetTagStatsPersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |