com.liferay.asset.tag.stats.model.impl.AssetTagStatsImpl@Deprecated
public class AssetTagStatsPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>
implements com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
Deprecated.
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
Deprecated.
|
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
Deprecated.
|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
AssetTagStatsPersistenceImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
Initializes the asset tag stats persistence.
|
void |
cacheResult(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
Deprecated.
Caches the asset tag stats in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.asset.kernel.model.AssetTagStats> assetTagStatses)
Deprecated.
Caches the asset tag statses in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(AssetTagStatsModelImpl assetTagStatsModelImpl)
Deprecated.
|
void |
clearCache()
Deprecated.
Clears the cache for all asset tag statses.
|
void |
clearCache(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
Deprecated.
Clears the cache for the asset tag stats.
|
void |
clearCache(List<com.liferay.asset.kernel.model.AssetTagStats> assetTagStatses)
Deprecated.
|
protected void |
clearUniqueFindersCache(AssetTagStatsModelImpl assetTagStatsModelImpl,
boolean clearCurrent)
Deprecated.
|
int |
countAll()
Deprecated.
Returns the number of asset tag statses.
|
int |
countByClassNameId(long classNameId)
Deprecated.
Returns the number of asset tag statses where classNameId = ?.
|
int |
countByT_C(long tagId,
long classNameId)
Deprecated.
Returns the number of asset tag statses where tagId = ? and classNameId = ?.
|
int |
countByTagId(long tagId)
Deprecated.
Returns the number of asset tag statses where tagId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats |
create(long tagStatsId)
Deprecated.
Creates a new asset tag stats with the primary key.
|
void |
destroy()
Deprecated.
|
com.liferay.asset.kernel.model.AssetTagStats |
fetchByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the first asset tag stats in the ordered set where classNameId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats |
fetchByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the last asset tag stats in the ordered set where classNameId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats |
fetchByPrimaryKey(long tagStatsId)
Deprecated.
Returns the asset tag stats with the primary key or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetTagStats |
fetchByT_C(long tagId,
long classNameId)
Deprecated.
Returns the asset tag stats where tagId = ? and classNameId = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetTagStats |
fetchByT_C(long tagId,
long classNameId,
boolean useFinderCache)
Deprecated.
Returns the asset tag stats where tagId = ? and classNameId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.asset.kernel.model.AssetTagStats |
fetchByTagId_First(long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the first asset tag stats in the ordered set where tagId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats |
fetchByTagId_Last(long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the last asset tag stats in the ordered set where tagId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findAll()
Deprecated.
Returns all the asset tag statses.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findAll(int start,
int end)
Deprecated.
Returns a range of all the asset tag statses.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns an ordered range of all the asset tag statses.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean useFinderCache)
Deprecated.
Returns an ordered range of all the asset tag statses.
|
com.liferay.asset.kernel.model.AssetTagStats |
findByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the first asset tag stats in the ordered set where classNameId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats |
findByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the last asset tag stats in the ordered set where classNameId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats[] |
findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findByClassNameId(long classNameId)
Deprecated.
Returns all the asset tag statses where classNameId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end)
Deprecated.
Returns a range of all the asset tag statses where classNameId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns an ordered range of all the asset tag statses where classNameId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean useFinderCache)
Deprecated.
Returns an ordered range of all the asset tag statses where classNameId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats |
findByPrimaryKey(long tagStatsId)
Deprecated.
Returns the asset tag stats with the primary key or throws a
NoSuchTagStatsException if it could not be found. |
com.liferay.asset.kernel.model.AssetTagStats |
findByPrimaryKey(Serializable primaryKey)
Deprecated.
Returns the asset tag stats with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.asset.kernel.model.AssetTagStats |
findByT_C(long tagId,
long classNameId)
Deprecated.
Returns the asset tag stats where tagId = ? and classNameId = ? or throws a
NoSuchTagStatsException if it could not be found. |
com.liferay.asset.kernel.model.AssetTagStats |
findByTagId_First(long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the first asset tag stats in the ordered set where tagId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats |
findByTagId_Last(long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the last asset tag stats in the ordered set where tagId = ?.
|
com.liferay.asset.kernel.model.AssetTagStats[] |
findByTagId_PrevAndNext(long tagStatsId,
long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findByTagId(long tagId)
Deprecated.
Returns all the asset tag statses where tagId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findByTagId(long tagId,
int start,
int end)
Deprecated.
Returns a range of all the asset tag statses where tagId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findByTagId(long tagId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Deprecated.
Returns an ordered range of all the asset tag statses where tagId = ?.
|
List<com.liferay.asset.kernel.model.AssetTagStats> |
findByTagId(long tagId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean useFinderCache)
Deprecated.
Returns an ordered range of all the asset tag statses where tagId = ?.
|
protected com.liferay.asset.kernel.model.AssetTagStats |
getByClassNameId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTagStats assetTagStats,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean previous)
Deprecated.
|
protected com.liferay.asset.kernel.model.AssetTagStats |
getByTagId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTagStats assetTagStats,
long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean previous)
Deprecated.
|
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache()
Deprecated.
|
protected String |
getPKDBName()
Deprecated.
|
protected String |
getSelectSQL()
Deprecated.
|
protected Map<String,Integer> |
getTableColumnsMap()
Deprecated.
|
com.liferay.asset.kernel.model.AssetTagStats |
remove(long tagStatsId)
Deprecated.
Removes the asset tag stats with the primary key from the database.
|
com.liferay.asset.kernel.model.AssetTagStats |
remove(Serializable primaryKey)
Deprecated.
Removes the asset tag stats with the primary key from the database.
|
void |
removeAll()
Deprecated.
Removes all the asset tag statses from the database.
|
void |
removeByClassNameId(long classNameId)
Deprecated.
Removes all the asset tag statses where classNameId = ? from the database.
|
com.liferay.asset.kernel.model.AssetTagStats |
removeByT_C(long tagId,
long classNameId)
Deprecated.
Removes the asset tag stats where tagId = ? and classNameId = ? from the database.
|
void |
removeByTagId(long tagId)
Deprecated.
Removes all the asset tag statses where tagId = ? from the database.
|
protected com.liferay.asset.kernel.model.AssetTagStats |
removeImpl(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
Deprecated.
|
com.liferay.asset.kernel.model.AssetTagStats |
updateImpl(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
Deprecated.
|
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
AssetTagStatsUtil to access the asset tag stats persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.asset.kernel.model.AssetTagStats> findByTagId(long tagId)
findByTagId in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDpublic List<com.liferay.asset.kernel.model.AssetTagStats> findByTagId(long tagId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findByTagId in interface com.liferay.asset.kernel.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)public List<com.liferay.asset.kernel.model.AssetTagStats> findByTagId(long tagId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findByTagId in interface com.liferay.asset.kernel.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)public List<com.liferay.asset.kernel.model.AssetTagStats> findByTagId(long tagId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findByTagId in interface com.liferay.asset.kernel.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)useFinderCache - whether to use the finder cachepublic com.liferay.asset.kernel.model.AssetTagStats findByTagId_First(long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
findByTagId_First in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchTagStatsException - if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats fetchByTagId_First(long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
fetchByTagId_First in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats findByTagId_Last(long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
findByTagId_Last in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchTagStatsException - if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats fetchByTagId_Last(long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
fetchByTagId_Last in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId,
long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
findByTagId_PrevAndNext in interface com.liferay.asset.kernel.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.asset.kernel.exception.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTagStats getByTagId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTagStats assetTagStats,
long tagId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean previous)
public void removeByTagId(long tagId)
removeByTagId in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDpublic int countByTagId(long tagId)
countByTagId in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDpublic List<com.liferay.asset.kernel.model.AssetTagStats> findByClassNameId(long classNameId)
findByClassNameId in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDpublic List<com.liferay.asset.kernel.model.AssetTagStats> findByClassNameId(long classNameId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findByClassNameId in interface com.liferay.asset.kernel.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)public List<com.liferay.asset.kernel.model.AssetTagStats> findByClassNameId(long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findByClassNameId in interface com.liferay.asset.kernel.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)public List<com.liferay.asset.kernel.model.AssetTagStats> findByClassNameId(long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findByClassNameId in interface com.liferay.asset.kernel.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)useFinderCache - whether to use the finder cachepublic com.liferay.asset.kernel.model.AssetTagStats findByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
findByClassNameId_First in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchTagStatsException - if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats fetchByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
fetchByClassNameId_First in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats findByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
findByClassNameId_Last in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchTagStatsException - if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats fetchByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
fetchByClassNameId_Last in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
findByClassNameId_PrevAndNext in interface com.liferay.asset.kernel.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.asset.kernel.exception.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTagStats getByClassNameId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTagStats assetTagStats,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean previous)
public void removeByClassNameId(long classNameId)
removeByClassNameId in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDpublic int countByClassNameId(long classNameId)
countByClassNameId in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceclassNameId - the class name IDpublic com.liferay.asset.kernel.model.AssetTagStats findByT_C(long tagId,
long classNameId)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
NoSuchTagStatsException if it could not be found.findByT_C in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDcom.liferay.asset.kernel.exception.NoSuchTagStatsException - if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats fetchByT_C(long tagId,
long classNameId)
null if it could not be found. Uses the finder cache.fetchByT_C in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDnull if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats fetchByT_C(long tagId,
long classNameId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByT_C in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDuseFinderCache - whether to use the finder cachenull if a matching asset tag stats could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats removeByT_C(long tagId,
long classNameId)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
removeByT_C in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDcom.liferay.asset.kernel.exception.NoSuchTagStatsExceptionpublic int countByT_C(long tagId,
long classNameId)
countByT_C in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDpublic void cacheResult(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>assetTagStats - the asset tag statspublic void cacheResult(List<com.liferay.asset.kernel.model.AssetTagStats> assetTagStatses)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceassetTagStatses - the asset tag statsespublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagStats>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>public void clearCache(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagStats>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>public void clearCache(List<com.liferay.asset.kernel.model.AssetTagStats> assetTagStatses)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagStats>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>protected void cacheUniqueFindersCache(AssetTagStatsModelImpl assetTagStatsModelImpl)
protected void clearUniqueFindersCache(AssetTagStatsModelImpl assetTagStatsModelImpl, boolean clearCurrent)
public com.liferay.asset.kernel.model.AssetTagStats create(long tagStatsId)
create in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key for the new asset tag statspublic com.liferay.asset.kernel.model.AssetTagStats remove(long tagStatsId)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
remove in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key of the asset tag statscom.liferay.asset.kernel.exception.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats remove(Serializable primaryKey)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagStats>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>primaryKey - the primary key of the asset tag statscom.liferay.asset.kernel.exception.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTagStats removeImpl(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>public com.liferay.asset.kernel.model.AssetTagStats updateImpl(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
updateImpl in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>public com.liferay.asset.kernel.model.AssetTagStats findByPrimaryKey(Serializable primaryKey)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagStats>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>primaryKey - the primary key of the asset tag statscom.liferay.asset.kernel.exception.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats findByPrimaryKey(long tagStatsId)
throws com.liferay.asset.kernel.exception.NoSuchTagStatsException
NoSuchTagStatsException if it could not be found.findByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key of the asset tag statscom.liferay.asset.kernel.exception.NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetTagStats fetchByPrimaryKey(long tagStatsId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencetagStatsId - the primary key of the asset tag statsnull if a asset tag stats with the primary key could not be foundpublic List<com.liferay.asset.kernel.model.AssetTagStats> findAll()
findAll in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencepublic List<com.liferay.asset.kernel.model.AssetTagStats> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findAll in interface com.liferay.asset.kernel.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)public List<com.liferay.asset.kernel.model.AssetTagStats> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findAll in interface com.liferay.asset.kernel.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)public List<com.liferay.asset.kernel.model.AssetTagStats> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagStats> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagStatsModelImpl.
findAll in interface com.liferay.asset.kernel.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)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistencepublic int countAll()
countAll in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistenceprotected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>public void afterPropertiesSet()
public void destroy()