|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.asset.service.persistence.AssetTagStatsUtil
public class AssetTagStatsUtil
The persistence utility for the asset tag stats service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
AssetTagStatsPersistence,
AssetTagStatsPersistenceImpl| Constructor Summary | |
|---|---|
AssetTagStatsUtil()
|
|
| Method Summary | |
|---|---|
static void |
cacheResult(AssetTagStats assetTagStats)
Caches the asset tag stats in the entity cache if it is enabled. |
static void |
cacheResult(List<AssetTagStats> assetTagStatses)
Caches the asset tag statses in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(AssetTagStats assetTagStats)
|
static int |
countAll()
Counts all the asset tag statses. |
static int |
countByClassNameId(long classNameId)
Counts all the asset tag statses where classNameId = ?. |
static int |
countByT_C(long tagId,
long classNameId)
Counts all the asset tag statses where tagId = ? and classNameId = ?. |
static int |
countByTagId(long tagId)
Counts all the asset tag statses where tagId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static AssetTagStats |
create(long tagStatsId)
Creates a new asset tag stats with the primary key. |
static AssetTagStats |
fetchByPrimaryKey(long tagStatsId)
Finds the asset tag stats with the primary key or returns null if it could not be found. |
static AssetTagStats |
fetchByT_C(long tagId,
long classNameId)
Finds the asset tag stats where tagId = ? and classNameId = ? or returns null if it could not be found. |
static AssetTagStats |
fetchByT_C(long tagId,
long classNameId,
boolean retrieveFromCache)
Finds the asset tag stats where tagId = ? and classNameId = ? or returns null if it could not be found, optionally using the finder cache. |
static List<AssetTagStats> |
findAll()
Finds all the asset tag statses. |
static List<AssetTagStats> |
findAll(int start,
int end)
Finds a range of all the asset tag statses. |
static List<AssetTagStats> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tag statses. |
static AssetTagStats |
findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Finds the first asset tag stats in the ordered set where classNameId = ?. |
static AssetTagStats |
findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Finds the last asset tag stats in the ordered set where classNameId = ?. |
static AssetTagStats[] |
findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
OrderByComparator orderByComparator)
Finds the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = ?. |
static List<AssetTagStats> |
findByClassNameId(long classNameId)
Finds all the asset tag statses where classNameId = ?. |
static List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end)
Finds a range of all the asset tag statses where classNameId = ?. |
static List<AssetTagStats> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tag statses where classNameId = ?. |
static AssetTagStats |
findByPrimaryKey(long tagStatsId)
Finds the asset tag stats with the primary key or throws a NoSuchTagStatsException if it could not be found. |
static AssetTagStats |
findByT_C(long tagId,
long classNameId)
Finds the asset tag stats where tagId = ? and classNameId = ? or throws a NoSuchTagStatsException if it could not be found. |
static AssetTagStats |
findByTagId_First(long tagId,
OrderByComparator orderByComparator)
Finds the first asset tag stats in the ordered set where tagId = ?. |
static AssetTagStats |
findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
Finds the last asset tag stats in the ordered set where tagId = ?. |
static AssetTagStats[] |
findByTagId_PrevAndNext(long tagStatsId,
long tagId,
OrderByComparator orderByComparator)
Finds the asset tag statses before and after the current asset tag stats in the ordered set where tagId = ?. |
static List<AssetTagStats> |
findByTagId(long tagId)
Finds all the asset tag statses where tagId = ?. |
static List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end)
Finds a range of all the asset tag statses where tagId = ?. |
static List<AssetTagStats> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tag statses where tagId = ?. |
static List<AssetTagStats> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<AssetTagStats> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<AssetTagStats> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static AssetTagStatsPersistence |
getPersistence()
|
static AssetTagStats |
remove(AssetTagStats assetTagStats)
|
static AssetTagStats |
remove(long tagStatsId)
Removes the asset tag stats with the primary key from the database. |
static void |
removeAll()
Removes all the asset tag statses from the database. |
static void |
removeByClassNameId(long classNameId)
Removes all the asset tag statses where classNameId = ? from the database. |
static void |
removeByT_C(long tagId,
long classNameId)
Removes the asset tag stats where tagId = ? and classNameId = ? from the database. |
static void |
removeByTagId(long tagId)
Removes all the asset tag statses where tagId = ? from the database. |
void |
setPersistence(AssetTagStatsPersistence persistence)
|
static AssetTagStats |
update(AssetTagStats assetTagStats,
boolean merge)
|
static AssetTagStats |
update(AssetTagStats assetTagStats,
boolean merge,
ServiceContext serviceContext)
|
static AssetTagStats |
updateImpl(AssetTagStats assetTagStats,
boolean merge)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetTagStatsUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(AssetTagStats assetTagStats)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<AssetTagStats> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<AssetTagStats> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<AssetTagStats> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AssetTagStats remove(AssetTagStats assetTagStats)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static AssetTagStats update(AssetTagStats assetTagStats,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static AssetTagStats update(AssetTagStats assetTagStats,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(AssetTagStats assetTagStats)
assetTagStats - the asset tag stats to cachepublic static void cacheResult(List<AssetTagStats> assetTagStatses)
assetTagStatses - the asset tag statses to cachepublic static AssetTagStats create(long tagStatsId)
tagStatsId - the primary key for the new asset tag stats
public static AssetTagStats remove(long tagStatsId)
throws SystemException,
NoSuchTagStatsException
tagStatsId - the primary key of the asset tag stats to remove
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
SystemException - if a system exception occurred
public static AssetTagStats updateImpl(AssetTagStats assetTagStats,
boolean merge)
throws SystemException
SystemException
public static AssetTagStats findByPrimaryKey(long tagStatsId)
throws SystemException,
NoSuchTagStatsException
NoSuchTagStatsException if it could not be found.
tagStatsId - the primary key of the asset tag stats to find
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
SystemException - if a system exception occurred
public static AssetTagStats fetchByPrimaryKey(long tagStatsId)
throws SystemException
null if it could not be found.
tagStatsId - the primary key of the asset tag stats to find
null if a asset tag stats with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetTagStats> findByTagId(long tagId)
throws SystemException
tagId - the tag id to search with
SystemException - if a system exception occurred
public static List<AssetTagStats> findByTagId(long tagId,
int start,
int end)
throws SystemException
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.
tagId - the tag id to search withstart - the lower bound of the range of asset tag statses to returnend - the upper bound of the range of asset tag statses to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetTagStats> findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
tagId - the tag id to search withstart - the lower bound of the range of asset tag statses to returnend - the upper bound of the range of asset tag statses to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetTagStats findByTagId_First(long tagId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagStatsException
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.
tagId - the tag id to search withorderByComparator - the comparator to order the set by
NoSuchTagStatsException - if a matching asset tag stats could not be found
SystemException - if a system exception occurred
public static AssetTagStats findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagStatsException
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.
tagId - the tag id to search withorderByComparator - the comparator to order the set by
NoSuchTagStatsException - if a matching asset tag stats could not be found
SystemException - if a system exception occurred
public static AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId,
long tagId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagStatsException
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.
tagStatsId - the primary key of the current asset tag statstagId - the tag id to search withorderByComparator - the comparator to order the set by
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetTagStats> findByClassNameId(long classNameId)
throws SystemException
classNameId - the class name id to search with
SystemException - if a system exception occurred
public static List<AssetTagStats> findByClassNameId(long classNameId,
int start,
int end)
throws SystemException
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.
classNameId - the class name id to search withstart - the lower bound of the range of asset tag statses to returnend - the upper bound of the range of asset tag statses to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetTagStats> findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
classNameId - the class name id to search withstart - the lower bound of the range of asset tag statses to returnend - the upper bound of the range of asset tag statses to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetTagStats findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagStatsException
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.
classNameId - the class name id to search withorderByComparator - the comparator to order the set by
NoSuchTagStatsException - if a matching asset tag stats could not be found
SystemException - if a system exception occurred
public static AssetTagStats findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagStatsException
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.
classNameId - the class name id to search withorderByComparator - the comparator to order the set by
NoSuchTagStatsException - if a matching asset tag stats could not be found
SystemException - if a system exception occurred
public static AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId,
long classNameId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagStatsException
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.
tagStatsId - the primary key of the current asset tag statsclassNameId - the class name id to search withorderByComparator - the comparator to order the set by
NoSuchTagStatsException - if a asset tag stats with the primary key could not be found
SystemException - if a system exception occurred
public static AssetTagStats findByT_C(long tagId,
long classNameId)
throws SystemException,
NoSuchTagStatsException
NoSuchTagStatsException if it could not be found.
tagId - the tag id to search withclassNameId - the class name id to search with
NoSuchTagStatsException - if a matching asset tag stats could not be found
SystemException - if a system exception occurred
public static AssetTagStats fetchByT_C(long tagId,
long classNameId)
throws SystemException
null if it could not be found. Uses the finder cache.
tagId - the tag id to search withclassNameId - the class name id to search with
null if a matching asset tag stats could not be found
SystemException - if a system exception occurred
public static AssetTagStats fetchByT_C(long tagId,
long classNameId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
tagId - the tag id to search withclassNameId - the class name id to search with
null if a matching asset tag stats could not be found
SystemException - if a system exception occurred
public static List<AssetTagStats> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<AssetTagStats> findAll(int start,
int end)
throws SystemException
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.
start - the lower bound of the range of asset tag statses to returnend - the upper bound of the range of asset tag statses to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetTagStats> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
start - the lower bound of the range of asset tag statses to returnend - the upper bound of the range of asset tag statses to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByTagId(long tagId)
throws SystemException
tagId - the tag id to search with
SystemException - if a system exception occurred
public static void removeByClassNameId(long classNameId)
throws SystemException
classNameId - the class name id to search with
SystemException - if a system exception occurred
public static void removeByT_C(long tagId,
long classNameId)
throws SystemException,
NoSuchTagStatsException
tagId - the tag id to search withclassNameId - the class name id to search with
SystemException - if a system exception occurred
NoSuchTagStatsException
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByTagId(long tagId)
throws SystemException
tagId - the tag id to search with
SystemException - if a system exception occurred
public static int countByClassNameId(long classNameId)
throws SystemException
classNameId - the class name id to search with
SystemException - if a system exception occurred
public static int countByT_C(long tagId,
long classNameId)
throws SystemException
tagId - the tag id to search withclassNameId - the class name id to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static AssetTagStatsPersistence getPersistence()
public void setPersistence(AssetTagStatsPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||