@ProviderType
public class AssetTagPropertyUtil
extends java.lang.Object
AssetTagPropertyPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
AssetTagPropertyPersistence,
AssetTagPropertyPersistenceImpl| Constructor and Description |
|---|
AssetTagPropertyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(AssetTagProperty assetTagProperty)
Caches the asset tag property in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.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()
Returns the number of asset tag properties.
|
static int |
countByC_K(long companyId,
java.lang.String key)
Returns the number of asset tag properties where companyId = ? and key = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of asset tag properties where companyId = ?.
|
static int |
countByT_K(long tagId,
java.lang.String key)
Returns the number of asset tag properties where tagId = ? and key = ?.
|
static int |
countByTagId(long tagId)
Returns the number of asset tag properties where tagId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static AssetTagProperty |
create(long tagPropertyId)
Creates a new asset tag property with the primary key.
|
static AssetTagProperty |
fetchByC_K_First(long companyId,
java.lang.String key,
OrderByComparator orderByComparator)
Returns the first asset tag property in the ordered set where companyId = ? and key = ?.
|
static AssetTagProperty |
fetchByC_K_Last(long companyId,
java.lang.String key,
OrderByComparator orderByComparator)
Returns the last asset tag property in the ordered set where companyId = ? and key = ?.
|
static AssetTagProperty |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first asset tag property in the ordered set where companyId = ?.
|
static AssetTagProperty |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last asset tag property in the ordered set where companyId = ?.
|
static AssetTagProperty |
fetchByPrimaryKey(long tagPropertyId)
Returns the asset tag property with the primary key or returns
null if it could not be found. |
static AssetTagProperty |
fetchByT_K(long tagId,
java.lang.String key)
Returns the asset tag property where tagId = ? and key = ? or returns
null if it could not be found. |
static AssetTagProperty |
fetchByT_K(long tagId,
java.lang.String key,
boolean retrieveFromCache)
Returns the asset tag property where tagId = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
static AssetTagProperty |
fetchByTagId_First(long tagId,
OrderByComparator orderByComparator)
Returns the first asset tag property in the ordered set where tagId = ?.
|
static AssetTagProperty |
fetchByTagId_Last(long tagId,
OrderByComparator orderByComparator)
Returns the last asset tag property in the ordered set where tagId = ?.
|
static java.util.List<AssetTagProperty> |
findAll()
Returns all the asset tag properties.
|
static java.util.List<AssetTagProperty> |
findAll(int start,
int end)
Returns a range of all the asset tag properties.
|
static java.util.List<AssetTagProperty> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset tag properties.
|
static AssetTagProperty |
findByC_K_First(long companyId,
java.lang.String key,
OrderByComparator orderByComparator)
Returns the first asset tag property in the ordered set where companyId = ? and key = ?.
|
static AssetTagProperty |
findByC_K_Last(long companyId,
java.lang.String key,
OrderByComparator orderByComparator)
Returns the last asset tag property in the ordered set where companyId = ? and key = ?.
|
static AssetTagProperty[] |
findByC_K_PrevAndNext(long tagPropertyId,
long companyId,
java.lang.String key,
OrderByComparator orderByComparator)
Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ? and key = ?.
|
static java.util.List<AssetTagProperty> |
findByC_K(long companyId,
java.lang.String key)
Returns all the asset tag properties where companyId = ? and key = ?.
|
static java.util.List<AssetTagProperty> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end)
Returns a range of all the asset tag properties where companyId = ? and key = ?.
|
static java.util.List<AssetTagProperty> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset tag properties where companyId = ? and key = ?.
|
static AssetTagProperty |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first asset tag property in the ordered set where companyId = ?.
|
static AssetTagProperty |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last asset tag property in the ordered set where companyId = ?.
|
static AssetTagProperty[] |
findByCompanyId_PrevAndNext(long tagPropertyId,
long companyId,
OrderByComparator orderByComparator)
Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ?.
|
static java.util.List<AssetTagProperty> |
findByCompanyId(long companyId)
Returns all the asset tag properties where companyId = ?.
|
static java.util.List<AssetTagProperty> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset tag properties where companyId = ?.
|
static java.util.List<AssetTagProperty> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset tag properties where companyId = ?.
|
static AssetTagProperty |
findByPrimaryKey(long tagPropertyId)
Returns the asset tag property with the primary key or throws a
NoSuchTagPropertyException if it could not be found. |
static AssetTagProperty |
findByT_K(long tagId,
java.lang.String key)
Returns 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)
Returns the first asset tag property in the ordered set where tagId = ?.
|
static AssetTagProperty |
findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
Returns the last asset tag property in the ordered set where tagId = ?.
|
static AssetTagProperty[] |
findByTagId_PrevAndNext(long tagPropertyId,
long tagId,
OrderByComparator orderByComparator)
Returns the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?.
|
static java.util.List<AssetTagProperty> |
findByTagId(long tagId)
Returns all the asset tag properties where tagId = ?.
|
static java.util.List<AssetTagProperty> |
findByTagId(long tagId,
int start,
int end)
Returns a range of all the asset tag properties where tagId = ?.
|
static java.util.List<AssetTagProperty> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset tag properties where tagId = ?.
|
static java.util.List<AssetTagProperty> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<AssetTagProperty> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AssetTagProperty> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator) |
static AssetTagPropertyPersistence |
getPersistence() |
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,
java.lang.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 AssetTagProperty |
removeByT_K(long tagId,
java.lang.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)
Deprecated.
As of 6.2.0
|
static AssetTagProperty |
update(AssetTagProperty assetTagProperty) |
static AssetTagProperty |
update(AssetTagProperty assetTagProperty,
ServiceContext serviceContext) |
static AssetTagProperty |
updateImpl(AssetTagProperty assetTagProperty) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(AssetTagProperty assetTagProperty)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<AssetTagProperty> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<AssetTagProperty> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
public static java.util.List<AssetTagProperty> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
public static AssetTagProperty update(AssetTagProperty assetTagProperty) throws SystemException
public static AssetTagProperty update(AssetTagProperty assetTagProperty, ServiceContext serviceContext) throws SystemException
public static java.util.List<AssetTagProperty> findByCompanyId(long companyId) throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.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. 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 AssetTagPropertyModelImpl. 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.
companyId - the company IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. 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 AssetTagPropertyModelImpl. 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.
companyId - the company IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetTagProperty findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty[] findByCompanyId_PrevAndNext(long tagPropertyId, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
tagPropertyId - the primary key of the current asset tag propertycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a asset tag property with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static int countByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<AssetTagProperty> findByTagId(long tagId) throws SystemException
tagId - the tag IDSystemException - if a system exception occurredpublic static java.util.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. 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 AssetTagPropertyModelImpl. 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.
tagId - the tag IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. 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 AssetTagPropertyModelImpl. 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.
tagId - the tag IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetTagProperty findByTagId_First(long tagId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByTagId_First(long tagId, OrderByComparator orderByComparator) throws SystemException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty findByTagId_Last(long tagId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByTagId_Last(long tagId, OrderByComparator orderByComparator) throws SystemException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty[] findByTagId_PrevAndNext(long tagPropertyId, long tagId, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
tagPropertyId - the primary key of the current asset tag propertytagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a asset tag property with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByTagId(long tagId)
throws SystemException
tagId - the tag IDSystemException - if a system exception occurredpublic static int countByTagId(long tagId)
throws SystemException
tagId - the tag IDSystemException - if a system exception occurredpublic static java.util.List<AssetTagProperty> findByC_K(long companyId, java.lang.String key) throws SystemException
companyId - the company IDkey - the keySystemException - if a system exception occurredpublic static java.util.List<AssetTagProperty> findByC_K(long companyId, java.lang.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. 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 AssetTagPropertyModelImpl. 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.
companyId - the company IDkey - the keystart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetTagProperty> findByC_K(long companyId, java.lang.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. 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 AssetTagPropertyModelImpl. 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.
companyId - the company IDkey - the keystart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetTagProperty findByC_K_First(long companyId, java.lang.String key, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
companyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByC_K_First(long companyId, java.lang.String key, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty findByC_K_Last(long companyId, java.lang.String key, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
companyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByC_K_Last(long companyId, java.lang.String key, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)null if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty[] findByC_K_PrevAndNext(long tagPropertyId, long companyId, java.lang.String key, OrderByComparator orderByComparator) throws SystemException, NoSuchTagPropertyException
tagPropertyId - the primary key of the current asset tag propertycompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)NoSuchTagPropertyException - if a asset tag property with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByC_K(long companyId,
java.lang.String key)
throws SystemException
companyId - the company IDkey - the keySystemException - if a system exception occurredpublic static int countByC_K(long companyId,
java.lang.String key)
throws SystemException
companyId - the company IDkey - the keySystemException - if a system exception occurredpublic static AssetTagProperty findByT_K(long tagId, java.lang.String key) throws SystemException, NoSuchTagPropertyException
NoSuchTagPropertyException if it could not be found.tagId - the tag IDkey - the keyNoSuchTagPropertyException - if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByT_K(long tagId, java.lang.String key) throws SystemException
null if it could not be found. Uses the finder cache.tagId - the tag IDkey - the keynull if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByT_K(long tagId, java.lang.String key, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.tagId - the tag IDkey - the keyretrieveFromCache - whether to use the finder cachenull if a matching asset tag property could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty removeByT_K(long tagId, java.lang.String key) throws SystemException, NoSuchTagPropertyException
tagId - the tag IDkey - the keySystemException - if a system exception occurredNoSuchTagPropertyExceptionpublic static int countByT_K(long tagId,
java.lang.String key)
throws SystemException
tagId - the tag IDkey - the keySystemException - if a system exception occurredpublic static void cacheResult(AssetTagProperty assetTagProperty)
assetTagProperty - the asset tag propertypublic static void cacheResult(java.util.List<AssetTagProperty> assetTagProperties)
assetTagProperties - the asset tag propertiespublic static AssetTagProperty create(long tagPropertyId)
tagPropertyId - the primary key for the new asset tag propertypublic static AssetTagProperty remove(long tagPropertyId) throws SystemException, NoSuchTagPropertyException
tagPropertyId - the primary key of the asset tag propertyNoSuchTagPropertyException - if a asset tag property with the primary key could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty updateImpl(AssetTagProperty assetTagProperty) throws SystemException
SystemExceptionpublic static AssetTagProperty findByPrimaryKey(long tagPropertyId) throws SystemException, NoSuchTagPropertyException
NoSuchTagPropertyException if it could not be found.tagPropertyId - the primary key of the asset tag propertyNoSuchTagPropertyException - if a asset tag property with the primary key could not be foundSystemException - if a system exception occurredpublic static AssetTagProperty fetchByPrimaryKey(long tagPropertyId) throws SystemException
null if it could not be found.tagPropertyId - the primary key of the asset tag propertynull if a asset tag property with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetTagProperty> findAll() throws SystemException
SystemException - if a system exception occurredpublic static java.util.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. 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 AssetTagPropertyModelImpl. 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.
start - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. 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 AssetTagPropertyModelImpl. 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.
start - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeAll()
throws SystemException
SystemException - if a system exception occurredpublic static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static AssetTagPropertyPersistence getPersistence()
public void setPersistence(AssetTagPropertyPersistence persistence)