public class AssetTagStatsPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>
implements com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Caching information and settings can be found in portal.properties
AssetTagStatsPersistence,
AssetTagStatsUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_CLASSNAMEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_TAGID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID |
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 and Description |
|---|
AssetTagStatsPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the asset tag stats persistence.
|
void |
cacheResult(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
Caches the asset tag stats in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetTagStats> assetTagStatses)
Caches the asset tag statses in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.asset.model.AssetTagStats assetTagStats) |
void |
clearCache()
Clears the cache for all asset tag statses.
|
void |
clearCache(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
Clears the cache for the asset tag stats.
|
void |
clearCache(java.util.List<com.liferay.portlet.asset.model.AssetTagStats> assetTagStatses) |
protected void |
clearUniqueFindersCache(com.liferay.portlet.asset.model.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 = ?.
|
com.liferay.portlet.asset.model.AssetTagStats |
create(long tagStatsId)
Creates a new asset tag stats with the primary key.
|
void |
destroy() |
com.liferay.portlet.asset.model.AssetTagStats |
fetchByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset tag stats in the ordered set where classNameId = ?.
|
com.liferay.portlet.asset.model.AssetTagStats |
fetchByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset tag stats in the ordered set where classNameId = ?.
|
com.liferay.portlet.asset.model.AssetTagStats |
fetchByPrimaryKey(long tagStatsId)
Returns the asset tag stats with the primary key or returns
null if it could not be found. |
com.liferay.portlet.asset.model.AssetTagStats |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset tag stats with the primary key or returns
null if it could not be found. |
com.liferay.portlet.asset.model.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. |
com.liferay.portlet.asset.model.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. |
com.liferay.portlet.asset.model.AssetTagStats |
fetchByTagId_First(long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset tag stats in the ordered set where tagId = ?.
|
com.liferay.portlet.asset.model.AssetTagStats |
fetchByTagId_Last(long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset tag stats in the ordered set where tagId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findAll()
Returns all the asset tag statses.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findAll(int start,
int end)
Returns a range of all the asset tag statses.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset tag statses.
|
com.liferay.portlet.asset.model.AssetTagStats |
findByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset tag stats in the ordered set where classNameId = ?.
|
com.liferay.portlet.asset.model.AssetTagStats |
findByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset tag stats in the ordered set where classNameId = ?.
|
com.liferay.portlet.asset.model.AssetTagStats[] |
findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findByClassNameId(long classNameId)
Returns all the asset tag statses where classNameId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end)
Returns a range of all the asset tag statses where classNameId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset tag statses where classNameId = ?.
|
com.liferay.portlet.asset.model.AssetTagStats |
findByPrimaryKey(long tagStatsId)
Returns the asset tag stats with the primary key or throws a
NoSuchTagStatsException if it could not be found. |
com.liferay.portlet.asset.model.AssetTagStats |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset tag stats with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portlet.asset.model.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. |
com.liferay.portlet.asset.model.AssetTagStats |
findByTagId_First(long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset tag stats in the ordered set where tagId = ?.
|
com.liferay.portlet.asset.model.AssetTagStats |
findByTagId_Last(long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset tag stats in the ordered set where tagId = ?.
|
com.liferay.portlet.asset.model.AssetTagStats[] |
findByTagId_PrevAndNext(long tagStatsId,
long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findByTagId(long tagId)
Returns all the asset tag statses where tagId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findByTagId(long tagId,
int start,
int end)
Returns a range of all the asset tag statses where tagId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetTagStats> |
findByTagId(long tagId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset tag statses where tagId = ?.
|
protected com.liferay.portlet.asset.model.AssetTagStats |
getByClassNameId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetTagStats assetTagStats,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetTagStats |
getByTagId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetTagStats assetTagStats,
long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portlet.asset.model.AssetTagStats |
remove(long tagStatsId)
Removes the asset tag stats with the primary key from the database.
|
com.liferay.portlet.asset.model.AssetTagStats |
remove(java.io.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.
|
com.liferay.portlet.asset.model.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 com.liferay.portlet.asset.model.AssetTagStats |
removeImpl(com.liferay.portlet.asset.model.AssetTagStats assetTagStats) |
protected com.liferay.portlet.asset.model.AssetTagStats |
toUnwrappedModel(com.liferay.portlet.asset.model.AssetTagStats assetTagStats) |
com.liferay.portlet.asset.model.AssetTagStats |
updateImpl(com.liferay.portlet.asset.model.AssetTagStats assetTagStats) |
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, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_T_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_C
public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByTagId(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByTagId(long tagId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByTagId(long tagId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats findByTagId_First(long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
findByTagId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchTagStatsException - if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats fetchByTagId_First(long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByTagId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats findByTagId_Last(long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
findByTagId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchTagStatsException - if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats fetchByTagId_Last(long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByTagId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId,
long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
findByTagId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key of the current asset tag statstagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetTagStats getByTagId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetTagStats assetTagStats,
long tagId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByTagId(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
removeByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByTagId(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
countByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByClassNameId(long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
findByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByClassNameId(long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByClassNameId(long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats findByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
findByClassNameId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchTagStatsException - if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats fetchByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByClassNameId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats findByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
findByClassNameId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchTagStatsException - if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats fetchByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByClassNameId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
findByClassNameId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key of the current asset tag statsclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetTagStats getByClassNameId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetTagStats assetTagStats,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByClassNameId(long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
removeByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByClassNameId(long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
countByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats findByT_C(long tagId,
long classNameId)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException if it could not be found.findByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDcom.liferay.portlet.asset.NoSuchTagStatsException - if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats fetchByT_C(long tagId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDnull if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats fetchByT_C(long tagId,
long classNameId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDretrieveFromCache - whether to use the finder cachenull if a matching asset tag stats could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats removeByT_C(long tagId,
long classNameId)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
removeByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.asset.NoSuchTagStatsExceptionpublic int countByT_C(long tagId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
countByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceassetTagStats - the asset tag statspublic void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetTagStats> assetTagStatses)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceassetTagStatses - the asset tag statsespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>public void clearCache(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetTagStats> assetTagStatses)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>protected void cacheUniqueFindersCache(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
public com.liferay.portlet.asset.model.AssetTagStats create(long tagStatsId)
create in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key for the new asset tag statspublic com.liferay.portlet.asset.model.AssetTagStats remove(long tagStatsId)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key of the asset tag statscom.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>primaryKey - the primary key of the asset tag statscom.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetTagStats removeImpl(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetTagStats updateImpl(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.asset.model.AssetTagStats toUnwrappedModel(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
public com.liferay.portlet.asset.model.AssetTagStats findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>primaryKey - the primary key of the asset tag statscom.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats findByPrimaryKey(long tagStatsId)
throws com.liferay.portlet.asset.NoSuchTagStatsException,
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key of the asset tag statscom.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>primaryKey - the primary key of the asset tag statsnull if a asset tag stats with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetTagStats fetchByPrimaryKey(long tagStatsId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key of the asset tag statsnull if a asset tag stats with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencestart - the lower bound of the range of asset tag statsesend - the upper bound of the range of asset tag statses (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencestart - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()