|
Liferay 6.0.3 | |||||||||
| 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<AssetTagStats>
com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceImpl
public class AssetTagStatsPersistenceImpl
AssetTagStatsPersistence,
AssetTagStatsUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, 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()
|
void |
cacheResult(AssetTagStats assetTagStats)
|
void |
cacheResult(List<AssetTagStats> assetTagStatses)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(AssetTagStats assetTagStats)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByClassNameId(long classNameId)
|
int |
countByT_C(long tagId,
long classNameId)
|
int |
countByTagId(long tagId)
|
AssetTagStats |
create(long tagStatsId)
|
AssetTagStats |
fetchByPrimaryKey(long tagStatsId)
|
AssetTagStats |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
AssetTagStats |
fetchByT_C(long tagId,
long classNameId)
|
AssetTagStats |
fetchByT_C(long tagId,
long classNameId,
boolean retrieveFromCache)
|
List<AssetTagStats> |
findAll()
|
List<AssetTagStats> |
findAll(int start,
int end)
|
List<AssetTagStats> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
AssetTagStats |
findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
|
AssetTagStats |
findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
|
AssetTagStats[] |
findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
OrderByComparator orderByComparator)
|
List<AssetTagStats> |
findByClassNameId(long classNameId)
|
List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end)
|
List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetTagStats |
findByPrimaryKey(long tagStatsId)
|
AssetTagStats |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
AssetTagStats |
findByT_C(long tagId,
long classNameId)
|
AssetTagStats |
findByTagId_First(long tagId,
OrderByComparator orderByComparator)
|
AssetTagStats |
findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
|
AssetTagStats[] |
findByTagId_PrevAndNext(long tagStatsId,
long tagId,
OrderByComparator orderByComparator)
|
List<AssetTagStats> |
findByTagId(long tagId)
|
List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end)
|
List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
|
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)
|
AssetTagStats |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByClassNameId(long classNameId)
|
void |
removeByT_C(long tagId,
long classNameId)
|
void |
removeByTagId(long tagId)
|
protected AssetTagStats |
removeImpl(AssetTagStats assetTagStats)
Removes the model instance from the database. |
protected AssetTagStats |
toUnwrappedModel(AssetTagStats assetTagStats)
|
AssetTagStats |
updateImpl(AssetTagStats assetTagStats,
boolean merge)
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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, 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 |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_TAGID
public static final FinderPath FINDER_PATH_COUNT_BY_TAGID
public static final FinderPath FINDER_PATH_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
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetCategoryPropertyPersistence.class) protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetLinkPersistence.class) protected AssetLinkPersistence assetLinkPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagPropertyPersistence.class) protected AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=AssetTagStatsPersistence.class) protected AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=AssetVocabularyPersistence.class) protected AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public AssetTagStatsPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(AssetTagStats assetTagStats)
cacheResult in interface AssetTagStatsPersistencepublic void cacheResult(List<AssetTagStats> assetTagStatses)
cacheResult in interface AssetTagStatsPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<AssetTagStats>clearCache in class BasePersistenceImpl<AssetTagStats>public void clearCache(AssetTagStats assetTagStats)
BasePersistence
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 AssetTagStats create(long tagStatsId)
create in interface AssetTagStatsPersistence
public AssetTagStats remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<AssetTagStats>remove in class BasePersistenceImpl<AssetTagStats>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public AssetTagStats remove(long tagStatsId)
throws NoSuchTagStatsException,
SystemException
remove in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
protected AssetTagStats removeImpl(AssetTagStats assetTagStats)
throws SystemException
BasePersistenceImplBasePersistenceImpl.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 occurred
public AssetTagStats updateImpl(AssetTagStats assetTagStats,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetTagStatsPersistenceupdateImpl in class BasePersistenceImpl<AssetTagStats>assetTagStats - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected AssetTagStats toUnwrappedModel(AssetTagStats assetTagStats)
public AssetTagStats findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<AssetTagStats>findByPrimaryKey in class BasePersistenceImpl<AssetTagStats>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public AssetTagStats findByPrimaryKey(long tagStatsId)
throws NoSuchTagStatsException,
SystemException
findByPrimaryKey in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
public AssetTagStats fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetTagStats>fetchByPrimaryKey in class BasePersistenceImpl<AssetTagStats>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public AssetTagStats fetchByPrimaryKey(long tagStatsId)
throws SystemException
fetchByPrimaryKey in interface AssetTagStatsPersistenceSystemException
public List<AssetTagStats> findByTagId(long tagId)
throws SystemException
findByTagId in interface AssetTagStatsPersistenceSystemException
public List<AssetTagStats> findByTagId(long tagId,
int start,
int end)
throws SystemException
findByTagId in interface AssetTagStatsPersistenceSystemException
public List<AssetTagStats> findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByTagId in interface AssetTagStatsPersistenceSystemException
public AssetTagStats findByTagId_First(long tagId,
OrderByComparator orderByComparator)
throws NoSuchTagStatsException,
SystemException
findByTagId_First in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
public AssetTagStats findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
throws NoSuchTagStatsException,
SystemException
findByTagId_Last in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
public AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId,
long tagId,
OrderByComparator orderByComparator)
throws NoSuchTagStatsException,
SystemException
findByTagId_PrevAndNext in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
protected AssetTagStats getByTagId_PrevAndNext(Session session,
AssetTagStats assetTagStats,
long tagId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetTagStats> findByClassNameId(long classNameId)
throws SystemException
findByClassNameId in interface AssetTagStatsPersistenceSystemException
public List<AssetTagStats> findByClassNameId(long classNameId,
int start,
int end)
throws SystemException
findByClassNameId in interface AssetTagStatsPersistenceSystemException
public List<AssetTagStats> findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByClassNameId in interface AssetTagStatsPersistenceSystemException
public AssetTagStats findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
throws NoSuchTagStatsException,
SystemException
findByClassNameId_First in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
public AssetTagStats findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
throws NoSuchTagStatsException,
SystemException
findByClassNameId_Last in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
public AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
OrderByComparator orderByComparator)
throws NoSuchTagStatsException,
SystemException
findByClassNameId_PrevAndNext in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
protected AssetTagStats getByClassNameId_PrevAndNext(Session session,
AssetTagStats assetTagStats,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
public AssetTagStats findByT_C(long tagId,
long classNameId)
throws NoSuchTagStatsException,
SystemException
findByT_C in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
public AssetTagStats fetchByT_C(long tagId,
long classNameId)
throws SystemException
fetchByT_C in interface AssetTagStatsPersistenceSystemException
public AssetTagStats fetchByT_C(long tagId,
long classNameId,
boolean retrieveFromCache)
throws SystemException
fetchByT_C in interface AssetTagStatsPersistenceSystemException
public List<AssetTagStats> findAll()
throws SystemException
findAll in interface AssetTagStatsPersistenceSystemException
public List<AssetTagStats> findAll(int start,
int end)
throws SystemException
findAll in interface AssetTagStatsPersistenceSystemException
public List<AssetTagStats> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface AssetTagStatsPersistenceSystemException
public void removeByTagId(long tagId)
throws SystemException
removeByTagId in interface AssetTagStatsPersistenceSystemException
public void removeByClassNameId(long classNameId)
throws SystemException
removeByClassNameId in interface AssetTagStatsPersistenceSystemException
public void removeByT_C(long tagId,
long classNameId)
throws NoSuchTagStatsException,
SystemException
removeByT_C in interface AssetTagStatsPersistenceNoSuchTagStatsException
SystemException
public void removeAll()
throws SystemException
removeAll in interface AssetTagStatsPersistenceSystemException
public int countByTagId(long tagId)
throws SystemException
countByTagId in interface AssetTagStatsPersistenceSystemException
public int countByClassNameId(long classNameId)
throws SystemException
countByClassNameId in interface AssetTagStatsPersistenceSystemException
public int countByT_C(long tagId,
long classNameId)
throws SystemException
countByT_C in interface AssetTagStatsPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface AssetTagStatsPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||