com.liferay.portlet.asset.service.persistence
Class AssetTagStatsPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>
      extended by com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>, com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence

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

The persistence implementation for the asset tag stats service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
AssetTagStatsPersistence, AssetTagStatsUtil
Generated:

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

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID

FINDER_PATH_COUNT_BY_TAGID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TAGID

FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID

FINDER_PATH_COUNT_BY_CLASSNAMEID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID

FINDER_PATH_FETCH_BY_T_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_T_C

FINDER_PATH_COUNT_BY_T_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_C

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

assetCategoryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence

assetCategoryPropertyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence assetCategoryPropertyPersistence

assetEntryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetLinkPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence

assetTagPropertyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence assetTagPropertyPersistence

assetTagStatsPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence

assetVocabularyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

AssetTagStatsPersistenceImpl

public AssetTagStatsPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
Caches the asset tag stats in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
assetTagStats - the asset tag stats

cacheResult

public 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.

Specified by:
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
assetTagStatses - the asset tag statses

clearCache

public void clearCache()
Clears the cache for all asset tag statses.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>

clearCache

public void clearCache(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
Clears the cache for the asset tag stats.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetTagStats> assetTagStatses)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)

create

public com.liferay.portlet.asset.model.AssetTagStats create(long tagStatsId)
Creates a new asset tag stats with the primary key. Does not add the asset tag stats to the database.

Specified by:
create in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagStatsId - the primary key for the new asset tag stats
Returns:
the new asset tag stats

remove

public com.liferay.portlet.asset.model.AssetTagStats remove(long tagStatsId)
                                                     throws com.liferay.portlet.asset.NoSuchTagStatsException,
                                                            com.liferay.portal.kernel.exception.SystemException
Removes the asset tag stats with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats that was removed
Throws:
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

remove

public com.liferay.portlet.asset.model.AssetTagStats remove(java.io.Serializable primaryKey)
                                                     throws com.liferay.portlet.asset.NoSuchTagStatsException,
                                                            com.liferay.portal.kernel.exception.SystemException
Removes the asset tag stats with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>
Parameters:
primaryKey - the primary key of the asset tag stats
Returns:
the asset tag stats that was removed
Throws:
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

removeImpl

protected com.liferay.portlet.asset.model.AssetTagStats removeImpl(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.asset.model.AssetTagStats updateImpl(com.liferay.portlet.asset.model.AssetTagStats assetTagStats,
                                                                boolean merge)
                                                         throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.asset.model.AssetTagStats toUnwrappedModel(com.liferay.portlet.asset.model.AssetTagStats assetTagStats)

findByPrimaryKey

public com.liferay.portlet.asset.model.AssetTagStats findByPrimaryKey(java.io.Serializable primaryKey)
                                                               throws com.liferay.portal.NoSuchModelException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Returns the asset tag stats with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>
Parameters:
primaryKey - the primary key of the asset tag stats
Returns:
the asset tag stats
Throws:
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

findByPrimaryKey

public com.liferay.portlet.asset.model.AssetTagStats findByPrimaryKey(long tagStatsId)
                                                               throws com.liferay.portlet.asset.NoSuchTagStatsException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Returns the asset tag stats with the primary key or throws a NoSuchTagStatsException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats
Throws:
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

fetchByPrimaryKey

public com.liferay.portlet.asset.model.AssetTagStats fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                throws com.liferay.portal.kernel.exception.SystemException
Returns the asset tag stats with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagStats>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagStats>
Parameters:
primaryKey - the primary key of the asset tag stats
Returns:
the asset tag stats, or null if a asset tag stats with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.asset.model.AssetTagStats fetchByPrimaryKey(long tagStatsId)
                                                                throws com.liferay.portal.kernel.exception.SystemException
Returns the asset tag stats with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats, or null if a asset tag stats with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId

public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByTagId(long tagId)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tag statses where tagId = ?.

Specified by:
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
Returns:
the matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId

public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByTagId(long tagId,
                                                                                 int start,
                                                                                 int end)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the asset tag statses where tagId = ?.

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.

Specified by:
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
Returns:
the range of matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId

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
Returns an ordered range of all the asset tag statses where tagId = ?.

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.

Specified by:
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId_First

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
Returns the first asset tag stats in the ordered set where tagId = ?.

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.

Specified by:
findByTagId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag stats
Throws:
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

findByTagId_Last

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
Returns the last asset tag stats in the ordered set where tagId = ?.

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.

Specified by:
findByTagId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag stats
Throws:
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

findByTagId_PrevAndNext

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
Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?.

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.

Specified by:
findByTagId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagStatsId - the primary key of the current asset tag stats
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag stats
Throws:
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

getByTagId_PrevAndNext

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)

