com.liferay.asset.tag.stats.model.impl.AssetTagStatsImpl
@Deprecated
@ProviderType
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
AssetTagStatsPersistence
,
AssetTagStatsUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider
Deprecated.
|
static String |
FINDER_CLASS_NAME_ENTITY
Deprecated.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
Deprecated.
|
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_CLASSNAMEID
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_T_C
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_TAGID
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_T_C
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID
Deprecated.
|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, 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 |
fetchByPrimaryKey(Serializable primaryKey)
Deprecated.
Returns the asset tag stats with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.asset.kernel.model.AssetTagStats> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Deprecated.
|
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 retrieveFromCache)
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 retrieveFromCache)
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 retrieveFromCache)
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
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 retrieveFromCache)
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 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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_T_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_C
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public List<com.liferay.asset.kernel.model.AssetTagStats> findByTagId(long tagId)
findByTagId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
tagId
- 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByTagId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
tagId
- 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByTagId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
tagId
- 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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByTagId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
tagId
- 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
)retrieveFromCache
- whether to retrieve from 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.AssetTagStatsPersistence
tagId
- 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.AssetTagStatsPersistence
tagId
- 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.AssetTagStatsPersistence
tagId
- 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.AssetTagStatsPersistence
tagId
- 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.AssetTagStatsPersistence
tagStatsId
- 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.AssetTagStatsPersistence
tagId
- the tag IDpublic int countByTagId(long tagId)
countByTagId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
tagId
- the tag IDpublic List<com.liferay.asset.kernel.model.AssetTagStats> findByClassNameId(long classNameId)
findByClassNameId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
classNameId
- 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByClassNameId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
classNameId
- 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByClassNameId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
classNameId
- 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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByClassNameId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
classNameId
- 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
)retrieveFromCache
- whether to retrieve from 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.AssetTagStatsPersistence
classNameId
- 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.AssetTagStatsPersistence
classNameId
- 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.AssetTagStatsPersistence
classNameId
- 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.AssetTagStatsPersistence
classNameId
- 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.AssetTagStatsPersistence
tagStatsId
- 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.AssetTagStatsPersistence
classNameId
- the class name IDpublic int countByClassNameId(long classNameId)
countByClassNameId
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
classNameId
- 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.AssetTagStatsPersistence
tagId
- 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.AssetTagStatsPersistence
tagId
- 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 retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByT_C
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
tagId
- the tag IDclassNameId
- the class name IDretrieveFromCache
- whether to retrieve from 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.AssetTagStatsPersistence
tagId
- the tag IDclassNameId
- the class name IDcom.liferay.asset.kernel.exception.NoSuchTagStatsException
public int countByT_C(long tagId, long classNameId)
countByT_C
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
tagId
- 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.AssetTagStatsPersistence
assetTagStats
- the asset tag statspublic void cacheResult(List<com.liferay.asset.kernel.model.AssetTagStats> assetTagStatses)
cacheResult
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
assetTagStatses
- the asset tag statsespublic void clearCache()
The EntityCache
and 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 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.AssetTagStatsPersistence
tagStatsId
- 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.AssetTagStatsPersistence
tagStatsId
- 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.AssetTagStatsPersistence
updateImpl
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
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.AssetTagStatsPersistence
tagStatsId
- 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(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagStats>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>
primaryKey
- the primary key of the asset tag statsnull
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.AssetTagStatsPersistence
tagStatsId
- the primary key of the asset tag statsnull
if a asset tag stats with the primary key could not be foundpublic Map<Serializable,com.liferay.asset.kernel.model.AssetTagStats> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagStats>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagStats>
public List<com.liferay.asset.kernel.model.AssetTagStats> findAll()
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
public 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
start
- 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
start
- 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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
start
- 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
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
public int countAll()
countAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence
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()