|
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.AssetTagPropertyUtil
public class AssetTagPropertyUtil
The persistence utility for the asset tag property service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
AssetTagPropertyPersistence,
AssetTagPropertyPersistenceImpl| Constructor Summary | |
|---|---|
AssetTagPropertyUtil()
|
|
| Method Summary | |
|---|---|
static void |
cacheResult(AssetTagProperty assetTagProperty)
Caches the asset tag property in the entity cache if it is enabled. |
static void |
cacheResult(List<AssetTagProperty> assetTagProperties)
Caches the asset tag properties in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(AssetTagProperty assetTagProperty)
|
static int |
countAll()
Counts all the asset tag properties. |
static int |
countByC_K(long companyId,
String key)
Counts all the asset tag properties where companyId = ? and key = ?. |
static int |
countByCompanyId(long companyId)
Counts all the asset tag properties where companyId = ?. |
static int |
countByT_K(long tagId,
String key)
Counts all the asset tag properties where tagId = ? and key = ?. |
static int |
countByTagId(long tagId)
Counts all the asset tag properties where tagId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static AssetTagProperty |
create(long tagPropertyId)
Creates a new asset tag property with the primary key. |
static AssetTagProperty |
fetchByPrimaryKey(long tagPropertyId)
Finds the asset tag property with the primary key or returns null if it could not be found. |
static AssetTagProperty |
fetchByT_K(long tagId,
String key)
Finds the asset tag property where tagId = ? and key = ? or returns null if it could not be found. |
static AssetTagProperty |
fetchByT_K(long tagId,
String key,
boolean retrieveFromCache)
Finds the asset tag property where tagId = ? and key = ? or returns null if it could not be found, optionally using the finder cache. |
static List<AssetTagProperty> |
findAll()
Finds all the asset tag properties. |
static List<AssetTagProperty> |
findAll(int start,
int end)
Finds a range of all the asset tag properties. |
static List<AssetTagProperty> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tag properties. |
static AssetTagProperty |
findByC_K_First(long companyId,
String key,
OrderByComparator orderByComparator)
Finds the first asset tag property in the ordered set where companyId = ? and key = ?. |
static AssetTagProperty |
findByC_K_Last(long companyId,
String key,
OrderByComparator orderByComparator)
Finds the last asset tag property in the ordered set where companyId = ? and key = ?. |
static AssetTagProperty[] |
findByC_K_PrevAndNext(long tagPropertyId,
long companyId,
String key,
OrderByComparator orderByComparator)
Finds the asset tag properties before and after the current asset tag property in the ordered set where companyId = ? and key = ?. |
static List<AssetTagProperty> |
findByC_K(long companyId,
String key)
Finds all the asset tag properties where companyId = ? and key = ?. |
static List<AssetTagProperty> |
findByC_K(long companyId,
String key,
int start,
int end)
Finds a range of all the asset tag properties where companyId = ? and key = ?. |
static List<AssetTagProperty> |
findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tag properties where companyId = ? and key = ?. |
static AssetTagProperty |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first asset tag property in the ordered set where companyId = ?. |
static AssetTagProperty |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last asset tag property in the ordered set where companyId = ?. |
static AssetTagProperty[] |
findByCompanyId_PrevAndNext(long tagPropertyId,
long companyId,
OrderByComparator orderByComparator)
Finds the asset tag properties before and after the current asset tag property in the ordered set where companyId = ?. |
static List<AssetTagProperty> |
findByCompanyId(long companyId)
Finds all the asset tag properties where companyId = ?. |
static List<AssetTagProperty> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the asset tag properties where companyId = ?. |
static List<AssetTagProperty> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tag properties where companyId = ?. |
static AssetTagProperty |
findByPrimaryKey(long tagPropertyId)
Finds the asset tag property with the primary key or throws a NoSuchTagPropertyException if it could not be found. |
static AssetTagProperty |
findByT_K(long tagId,
String key)
Finds the asset tag property where tagId = ? and key = ? or throws a NoSuchTagPropertyException if it could not be found. |
static AssetTagProperty |
findByTagId_First(long tagId,
OrderByComparator orderByComparator)
Finds the first asset tag property in the ordered set where tagId = ?. |
static AssetTagProperty |
findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
Finds the last asset tag property in the ordered set where tagId = ?. |
static AssetTagProperty[] |
findByTagId_PrevAndNext(long tagPropertyId,
long tagId,
OrderByComparator orderByComparator)
Finds the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?. |
static List<AssetTagProperty> |
findByTagId(long tagId)
Finds all the asset tag properties where tagId = ?. |
static List<AssetTagProperty> |
findByTagId(long tagId,
int start,
int end)
Finds a range of all the asset tag properties where tagId = ?. |
static List<AssetTagProperty> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tag properties where tagId = ?. |
static List<AssetTagProperty> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<AssetTagProperty> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<AssetTagProperty> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static AssetTagPropertyPersistence |
getPersistence()
|
static AssetTagProperty |
remove(AssetTagProperty assetTagProperty)
|
static AssetTagProperty |
remove(long tagPropertyId)
Removes the asset tag property with the primary key from the database. |
static void |
removeAll()
Removes all the asset tag properties from the database. |
static void |
removeByC_K(long companyId,
String key)
Removes all the asset tag properties where companyId = ? and key = ? from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the asset tag properties where companyId = ? from the database. |
static void |
removeByT_K(long tagId,
String key)
Removes the asset tag property where tagId = ? and key = ? from the database. |
static void |
removeByTagId(long tagId)
Removes all the asset tag properties where tagId = ? from the database. |
void |
setPersistence(AssetTagPropertyPersistence persistence)
|
static AssetTagProperty |
update(AssetTagProperty assetTagProperty,
boolean merge)
|
static AssetTagProperty |
update(AssetTagProperty assetTagProperty,
boolean merge,
ServiceContext serviceContext)
|
static AssetTagProperty |
updateImpl(AssetTagProperty assetTagProperty,
boolean merge)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetTagPropertyUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(AssetTagProperty assetTagProperty)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<AssetTagProperty> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<AssetTagProperty> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<AssetTagProperty> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AssetTagProperty remove(AssetTagProperty assetTagProperty)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static AssetTagProperty update(AssetTagProperty assetTagProperty,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static AssetTagProperty update(AssetTagProperty assetTagProperty,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(AssetTagProperty assetTagProperty)
assetTagProperty - the asset tag property to cachepublic static void cacheResult(List<AssetTagProperty> assetTagProperties)
assetTagProperties - the asset tag properties to cachepublic static AssetTagProperty create(long tagPropertyId)
tagPropertyId - the primary key for the new asset tag property
public static AssetTagProperty remove(long tagPropertyId)
throws SystemException,
NoSuchTagPropertyException
tagPropertyId - the primary key of the asset tag property to remove
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred
public static AssetTagProperty updateImpl(AssetTagProperty assetTagProperty,
boolean merge)
throws SystemException
SystemException
public static AssetTagProperty findByPrimaryKey(long tagPropertyId)
throws SystemException,
NoSuchTagPropertyException
NoSuchTagPropertyException if it could not be found.
tagPropertyId - the primary key of the asset tag property to find
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred
public static AssetTagProperty fetchByPrimaryKey(long tagPropertyId)
throws SystemException
null if it could not be found.
tagPropertyId - the primary key of the asset tag property to find
null if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetTagProperty> findByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static List<AssetTagProperty> findByCompanyId(long companyId,
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.
companyId - the company id to search withstart - the lower bound of the range of asset tag properties to returnend - the upper bound of the range of asset tag properties to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetTagProperty> findByCompanyId(long companyId,
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.
companyId - the company id to search withstart - the lower bound of the range of asset tag properties to returnend - the upper bound of the range of asset tag properties to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetTagProperty findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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.
companyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static AssetTagProperty findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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.
companyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static AssetTagProperty[] findByCompanyId_PrevAndNext(long tagPropertyId,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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.
tagPropertyId - the primary key of the current asset tag propertycompanyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetTagProperty> findByTagId(long tagId)
throws SystemException
tagId - the tag id to search with
SystemException - if a system exception occurred
public static List<AssetTagProperty> 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 properties to returnend - the upper bound of the range of asset tag properties to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetTagProperty> 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 properties to returnend - the upper bound of the range of asset tag properties to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetTagProperty findByTagId_First(long tagId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static AssetTagProperty findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static AssetTagProperty[] findByTagId_PrevAndNext(long tagPropertyId,
long tagId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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.
tagPropertyId - the primary key of the current asset tag propertytagId - the tag id to search withorderByComparator - the comparator to order the set by
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetTagProperty> findByC_K(long companyId,
String key)
throws SystemException
companyId - the company id to search withkey - the key to search with
SystemException - if a system exception occurred
public static List<AssetTagProperty> findByC_K(long companyId,
String key,
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.
companyId - the company id to search withkey - the key to search withstart - the lower bound of the range of asset tag properties to returnend - the upper bound of the range of asset tag properties to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetTagProperty> findByC_K(long companyId,
String key,
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.
companyId - the company id to search withkey - the key to search withstart - the lower bound of the range of asset tag properties to returnend - the upper bound of the range of asset tag properties to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetTagProperty findByC_K_First(long companyId,
String key,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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.
companyId - the company id to search withkey - the key to search withorderByComparator - the comparator to order the set by
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static AssetTagProperty findByC_K_Last(long companyId,
String key,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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.
companyId - the company id to search withkey - the key to search withorderByComparator - the comparator to order the set by
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static AssetTagProperty[] findByC_K_PrevAndNext(long tagPropertyId,
long companyId,
String key,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchTagPropertyException
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.
tagPropertyId - the primary key of the current asset tag propertycompanyId - the company id to search withkey - the key to search withorderByComparator - the comparator to order the set by
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred
public static AssetTagProperty findByT_K(long tagId,
String key)
throws SystemException,
NoSuchTagPropertyException
NoSuchTagPropertyException if it could not be found.
tagId - the tag id to search withkey - the key to search with
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static AssetTagProperty fetchByT_K(long tagId,
String key)
throws SystemException
null if it could not be found. Uses the finder cache.
tagId - the tag id to search withkey - the key to search with
null if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static AssetTagProperty fetchByT_K(long tagId,
String key,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
tagId - the tag id to search withkey - the key to search with
null if a matching asset tag property could not be found
SystemException - if a system exception occurred
public static List<AssetTagProperty> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<AssetTagProperty> 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 properties to returnend - the upper bound of the range of asset tag properties to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetTagProperty> 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 properties to returnend - the upper bound of the range of asset tag properties to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
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 removeByC_K(long companyId,
String key)
throws SystemException
companyId - the company id to search withkey - the key to search with
SystemException - if a system exception occurred
public static void removeByT_K(long tagId,
String key)
throws SystemException,
NoSuchTagPropertyException
tagId - the tag id to search withkey - the key to search with
SystemException - if a system exception occurred
NoSuchTagPropertyException
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
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 countByC_K(long companyId,
String key)
throws SystemException
companyId - the company id to search withkey - the key to search with
SystemException - if a system exception occurred
public static int countByT_K(long tagId,
String key)
throws SystemException
tagId - the tag id to search withkey - the key to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static AssetTagPropertyPersistence getPersistence()
public void setPersistence(AssetTagPropertyPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||