|
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.AssetCategoryUtil
public class AssetCategoryUtil
The persistence utility for the asset category service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
AssetCategoryPersistence,
AssetCategoryPersistenceImpl| Constructor Summary | |
|---|---|
AssetCategoryUtil()
|
|
| Method Summary | |
|---|---|
static void |
addAssetEntries(long pk,
List<AssetEntry> assetEntries)
Adds an association between the asset category and the asset entries. |
static void |
addAssetEntries(long pk,
long[] assetEntryPKs)
Adds an association between the asset category and the asset entries. |
static void |
addAssetEntry(long pk,
AssetEntry assetEntry)
Adds an association between the asset category and the asset entry. |
static void |
addAssetEntry(long pk,
long assetEntryPK)
Adds an association between the asset category and the asset entry. |
static void |
cacheResult(AssetCategory assetCategory)
Caches the asset category in the entity cache if it is enabled. |
static void |
cacheResult(List<AssetCategory> assetCategories)
Caches the asset categories in the entity cache if it is enabled. |
static void |
clearAssetEntries(long pk)
Clears all associations between the asset category and its asset entries. |
static void |
clearCache()
|
static void |
clearCache(AssetCategory assetCategory)
|
static boolean |
containsAssetEntries(long pk)
Determines whether the asset category has any asset entries associated with it. |
static boolean |
containsAssetEntry(long pk,
long assetEntryPK)
Determines whether the asset entry is associated with the asset category. |
static int |
countAll()
Counts all the asset categories. |
static int |
countByGroupId(long groupId)
Counts all the asset categories where groupId = ?. |
static int |
countByN_V(String name,
long vocabularyId)
Counts all the asset categories where name = ? and vocabularyId = ?. |
static int |
countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Counts all the asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?. |
static int |
countByP_N(long parentCategoryId,
String name)
Counts all the asset categories where parentCategoryId = ? and name = ?. |
static int |
countByP_V(long parentCategoryId,
long vocabularyId)
Counts all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
static int |
countByParentCategoryId(long parentCategoryId)
Counts all the asset categories where parentCategoryId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Counts all the asset categories where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Counts all the asset categories where uuid = ?. |
static int |
countByVocabularyId(long vocabularyId)
Counts all the asset categories where vocabularyId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static AssetCategory |
create(long categoryId)
Creates a new asset category with the primary key. |
static AssetCategory |
fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Finds the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found. |
static AssetCategory |
fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId,
boolean retrieveFromCache)
Finds the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found, optionally using the finder cache. |
static AssetCategory |
fetchByPrimaryKey(long categoryId)
Finds the asset category with the primary key or returns null if it could not be found. |
static AssetCategory |
fetchByUUID_G(String uuid,
long groupId)
Finds the asset category where uuid = ? and groupId = ? or returns null if it could not be found. |
static AssetCategory |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Finds the asset category where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the asset categories where groupId = ?. |
static List<AssetCategory> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the asset categories where groupId = ?. |
static List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the asset categories where groupId = ?. |
static List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the asset categories where groupId = ?. |
static List<AssetCategory> |
findAll()
Finds all the asset categories. |
static List<AssetCategory> |
findAll(int start,
int end)
Finds a range of all the asset categories. |
static List<AssetCategory> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset categories. |
static AssetCategory |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first asset category in the ordered set where groupId = ?. |
static AssetCategory |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last asset category in the ordered set where groupId = ?. |
static AssetCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
Finds the asset categories before and after the current asset category in the ordered set where groupId = ?. |
static List<AssetCategory> |
findByGroupId(long groupId)
Finds all the asset categories where groupId = ?. |
static List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the asset categories where groupId = ?. |
static List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset categories where groupId = ?. |
static AssetCategory |
findByN_V_First(String name,
long vocabularyId,
OrderByComparator orderByComparator)
Finds the first asset category in the ordered set where name = ? and vocabularyId = ?. |
static AssetCategory |
findByN_V_Last(String name,
long vocabularyId,
OrderByComparator orderByComparator)
Finds the last asset category in the ordered set where name = ? and vocabularyId = ?. |
static AssetCategory[] |
findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Finds the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?. |
static List<AssetCategory> |
findByN_V(String name,
long vocabularyId)
Finds all the asset categories where name = ? and vocabularyId = ?. |
static List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end)
Finds a range of all the asset categories where name = ? and vocabularyId = ?. |
static List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset categories where name = ? and vocabularyId = ?. |
static AssetCategory |
findByP_N_First(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
Finds the first asset category in the ordered set where parentCategoryId = ? and name = ?. |
static AssetCategory |
findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
Finds the last asset category in the ordered set where parentCategoryId = ? and name = ?. |
static AssetCategory[] |
findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
OrderByComparator orderByComparator)
Finds the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?. |
static AssetCategory |
findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Finds the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a NoSuchCategoryException if it could not be found. |
static List<AssetCategory> |
findByP_N(long parentCategoryId,
String name)
Finds all the asset categories where parentCategoryId = ? and name = ?. |
static List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end)
Finds a range of all the asset categories where parentCategoryId = ? and name = ?. |
static List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset categories where parentCategoryId = ? and name = ?. |
static AssetCategory |
findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Finds the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
static AssetCategory |
findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Finds the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
static AssetCategory[] |
findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Finds the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
static List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId)
Finds all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
static List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
Finds a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
static List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
static AssetCategory |
findByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
Finds the first asset category in the ordered set where parentCategoryId = ?. |
static AssetCategory |
findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
Finds the last asset category in the ordered set where parentCategoryId = ?. |
static AssetCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator orderByComparator)
Finds the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?. |
static List<AssetCategory> |
findByParentCategoryId(long parentCategoryId)
Finds all the asset categories where parentCategoryId = ?. |
static List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end)
Finds a range of all the asset categories where parentCategoryId = ?. |
static List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset categories where parentCategoryId = ?. |
static AssetCategory |
findByPrimaryKey(long categoryId)
Finds the asset category with the primary key or throws a NoSuchCategoryException if it could not be found. |
static AssetCategory |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first asset category in the ordered set where uuid = ?. |
static AssetCategory |
findByUUID_G(String uuid,
long groupId)
Finds the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found. |
static AssetCategory |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last asset category in the ordered set where uuid = ?. |
static AssetCategory[] |
findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator orderByComparator)
Finds the asset categories before and after the current asset category in the ordered set where uuid = ?. |
static List<AssetCategory> |
findByUuid(String uuid)
Finds all the asset categories where uuid = ?. |
static List<AssetCategory> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the asset categories where uuid = ?. |
static List<AssetCategory> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset categories where uuid = ?. |
static AssetCategory |
findByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
Finds the first asset category in the ordered set where vocabularyId = ?. |
static AssetCategory |
findByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
Finds the last asset category in the ordered set where vocabularyId = ?. |
static AssetCategory[] |
findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Finds the asset categories before and after the current asset category in the ordered set where vocabularyId = ?. |
static List<AssetCategory> |
findByVocabularyId(long vocabularyId)
Finds all the asset categories where vocabularyId = ?. |
static List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end)
Finds a range of all the asset categories where vocabularyId = ?. |
static List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset categories where vocabularyId = ?. |
static List<AssetCategory> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<AssetCategory> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<AssetCategory> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static List<AssetEntry> |
getAssetEntries(long pk)
Gets all the asset entries associated with the asset category. |
static List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
Gets a range of all the asset entries associated with the asset category. |
static List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the asset entries associated with the asset category. |
static int |
getAssetEntriesSize(long pk)
Gets the number of asset entries associated with the asset category. |
static AssetCategoryPersistence |
getPersistence()
|
static void |
rebuildTree(long groupId,
boolean force)
Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm. |
static AssetCategory |
remove(AssetCategory assetCategory)
|
static AssetCategory |
remove(long categoryId)
Removes the asset category with the primary key from the database. |
static void |
removeAll()
Removes all the asset categories from the database. |
static void |
removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
Removes the association between the asset category and the asset entries. |
static void |
removeAssetEntries(long pk,
long[] assetEntryPKs)
Removes the association between the asset category and the asset entries. |
static void |
removeAssetEntry(long pk,
AssetEntry assetEntry)
Removes the association between the asset category and the asset entry. |
static void |
removeAssetEntry(long pk,
long assetEntryPK)
Removes the association between the asset category and the asset entry. |
static void |
removeByGroupId(long groupId)
Removes all the asset categories where groupId = ? from the database. |
static void |
removeByN_V(String name,
long vocabularyId)
Removes all the asset categories where name = ? and vocabularyId = ? from the database. |
static void |
removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database. |
static void |
removeByP_N(long parentCategoryId,
String name)
Removes all the asset categories where parentCategoryId = ? and name = ? from the database. |
static void |
removeByP_V(long parentCategoryId,
long vocabularyId)
Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database. |
static void |
removeByParentCategoryId(long parentCategoryId)
Removes all the asset categories where parentCategoryId = ? from the database. |
static void |
removeByUUID_G(String uuid,
long groupId)
Removes the asset category where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the asset categories where uuid = ? from the database. |
static void |
removeByVocabularyId(long vocabularyId)
Removes all the asset categories where vocabularyId = ? from the database. |
static void |
setAssetEntries(long pk,
List<AssetEntry> assetEntries)
Sets the asset entries associated with the asset category, removing and adding associations as necessary. |
static void |
setAssetEntries(long pk,
long[] assetEntryPKs)
Sets the asset entries associated with the asset category, removing and adding associations as necessary. |
void |
setPersistence(AssetCategoryPersistence persistence)
|
static AssetCategory |
update(AssetCategory assetCategory,
boolean merge)
|
static AssetCategory |
update(AssetCategory assetCategory,
boolean merge,
ServiceContext serviceContext)
|
static AssetCategory |
updateImpl(AssetCategory assetCategory,
boolean merge)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetCategoryUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(AssetCategory assetCategory)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AssetCategory remove(AssetCategory assetCategory)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static AssetCategory update(AssetCategory assetCategory,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static AssetCategory update(AssetCategory assetCategory,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(AssetCategory assetCategory)
assetCategory - the asset category to cachepublic static void cacheResult(List<AssetCategory> assetCategories)
assetCategories - the asset categories to cachepublic static AssetCategory create(long categoryId)
categoryId - the primary key for the new asset category
public static AssetCategory remove(long categoryId)
throws SystemException,
NoSuchCategoryException
categoryId - the primary key of the asset category to remove
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static AssetCategory updateImpl(AssetCategory assetCategory,
boolean merge)
throws SystemException
SystemException
public static AssetCategory findByPrimaryKey(long categoryId)
throws SystemException,
NoSuchCategoryException
NoSuchCategoryException if it could not be found.
categoryId - the primary key of the asset category to find
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static AssetCategory fetchByPrimaryKey(long categoryId)
throws SystemException
null if it could not be found.
categoryId - the primary key of the asset category to find
null if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetCategory> findByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public static List<AssetCategory> 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 categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> 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 categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetCategory findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory[] findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
categoryId - the primary key of the current asset categoryuuid - the uuid to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static AssetCategory findByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchCategoryException
NoSuchCategoryException if it could not be found.
uuid - the uuid to search withgroupId - the group id to search with
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory 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 category could not be found
SystemException - if a system exception occurred
public static AssetCategory 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 category could not be found
SystemException - if a system exception occurred
public static List<AssetCategory> findByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static List<AssetCategory> 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 categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> 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 categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetCategory findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
categoryId - the primary key of the current asset categorygroupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetCategory> filterFindByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static List<AssetCategory> 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 categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> 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 categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static List<AssetCategory> findByParentCategoryId(long parentCategoryId)
throws SystemException
parentCategoryId - the parent category id to search with
SystemException - if a system exception occurred
public static List<AssetCategory> findByParentCategoryId(long parentCategoryId,
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.
parentCategoryId - the parent category id to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> findByParentCategoryId(long parentCategoryId,
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.
parentCategoryId - the parent category id to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetCategory findByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
parentCategoryId - the parent category id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
parentCategoryId - the parent category id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
categoryId - the primary key of the current asset categoryparentCategoryId - the parent category id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetCategory> findByVocabularyId(long vocabularyId)
throws SystemException
vocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static List<AssetCategory> findByVocabularyId(long vocabularyId,
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.
vocabularyId - the vocabulary id to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> findByVocabularyId(long vocabularyId,
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.
vocabularyId - the vocabulary id to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetCategory findByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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 vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory findByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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 vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
categoryId - the primary key of the current asset categoryvocabularyId - the vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetCategory> findByP_N(long parentCategoryId,
String name)
throws SystemException
parentCategoryId - the parent category id to search withname - the name to search with
SystemException - if a system exception occurred
public static List<AssetCategory> findByP_N(long parentCategoryId,
String name,
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.
parentCategoryId - the parent category id to search withname - the name to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> findByP_N(long parentCategoryId,
String name,
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.
parentCategoryId - the parent category id to search withname - the name to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetCategory findByP_N_First(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
parentCategoryId - the parent category id to search withname - the name to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
parentCategoryId - the parent category id to search withname - the name to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory[] findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
categoryId - the primary key of the current asset categoryparentCategoryId - the parent category id to search withname - the name to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
parentCategoryId - the parent category id to search withvocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
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.
parentCategoryId - the parent category id to search withvocabularyId - the vocabulary id to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
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.
parentCategoryId - the parent category id to search withvocabularyId - the vocabulary id to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetCategory findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
parentCategoryId - the parent category id to search withvocabularyId - the vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
parentCategoryId - the parent category id to search withvocabularyId - the vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory[] findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
categoryId - the primary key of the current asset categoryparentCategoryId - the parent category id to search withvocabularyId - the vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static List<AssetCategory> findByN_V(String name,
long vocabularyId)
throws SystemException
name - the name to search withvocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static List<AssetCategory> findByN_V(String name,
long vocabularyId,
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.
name - the name to search withvocabularyId - the vocabulary id to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> findByN_V(String name,
long vocabularyId,
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.
name - the name to search withvocabularyId - the vocabulary id to search withstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static AssetCategory findByN_V_First(String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
name - the name to search withvocabularyId - the vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory findByN_V_Last(String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
name - the name to search withvocabularyId - the vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory[] findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchCategoryException
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.
categoryId - the primary key of the current asset categoryname - the name to search withvocabularyId - the vocabulary id to search withorderByComparator - the comparator to order the set by
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public static AssetCategory findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws SystemException,
NoSuchCategoryException
NoSuchCategoryException if it could not be found.
parentCategoryId - the parent category id to search withname - the name to search withvocabularyId - the vocabulary id to search with
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
null if it could not be found. Uses the finder cache.
parentCategoryId - the parent category id to search withname - the name to search withvocabularyId - the vocabulary id to search with
null if a matching asset category could not be found
SystemException - if a system exception occurred
public static AssetCategory fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
parentCategoryId - the parent category id to search withname - the name to search withvocabularyId - the vocabulary id to search with
null if a matching asset category could not be found
SystemException - if a system exception occurred
public static List<AssetCategory> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<AssetCategory> 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 categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetCategory> 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 categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public static void removeByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchCategoryException
uuid - the uuid to search withgroupId - the group id to search with
SystemException - if a system exception occurred
NoSuchCategoryException
public static void removeByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static void removeByParentCategoryId(long parentCategoryId)
throws SystemException
parentCategoryId - the parent category id to search with
SystemException - if a system exception occurred
public static void removeByVocabularyId(long vocabularyId)
throws SystemException
vocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static void removeByP_N(long parentCategoryId,
String name)
throws SystemException
parentCategoryId - the parent category id to search withname - the name to search with
SystemException - if a system exception occurred
public static void removeByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
parentCategoryId - the parent category id to search withvocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static void removeByN_V(String name,
long vocabularyId)
throws SystemException
name - the name to search withvocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static void removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws SystemException,
NoSuchCategoryException
parentCategoryId - the parent category id to search withname - the name to search withvocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
NoSuchCategoryException
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public 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 occurred
public static int countByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int countByParentCategoryId(long parentCategoryId)
throws SystemException
parentCategoryId - the parent category id to search with
SystemException - if a system exception occurred
public static int countByVocabularyId(long vocabularyId)
throws SystemException
vocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static int countByP_N(long parentCategoryId,
String name)
throws SystemException
parentCategoryId - the parent category id to search withname - the name to search with
SystemException - if a system exception occurred
public static int countByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
parentCategoryId - the parent category id to search withvocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static int countByN_V(String name,
long vocabularyId)
throws SystemException
name - the name to search withvocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static int countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
parentCategoryId - the parent category id to search withname - the name to search withvocabularyId - the vocabulary id to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurred
public static List<AssetEntry> getAssetEntries(long pk)
throws SystemException
pk - the primary key of the asset category to get the associated asset entries for
SystemException - if a system exception occurred
public static List<AssetEntry> getAssetEntries(long pk,
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.
pk - the primary key of the asset category to get the associated asset entries forstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)
SystemException - if a system exception occurred
public static List<AssetEntry> getAssetEntries(long pk,
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.
pk - the primary key of the asset category to get the associated asset entries forstart - the lower bound of the range of asset categories to returnend - the upper bound of the range of asset categories to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static int getAssetEntriesSize(long pk)
throws SystemException
pk - the primary key of the asset category to get the number of associated asset entries for
SystemException - if a system exception occurred
public static boolean containsAssetEntry(long pk,
long assetEntryPK)
throws SystemException
pk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
SystemException - if a system exception occurred
public static boolean containsAssetEntries(long pk)
throws SystemException
pk - the primary key of the asset category to check for associations with asset entries
SystemException - if a system exception occurred
public static void addAssetEntry(long pk,
long assetEntryPK)
throws SystemException
pk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
SystemException - if a system exception occurred
public static void addAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
pk - the primary key of the asset categoryassetEntry - the asset entry
SystemException - if a system exception occurred
public static void addAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
pk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries
SystemException - if a system exception occurred
public static void addAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
pk - the primary key of the asset categoryassetEntries - the asset entries
SystemException - if a system exception occurred
public static void clearAssetEntries(long pk)
throws SystemException
pk - the primary key of the asset category to clear the associated asset entries from
SystemException - if a system exception occurred
public static void removeAssetEntry(long pk,
long assetEntryPK)
throws SystemException
pk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
SystemException - if a system exception occurred
public static void removeAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
pk - the primary key of the asset categoryassetEntry - the asset entry
SystemException - if a system exception occurred
public static void removeAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
pk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries
SystemException - if a system exception occurred
public static void removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
pk - the primary key of the asset categoryassetEntries - the asset entries
SystemException - if a system exception occurred
public static void setAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
pk - the primary key of the asset category to set the associations forassetEntryPKs - the primary keys of the asset entries to be associated with the asset category
SystemException - if a system exception occurred
public static void setAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
pk - the primary key of the asset category to set the associations forassetEntries - the asset entries to be associated with the asset category
SystemException - if a system exception occurred
public static void rebuildTree(long groupId,
boolean force)
throws SystemException
Only call this method if the tree has become stale through operations other than normal CRUD. Under normal circumstances the tree is automatically rebuilt whenver necessary.
groupId - the id of the scope to rebuild the tree forforce - whether to force the rebuild even if the tree is not stale
SystemExceptionpublic static AssetCategoryPersistence getPersistence()
public void setPersistence(AssetCategoryPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||