|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetTagStats>
com.liferay.portlet.asset.service.persistence.impl.AssetTagStatsPersistenceImpl
@ProviderType public class AssetTagStatsPersistenceImpl
The persistence implementation for the asset tag stats service.
Caching information and settings can be found in portal.properties
AssetTagStatsPersistence,
AssetTagStatsUtil| Field Summary | |
|---|---|
protected CompanyProvider |
companyProvider
|
protected EntityCache |
entityCache
|
static String |
FINDER_CLASS_NAME_ENTITY
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static FinderPath |
FINDER_PATH_COUNT_ALL
|
static FinderPath |
FINDER_PATH_COUNT_BY_CLASSNAMEID
|
static FinderPath |
FINDER_PATH_COUNT_BY_T_C
|
static FinderPath |
FINDER_PATH_COUNT_BY_TAGID
|
static FinderPath |
FINDER_PATH_FETCH_BY_T_C
|
static FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
|
static FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID
|
static FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
|
static FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID
|
protected FinderCache |
finderCache
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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(AssetTagStats assetTagStats)
Caches the asset tag stats in the entity cache if it is enabled. |
void |
cacheResult(List<AssetTagStats> assetTagStatses)
Caches the asset tag statses in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(AssetTagStatsModelImpl assetTagStatsModelImpl,
boolean isNew)
|
void |
clearCache()
Clears the cache for all asset tag statses. |
void |
clearCache(AssetTagStats assetTagStats)
Clears the cache for the asset tag stats. |
void |
clearCache(List<AssetTagStats> assetTagStatses)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(AssetTagStatsModelImpl assetTagStatsModelImpl)
|
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 = ?. |
AssetTagStats |
create(long tagStatsId)
Creates a new asset tag stats with the primary key. |
void |
destroy()
|
AssetTagStats |
fetchByClassNameId_First(long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the first asset tag stats in the ordered set where classNameId = ?. |
AssetTagStats |
fetchByClassNameId_Last(long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the last asset tag stats in the ordered set where classNameId = ?. |
AssetTagStats |
fetchByPrimaryKey(long tagStatsId)
Returns the asset tag stats with the primary key or returns null if it could not be found. |
AssetTagStats |
fetchByPrimaryKey(Serializable primaryKey)
Returns the asset tag stats with the primary key or returns null if it could not be found. |
Map<Serializable,AssetTagStats> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
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. |
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. |
AssetTagStats |
fetchByTagId_First(long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the first asset tag stats in the ordered set where tagId = ?. |
AssetTagStats |
fetchByTagId_Last(long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the last asset tag stats in the ordered set where tagId = ?. |
List<AssetTagStats> |
findAll()
Returns all the asset tag statses. |
List<AssetTagStats> |
findAll(int start,
int end)
Returns a range of all the asset tag statses. |
List<AssetTagStats> |
findAll(int start,
int end,
OrderByComparator<AssetTagStats> orderByComparator)
Returns an ordered range of all the asset tag statses. |
List<AssetTagStats> |
findAll(int start,
int end,
OrderByComparator<AssetTagStats> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tag statses. |
AssetTagStats |
findByClassNameId_First(long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the first asset tag stats in the ordered set where classNameId = ?. |
AssetTagStats |
findByClassNameId_Last(long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the last asset tag stats in the ordered set where classNameId = ?. |
AssetTagStats[] |
findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?. |
List<AssetTagStats> |
findByClassNameId(long classNameId)
Returns all the asset tag statses where classNameId = ?. |
List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end)
Returns a range of all the asset tag statses where classNameId = ?. |
List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator<AssetTagStats> orderByComparator)
Returns an ordered range of all the asset tag statses where classNameId = ?. |
List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator<AssetTagStats> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tag statses where classNameId = ?. |
AssetTagStats |
findByPrimaryKey(long tagStatsId)
Returns the asset tag stats with the primary key or throws a NoSuchTagStatsException if it could not be found. |
AssetTagStats |
findByPrimaryKey(Serializable primaryKey)
Returns the asset tag stats with the primary key or throws a NoSuchModelException if it could not be found. |
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. |
AssetTagStats |
findByTagId_First(long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the first asset tag stats in the ordered set where tagId = ?. |
AssetTagStats |
findByTagId_Last(long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the last asset tag stats in the ordered set where tagId = ?. |
AssetTagStats[] |
findByTagId_PrevAndNext(long tagStatsId,
long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?. |
List<AssetTagStats> |
findByTagId(long tagId)
Returns all the asset tag statses where tagId = ?. |
List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end)
Returns a range of all the asset tag statses where tagId = ?. |
List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator<AssetTagStats> orderByComparator)
Returns an ordered range of all the asset tag statses where tagId = ?. |
List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator<AssetTagStats> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tag statses where tagId = ?. |
protected AssetTagStats |
getByClassNameId_PrevAndNext(Session session,
AssetTagStats assetTagStats,
long classNameId,
OrderByComparator<AssetTagStats> orderByComparator,
boolean previous)
|
protected AssetTagStats |
getByTagId_PrevAndNext(Session session,
AssetTagStats assetTagStats,
long tagId,
OrderByComparator<AssetTagStats> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
AssetTagStats |
remove(long tagStatsId)
Removes the asset tag stats with the primary key from the database. |
AssetTagStats |
remove(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. |
AssetTagStats |
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 AssetTagStats |
removeImpl(AssetTagStats assetTagStats)
Removes the model instance from the database. |
protected AssetTagStats |
toUnwrappedModel(AssetTagStats assetTagStats)
|
AssetTagStats |
updateImpl(AssetTagStats assetTagStats)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| 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, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
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 FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID
public static final FinderPath FINDER_PATH_COUNT_BY_TAGID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_FETCH_BY_T_C
public static final FinderPath FINDER_PATH_COUNT_BY_T_C
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public AssetTagStatsPersistenceImpl()
| Method Detail |
|---|
public List<AssetTagStats> findByTagId(long tagId)
findByTagId in interface AssetTagStatsPersistencetagId - the tag ID
public List<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 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<AssetTagStats> findByTagId(long tagId,
int start,
int end,
OrderByComparator<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 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<AssetTagStats> findByTagId(long tagId,
int start,
int end,
OrderByComparator<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 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)retrieveFromCache - whether to retrieve from the finder cache
public AssetTagStats findByTagId_First(long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
throws NoSuchTagStatsException
findByTagId_First in interface AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagStatsException - if a matching asset tag stats could not be found
public AssetTagStats fetchByTagId_First(long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
fetchByTagId_First in interface AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag stats could not be found
public AssetTagStats findByTagId_Last(long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
throws NoSuchTagStatsException
findByTagId_Last in interface AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagStatsException - if a matching asset tag stats could not be found
public AssetTagStats fetchByTagId_Last(long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
fetchByTagId_Last in interface AssetTagStatsPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag stats could not be found
public AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId,
long tagId,
OrderByComparator<AssetTagStats> orderByComparator)
throws NoSuchTagStatsException
findByTagId_PrevAndNext in interface AssetTagStatsPersistencetagStatsId - the primary key of the current asset tag statstagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
protected AssetTagStats getByTagId_PrevAndNext(Session session,
AssetTagStats assetTagStats,
long tagId,
OrderByComparator<AssetTagStats> orderByComparator,
boolean previous)
public void removeByTagId(long tagId)
removeByTagId in interface AssetTagStatsPersistencetagId - the tag IDpublic int countByTagId(long tagId)
countByTagId in interface AssetTagStatsPersistencetagId - the tag ID
public List<AssetTagStats> findByClassNameId(long classNameId)
findByClassNameId in interface AssetTagStatsPersistenceclassNameId - the class name ID
public List<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 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<AssetTagStats> findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator<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 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<AssetTagStats> findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator<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 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)retrieveFromCache - whether to retrieve from the finder cache
public AssetTagStats findByClassNameId_First(long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
throws NoSuchTagStatsException
findByClassNameId_First in interface AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagStatsException - if a matching asset tag stats could not be found
public AssetTagStats fetchByClassNameId_First(long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
fetchByClassNameId_First in interface AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag stats could not be found
public AssetTagStats findByClassNameId_Last(long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
throws NoSuchTagStatsException
findByClassNameId_Last in interface AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagStatsException - if a matching asset tag stats could not be found
public AssetTagStats fetchByClassNameId_Last(long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
fetchByClassNameId_Last in interface AssetTagStatsPersistenceclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag stats could not be found
public AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
OrderByComparator<AssetTagStats> orderByComparator)
throws NoSuchTagStatsException
findByClassNameId_PrevAndNext in interface AssetTagStatsPersistencetagStatsId - the primary key of the current asset tag statsclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
protected AssetTagStats getByClassNameId_PrevAndNext(Session session,
AssetTagStats assetTagStats,
long classNameId,
OrderByComparator<AssetTagStats> orderByComparator,
boolean previous)
public void removeByClassNameId(long classNameId)
removeByClassNameId in interface AssetTagStatsPersistenceclassNameId - the class name IDpublic int countByClassNameId(long classNameId)
countByClassNameId in interface AssetTagStatsPersistenceclassNameId - the class name ID
public AssetTagStats findByT_C(long tagId,
long classNameId)
throws NoSuchTagStatsException
NoSuchTagStatsException if it could not be found.
findByT_C in interface AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name ID
NoSuchTagStatsException - if a matching asset tag stats could not be found
public AssetTagStats fetchByT_C(long tagId,
long classNameId)
null if it could not be found. Uses the finder cache.
fetchByT_C in interface AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name ID
null if a matching asset tag stats could not be found
public 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 AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching asset tag stats could not be found
public AssetTagStats removeByT_C(long tagId,
long classNameId)
throws NoSuchTagStatsException
removeByT_C in interface AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name ID
NoSuchTagStatsException
public int countByT_C(long tagId,
long classNameId)
countByT_C in interface AssetTagStatsPersistencetagId - the tag IDclassNameId - the class name ID
public void cacheResult(AssetTagStats assetTagStats)
cacheResult in interface AssetTagStatsPersistenceassetTagStats - the asset tag statspublic void cacheResult(List<AssetTagStats> assetTagStatses)
cacheResult in interface AssetTagStatsPersistenceassetTagStatses - the asset tag statsespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetTagStats>clearCache in class BasePersistenceImpl<AssetTagStats>public void clearCache(AssetTagStats assetTagStats)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetTagStats>clearCache in class BasePersistenceImpl<AssetTagStats>assetTagStats - the instance of this model to clear the cache forpublic void clearCache(List<AssetTagStats> assetTagStatses)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<AssetTagStats>clearCache in class BasePersistenceImpl<AssetTagStats>assetTagStatses - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(AssetTagStatsModelImpl assetTagStatsModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(AssetTagStatsModelImpl assetTagStatsModelImpl)
public AssetTagStats create(long tagStatsId)
create in interface AssetTagStatsPersistencetagStatsId - the primary key for the new asset tag stats
public AssetTagStats remove(long tagStatsId)
throws NoSuchTagStatsException
remove in interface AssetTagStatsPersistencetagStatsId - the primary key of the asset tag stats
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
public AssetTagStats remove(Serializable primaryKey)
throws NoSuchTagStatsException
remove in interface BasePersistence<AssetTagStats>remove in class BasePersistenceImpl<AssetTagStats>primaryKey - the primary key of the asset tag stats
NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundprotected AssetTagStats removeImpl(AssetTagStats assetTagStats)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<AssetTagStats>assetTagStats - the model instance to remove
public AssetTagStats updateImpl(AssetTagStats assetTagStats)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetTagStatsPersistenceupdateImpl in class BasePersistenceImpl<AssetTagStats>assetTagStats - the model instance to update
protected AssetTagStats toUnwrappedModel(AssetTagStats assetTagStats)
public AssetTagStats findByPrimaryKey(Serializable primaryKey)
throws NoSuchTagStatsException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<AssetTagStats>findByPrimaryKey in class BasePersistenceImpl<AssetTagStats>primaryKey - the primary key of the asset tag stats
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
public AssetTagStats findByPrimaryKey(long tagStatsId)
throws NoSuchTagStatsException
NoSuchTagStatsException if it could not be found.
findByPrimaryKey in interface AssetTagStatsPersistencetagStatsId - the primary key of the asset tag stats
NoSuchTagStatsException - if a asset tag stats with the primary key could not be foundpublic AssetTagStats fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetTagStats>fetchByPrimaryKey in class BasePersistenceImpl<AssetTagStats>primaryKey - the primary key of the asset tag stats
null if a asset tag stats with the primary key could not be foundpublic AssetTagStats fetchByPrimaryKey(long tagStatsId)
null if it could not be found.
fetchByPrimaryKey in interface AssetTagStatsPersistencetagStatsId - the primary key of the asset tag stats
null if a asset tag stats with the primary key could not be foundpublic Map<Serializable,AssetTagStats> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<AssetTagStats>fetchByPrimaryKeys in interface AssetTagStatsPersistencefetchByPrimaryKeys in class BasePersistenceImpl<AssetTagStats>public List<AssetTagStats> findAll()
findAll in interface AssetTagStatsPersistence
public List<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 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<AssetTagStats> findAll(int start,
int end,
OrderByComparator<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 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<AssetTagStats> findAll(int start,
int end,
OrderByComparator<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 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface AssetTagStatsPersistencepublic int countAll()
countAll in interface AssetTagStatsPersistenceprotected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<AssetTagStats>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||