|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.asset.service.persistence.AssetVocabularyUtil
public class AssetVocabularyUtil
The persistence utility for the asset vocabulary service. This utility wraps AssetVocabularyPersistenceImpl
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.
Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
AssetVocabularyPersistence
,
AssetVocabularyPersistenceImpl
Constructor Summary | |
---|---|
AssetVocabularyUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(AssetVocabulary assetVocabulary)
Caches the asset vocabulary in the entity cache if it is enabled. |
static void |
cacheResult(List<AssetVocabulary> assetVocabularies)
Caches the asset vocabularies in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(AssetVocabulary assetVocabulary)
|
static int |
countAll()
Counts all the asset vocabularies. |
static int |
countByCompanyId(long companyId)
Counts all the asset vocabularies where companyId = ?. |
static int |
countByG_N(long groupId,
String name)
Counts all the asset vocabularies where groupId = ? and name = ?. |
static int |
countByGroupId(long groupId)
Counts all the asset vocabularies where groupId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Counts all the asset vocabularies where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Counts all the asset vocabularies where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static AssetVocabulary |
create(long vocabularyId)
Creates a new asset vocabulary with the primary key. |
static AssetVocabulary |
fetchByG_N(long groupId,
String name)
Finds the asset vocabulary where groupId = ? and name = ? or returns null if it could not be found. |
static AssetVocabulary |
fetchByG_N(long groupId,
String name,
boolean retrieveFromCache)
Finds the asset vocabulary where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
static AssetVocabulary |
fetchByPrimaryKey(long vocabularyId)
Finds the asset vocabulary with the primary key or returns null if it could not be found. |
static AssetVocabulary |
fetchByUUID_G(String uuid,
long groupId)
Finds the asset vocabulary where uuid = ? and groupId = ? or returns null if it could not be found. |
static AssetVocabulary |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Finds the asset vocabulary where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static int |
filterCountByG_N(long groupId,
String name)
Filters by the user's permissions and counts all the asset vocabularies where groupId = ? and name = ?. |
static int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the asset vocabularies where groupId = ?. |
static List<AssetVocabulary> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the asset vocabularies where groupId = ?. |
static List<AssetVocabulary> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the asset vocabularies where groupId = ?. |
static List<AssetVocabulary> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the asset vocabularies where groupId = ?. |
static List<AssetVocabulary> |
findAll()
Finds all the asset vocabularies. |
static List<AssetVocabulary> |
findAll(int start,
int end)
Finds a range of all the asset vocabularies. |
static List<AssetVocabulary> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset vocabularies. |
static AssetVocabulary |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first asset vocabulary in the ordered set where companyId = ?. |
static AssetVocabulary |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last asset vocabulary in the ordered set where companyId = ?. |
static AssetVocabulary[] |
findByCompanyId_PrevAndNext(long vocabularyId,
long companyId,
OrderByComparator orderByComparator)
Finds the asset vocabularies before and after the current asset vocabulary in the ordered set where companyId = ?. |
static List<AssetVocabulary> |
findByCompanyId(long companyId)
Finds all the asset vocabularies where companyId = ?. |
static List<AssetVocabulary> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the asset vocabularies where companyId = ?. |
static List<AssetVocabulary> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset vocabularies where companyId = ?. |
static AssetVocabulary |
findByG_N(long groupId,
String name)
Finds the asset vocabulary where groupId = ? and name = ? or throws a NoSuchVocabularyException if it could not be found. |
static AssetVocabulary |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first asset vocabulary in the ordered set where groupId = ?. |
static AssetVocabulary |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last asset vocabulary in the ordered set where groupId = ?. |
static AssetVocabulary[] |
findByGroupId_PrevAndNext(long vocabularyId,
long groupId,
OrderByComparator orderByComparator)
Finds the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ?. |
static List<AssetVocabulary> |
findByGroupId(long groupId)
Finds all the asset vocabularies where groupId = ?. |
static List<AssetVocabulary> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the asset vocabularies where groupId = ?. |
static List<AssetVocabulary> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset vocabularies where groupId = ?. |
static AssetVocabulary |
findByPrimaryKey(long vocabularyId)
Finds the asset vocabulary with the primary key or throws a NoSuchVocabularyException if it could not be found. |
static AssetVocabulary |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first asset vocabulary in the ordered set where uuid = ?. |
static AssetVocabulary |
findByUUID_G(String uuid,
long groupId)
Finds the asset vocabulary where uuid = ? and groupId = ? or throws a NoSuchVocabularyException if it could not be found. |
static AssetVocabulary |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last asset vocabulary in the ordered set where uuid = ?. |
static AssetVocabulary[] |
findByUuid_PrevAndNext(long vocabularyId,
String uuid,
OrderByComparator orderByComparator)
Finds the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ?. |
static List<AssetVocabulary> |
findByUuid(String uuid)
Finds all the asset vocabularies where uuid = ?. |
static List<AssetVocabulary> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the asset vocabularies where uuid = ?. |
static List<AssetVocabulary> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset vocabularies where uuid = ?. |
static List<AssetVocabulary> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<AssetVocabulary> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<AssetVocabulary> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static AssetVocabularyPersistence |
getPersistence()
|
static AssetVocabulary |
remove(AssetVocabulary assetVocabulary)
|
static AssetVocabulary |
remove(long vocabularyId)
Removes the asset vocabulary with the primary key from the database. |
static void |
removeAll()
Removes all the asset vocabularies from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the asset vocabularies where companyId = ? from the database. |
static void |
removeByG_N(long groupId,
String name)
Removes the asset vocabulary where groupId = ? and name = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the asset vocabularies where groupId = ? from the database. |
static void |
removeByUUID_G(String uuid,
long groupId)
Removes the asset vocabulary where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the asset vocabularies where uuid = ? from the database. |
void |
setPersistence(AssetVocabularyPersistence persistence)
|
static AssetVocabulary |
update(AssetVocabulary assetVocabulary,
boolean merge)
|
static AssetVocabulary |
update(AssetVocabulary assetVocabulary,
boolean merge,
ServiceContext serviceContext)
|
static AssetVocabulary |
updateImpl(AssetVocabulary assetVocabulary,
boolean merge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssetVocabularyUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AssetVocabulary assetVocabulary)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<AssetVocabulary> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<AssetVocabulary> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<AssetVocabulary> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AssetVocabulary remove(AssetVocabulary assetVocabulary) throws SystemException
SystemException
BasePersistence.remove(com.liferay.portal.model.BaseModel)
public static AssetVocabulary update(AssetVocabulary assetVocabulary, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static AssetVocabulary update(AssetVocabulary assetVocabulary, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(AssetVocabulary assetVocabulary)
assetVocabulary
- the asset vocabulary to cachepublic static void cacheResult(List<AssetVocabulary> assetVocabularies)
assetVocabularies
- the asset vocabularies to cachepublic static AssetVocabulary create(long vocabularyId)
vocabularyId
- the primary key for the new asset vocabulary
public static AssetVocabulary remove(long vocabularyId) throws SystemException, NoSuchVocabularyException
vocabularyId
- the primary key of the asset vocabulary to remove
NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary updateImpl(AssetVocabulary assetVocabulary, boolean merge) throws SystemException
SystemException
public static AssetVocabulary findByPrimaryKey(long vocabularyId) throws SystemException, NoSuchVocabularyException
NoSuchVocabularyException
if it could not be found.
vocabularyId
- the primary key of the asset vocabulary to find
NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary fetchByPrimaryKey(long vocabularyId) throws SystemException
null
if it could not be found.
vocabularyId
- the primary key of the asset vocabulary to find
null
if a asset vocabulary with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> findByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> findByUuid(String uuid, 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.
uuid
- the uuid to search withstart
- the lower bound of the range of asset vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> findByUuid(String uuid, 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.
uuid
- the uuid to search withstart
- the lower bound of the range of asset vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static AssetVocabulary findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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.
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchVocabularyException
- if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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.
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchVocabularyException
- if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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.
vocabularyId
- the primary key of the current asset vocabularyuuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchVocabularyException
NoSuchVocabularyException
if it could not be found.
uuid
- the uuid to search withgroupId
- the group id to search with
NoSuchVocabularyException
- if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> findByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> findByGroupId(long groupId, 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.
groupId
- the group id to search withstart
- the lower bound of the range of asset vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> findByGroupId(long groupId, 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.
groupId
- the group id to search withstart
- the lower bound of the range of asset vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static AssetVocabulary findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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.
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchVocabularyException
- if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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.
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchVocabularyException
- if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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.
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> filterFindByGroupId(long groupId, 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.
groupId
- the group id to search withstart
- the lower bound of the range of asset vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> filterFindByGroupId(long groupId, 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.
groupId
- the group id to search withstart
- the lower bound of the range of asset vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> findByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> 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 vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> 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 vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static AssetVocabulary findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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
NoSuchVocabularyException
- if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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
NoSuchVocabularyException
- if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchVocabularyException
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.
vocabularyId
- the primary key of the current asset vocabularycompanyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary findByG_N(long groupId, String name) throws SystemException, NoSuchVocabularyException
NoSuchVocabularyException
if it could not be found.
groupId
- the group id to search withname
- the name to search with
NoSuchVocabularyException
- if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary fetchByG_N(long groupId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group id to search withname
- the name to search with
null
if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static AssetVocabulary fetchByG_N(long groupId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group id to search withname
- the name to search with
null
if a matching asset vocabulary could not be found
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> 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 vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<AssetVocabulary> 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 vocabularies to returnend
- the upper bound of the range of asset vocabularies to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static void removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchVocabularyException
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurred
NoSuchVocabularyException
public static void removeByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static void removeByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic static void removeByG_N(long groupId, String name) throws SystemException, NoSuchVocabularyException
groupId
- the group id to search withname
- the name to search with
SystemException
- if a system exception occurred
NoSuchVocabularyException
public static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int countByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int filterCountByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int countByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic static int countByG_N(long groupId, String name) throws SystemException
groupId
- the group id to search withname
- the name to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_N(long groupId, String name) throws SystemException
groupId
- the group id to search withname
- the name to search with
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static AssetVocabularyPersistence getPersistence()
public void setPersistence(AssetVocabularyPersistence persistence)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |