|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.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| Field Summary | |
|---|---|
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence |
assetCategoryPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence |
assetCategoryPropertyPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence |
assetEntryPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence |
assetLinkPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence |
assetTagPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence |
assetTagPropertyPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence |
assetTagStatsPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence |
assetVocabularyPersistence
|
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
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| 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(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. |
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 |
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. |
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. |
void |
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,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| 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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public 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_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 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
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetLinkPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public AssetTagStatsPersistenceImpl()
| Method Detail |
|---|
public 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 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 stats
public 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 stats
com.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 stats
com.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected 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.SystemException
public com.liferay.portlet.asset.model.AssetTagStats updateImpl(com.liferay.portlet.asset.model.AssetTagStats assetTagStats,
boolean merge)
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.portal.NoSuchModelException,
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 stats
com.liferay.portal.NoSuchModelException - if a asset tag stats with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 stats
com.liferay.portlet.asset.NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 stats
null if a asset tag stats with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 stats
null if a asset tag stats with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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 ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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.
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 occurred
public 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.
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 occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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)
public 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 ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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.
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 occurred
public 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.
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 occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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)
public 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 ID
com.liferay.portlet.asset.NoSuchTagStatsException - if a matching asset tag stats could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 ID
null if a matching asset tag stats could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 cache
null if a matching asset tag stats could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 occurred
public 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.
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 occurred
public 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.
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 occurred
public void removeByTagId(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
removeByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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 ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void 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 ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.asset.NoSuchTagStatsException
public 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 occurred
public int countByTagId(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
countByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistencetagId - the tag ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByClassNameId(long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
countByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceclassNameId - the class name ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||