findByClassNameId

public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByClassNameId(long classNameId)
                                                                                throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tag statses where classNameId = ?.

Specified by:
findByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
classNameId - the class name ID
Returns:
the matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByClassNameId

public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByClassNameId(long classNameId,
                                                                                       int start,
                                                                                       int end)
                                                                                throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the asset tag statses where classNameId = ?.

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.

Specified by:
findByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
classNameId - the class name ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
Returns:
the range of matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByClassNameId

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
Returns an ordered range of all the asset tag statses where classNameId = ?.

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.

Specified by:
findByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
classNameId - the class name ID
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByClassNameId_First

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
Returns the first asset tag stats in the ordered set where classNameId = ?.

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.

Specified by:
findByClassNameId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag stats
Throws:
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

findByClassNameId_Last

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
Returns the last asset tag stats in the ordered set where classNameId = ?.

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.

Specified by:
findByClassNameId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag stats
Throws:
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

findByClassNameId_PrevAndNext

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
Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?.

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.

Specified by:
findByClassNameId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagStatsId - the primary key of the current asset tag stats
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag stats
Throws:
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

getByClassNameId_PrevAndNext

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)

findByT_C

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
Returns the asset tag stats where tagId = ? and classNameId = ? or throws a NoSuchTagStatsException if it could not be found.

Specified by:
findByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
classNameId - the class name ID
Returns:
the matching asset tag stats
Throws:
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

fetchByT_C

public com.liferay.portlet.asset.model.AssetTagStats fetchByT_C(long tagId,
                                                                long classNameId)
                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns the asset tag stats where tagId = ? and classNameId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
classNameId - the class name ID
Returns:
the matching asset tag stats, or null if a matching asset tag stats could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByT_C

public com.liferay.portlet.asset.model.AssetTagStats fetchByT_C(long tagId,
                                                                long classNameId,
                                                                boolean retrieveFromCache)
                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns the asset tag stats where tagId = ? and classNameId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
classNameId - the class name ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching asset tag stats, or null if a matching asset tag stats could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findAll()
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tag statses.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Returns:
the asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findAll(int start,
                                                                             int end)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the asset tag statses.

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.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
Returns:
the range of asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

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
Returns an ordered range of all the asset tag statses.

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.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByTagId

public void removeByTagId(long tagId)
                   throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset tag statses where tagId = ? from the database.

Specified by:
removeByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByClassNameId

public void removeByClassNameId(long classNameId)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset tag statses where classNameId = ? from the database.

Specified by:
removeByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
classNameId - the class name ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByT_C

public void removeByT_C(long tagId,
                        long classNameId)
                 throws com.liferay.portlet.asset.NoSuchTagStatsException,
                        com.liferay.portal.kernel.exception.SystemException
Removes the asset tag stats where tagId = ? and classNameId = ? from the database.

Specified by:
removeByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
classNameId - the class name ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.asset.NoSuchTagStatsException

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset tag statses from the database.

Specified by:
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByTagId

public int countByTagId(long tagId)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag statses where tagId = ?.

Specified by:
countByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
Returns:
the number of matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByClassNameId

public int countByClassNameId(long classNameId)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag statses where classNameId = ?.

Specified by:
countByClassNameId in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
classNameId - the class name ID
Returns:
the number of matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByT_C

public int countByT_C(long tagId,
                      long classNameId)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag statses where tagId = ? and classNameId = ?.

Specified by:
countByT_C in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Parameters:
tagId - the tag ID
classNameId - the class name ID
Returns:
the number of matching asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag statses.

Specified by:
countAll in interface com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence
Returns:
the number of asset tag statses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the asset tag stats persistence.


destroy

public void destroy()