@ProviderType
public class AssetCategoryUtil
extends java.lang.Object
AssetCategoryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
AssetCategoryPersistence,
AssetCategoryPersistenceImpl| Constructor and Description |
|---|
AssetCategoryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAssetEntries(long pk,
java.util.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(java.util.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)
Returns
true if the asset category has any asset entries associated with it. |
static boolean |
containsAssetEntry(long pk,
long assetEntryPK)
Returns
true if the asset entry is associated with the asset category. |
static int |
countAll()
Returns the number of asset categories.
|
static int |
countByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId)
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static int |
countByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds)
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
static int |
countByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
Returns the number of asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static int |
countByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static int |
countByG_V(long groupId,
long vocabularyId)
Returns the number of asset categories where groupId = ? and vocabularyId = ?.
|
static int |
countByG_V(long groupId,
long[] vocabularyIds)
Returns the number of asset categories where groupId = ? and vocabularyId = any ?.
|
static int |
countByGroupId(long groupId)
Returns the number of asset categories where groupId = ?.
|
static int |
countByN_V(java.lang.String name,
long vocabularyId)
Returns the number of asset categories where name = ? and vocabularyId = ?.
|
static int |
countByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static int |
countByP_N(long parentCategoryId,
java.lang.String name)
Returns the number of asset categories where parentCategoryId = ? and name = ?.
|
static int |
countByP_V(long parentCategoryId,
long vocabularyId)
Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.
|
static int |
countByParentCategoryId(long parentCategoryId)
Returns the number of asset categories where parentCategoryId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of asset categories where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of asset categories where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of asset categories where uuid = ?.
|
static int |
countByVocabularyId(long vocabularyId)
Returns the number of asset categories where vocabularyId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static AssetCategory |
create(long categoryId)
Creates a new asset category with the primary key.
|
static AssetCategory |
fetchByG_LikeN_V_First(long groupId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static AssetCategory |
fetchByG_LikeN_V_Last(long groupId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static AssetCategory |
fetchByG_P_N_V_First(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByG_P_N_V_Last(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByG_V_First(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ?.
|
static AssetCategory |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ?.
|
static AssetCategory |
fetchByN_V_First(java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByN_V_Last(java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByP_N_First(long parentCategoryId,
java.lang.String name,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
|
static AssetCategory |
fetchByP_N_Last(long parentCategoryId,
java.lang.String name,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
|
static AssetCategory |
fetchByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
Returns 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,
java.lang.String name,
long vocabularyId,
boolean retrieveFromCache)
Returns 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 |
fetchByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory |
fetchByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?.
|
static AssetCategory |
fetchByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?.
|
static AssetCategory |
fetchByPrimaryKey(long categoryId)
Returns the asset category with the primary key or returns
null if it could not be found. |
static AssetCategory |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
|
static AssetCategory |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
|
static AssetCategory |
fetchByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ?.
|
static AssetCategory |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or returns
null if it could not be found. |
static AssetCategory |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the asset category where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AssetCategory |
fetchByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ?.
|
static AssetCategory |
fetchByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?.
|
static AssetCategory |
fetchByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?.
|
static int |
filterCountByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static int |
filterCountByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds)
Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
static int |
filterCountByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static int |
filterCountByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static int |
filterCountByG_V(long groupId,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
|
static int |
filterCountByG_V(long groupId,
long[] vocabularyIds)
Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of asset categories that the user has permission to view where groupId = ?.
|
static AssetCategory[] |
filterFindByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds)
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static AssetCategory[] |
filterFindByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static AssetCategory[] |
filterFindByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory[] |
filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_V(long groupId,
long[] vocabularyIds)
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.
|
static AssetCategory[] |
filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?.
|
static java.util.List<AssetCategory> |
filterFindByGroupId(long groupId)
Returns all the asset categories that the user has permission to view where groupId = ?.
|
static java.util.List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ?.
|
static java.util.List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.
|
static java.util.List<AssetCategory> |
findAll()
Returns all the asset categories.
|
static java.util.List<AssetCategory> |
findAll(int start,
int end)
Returns a range of all the asset categories.
|
static java.util.List<AssetCategory> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories.
|
static AssetCategory |
findByG_LikeN_V_First(long groupId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static AssetCategory |
findByG_LikeN_V_Last(long groupId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static AssetCategory[] |
findByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId)
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds)
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
findByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
findByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
findByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
static AssetCategory |
findByG_P_N_V_First(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static AssetCategory |
findByG_P_N_V_Last(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static AssetCategory[] |
findByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
Returns all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
static AssetCategory |
findByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory |
findByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory[] |
findByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory |
findByG_V_First(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
static AssetCategory |
findByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
static AssetCategory[] |
findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId)
Returns all the asset categories where groupId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds)
Returns all the asset categories where groupId = ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = any ?.
|
static java.util.List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.
|
static AssetCategory |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ?.
|
static AssetCategory |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ?.
|
static AssetCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.
|
static java.util.List<AssetCategory> |
findByGroupId(long groupId)
Returns all the asset categories where groupId = ?.
|
static java.util.List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset categories where groupId = ?.
|
static java.util.List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ?.
|
static AssetCategory |
findByN_V_First(java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
|
static AssetCategory |
findByN_V_Last(java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
|
static AssetCategory[] |
findByN_V_PrevAndNext(long categoryId,
java.lang.String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByN_V(java.lang.String name,
long vocabularyId)
Returns all the asset categories where name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByN_V(java.lang.String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where name = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByN_V(java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.
|
static AssetCategory |
findByP_N_First(long parentCategoryId,
java.lang.String name,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
|
static AssetCategory |
findByP_N_Last(long parentCategoryId,
java.lang.String name,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
|
static AssetCategory[] |
findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
java.lang.String name,
OrderByComparator orderByComparator)
Returns 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,
java.lang.String name,
long vocabularyId)
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a
NoSuchCategoryException if it could not be found. |
static java.util.List<AssetCategory> |
findByP_N(long parentCategoryId,
java.lang.String name)
Returns all the asset categories where parentCategoryId = ? and name = ?.
|
static java.util.List<AssetCategory> |
findByP_N(long parentCategoryId,
java.lang.String name,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and name = ?.
|
static java.util.List<AssetCategory> |
findByP_N(long parentCategoryId,
java.lang.String name,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.
|
static AssetCategory |
findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory |
findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns 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)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId)
Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
static AssetCategory |
findByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?.
|
static AssetCategory |
findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?.
|
static AssetCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.
|
static java.util.List<AssetCategory> |
findByParentCategoryId(long parentCategoryId)
Returns all the asset categories where parentCategoryId = ?.
|
static java.util.List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ?.
|
static java.util.List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ?.
|
static AssetCategory |
findByPrimaryKey(long categoryId)
Returns the asset category with the primary key or throws a
NoSuchCategoryException if it could not be found. |
static AssetCategory |
findByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
|
static AssetCategory |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
|
static AssetCategory[] |
findByUuid_C_PrevAndNext(long categoryId,
java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<AssetCategory> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the asset categories where uuid = ? and companyId = ?.
|
static java.util.List<AssetCategory> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset categories where uuid = ? and companyId = ?.
|
static java.util.List<AssetCategory> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
|
static AssetCategory |
findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ?.
|
static AssetCategory |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or throws a
NoSuchCategoryException if it could not be found. |
static AssetCategory |
findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ?.
|
static AssetCategory[] |
findByUuid_PrevAndNext(long categoryId,
java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.
|
static java.util.List<AssetCategory> |
findByUuid(java.lang.String uuid)
Returns all the asset categories where uuid = ?.
|
static java.util.List<AssetCategory> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the asset categories where uuid = ?.
|
static java.util.List<AssetCategory> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where uuid = ?.
|
static AssetCategory |
findByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?.
|
static AssetCategory |
findByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?.
|
static AssetCategory[] |
findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByVocabularyId(long vocabularyId)
Returns all the asset categories where vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where vocabularyId = ?.
|
static java.util.List<AssetCategory> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<AssetCategory> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AssetCategory> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator) |
static java.util.List<AssetEntry> |
getAssetEntries(long pk)
Returns all the asset entries associated with the asset category.
|
static java.util.List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
Returns a range of all the asset entries associated with the asset category.
|
static java.util.List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries associated with the asset category.
|
static int |
getAssetEntriesSize(long pk)
Returns 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(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,
java.util.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 |
removeByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId)
Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database.
|
static void |
removeByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
Removes all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
|
static void |
removeByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.
|
static void |
removeByG_V(long groupId,
long vocabularyId)
Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the asset categories where groupId = ? from the database.
|
static void |
removeByN_V(java.lang.String name,
long vocabularyId)
Removes all the asset categories where name = ? and vocabularyId = ? from the database.
|
static AssetCategory |
removeByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
|
static void |
removeByP_N(long parentCategoryId,
java.lang.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_C(java.lang.String uuid,
long companyId)
Removes all the asset categories where uuid = ? and companyId = ? from the database.
|
static AssetCategory |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the asset category where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.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,
java.util.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)
Deprecated.
As of 6.2.0
|
static void |
setRebuildTreeEnabled(boolean rebuildTreeEnabled) |
static AssetCategory |
update(AssetCategory assetCategory) |
static AssetCategory |
update(AssetCategory assetCategory,
ServiceContext serviceContext) |
static AssetCategory |
updateImpl(AssetCategory assetCategory) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(AssetCategory assetCategory)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
public static java.util.List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
public static AssetCategory update(AssetCategory assetCategory) throws SystemException
public static AssetCategory update(AssetCategory assetCategory, ServiceContext serviceContext) throws SystemException
public static java.util.List<AssetCategory> findByUuid(java.lang.String uuid) throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByUuid(java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByUuid(java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByUuid_PrevAndNext(long categoryId, java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categoryuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static int countByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static AssetCategory findByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchCategoryException
NoSuchCategoryException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByUUID_G(java.lang.String uuid, long groupId) throws SystemException
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cachenull if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory removeByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchCategoryException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredNoSuchCategoryExceptionpublic static int countByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByUuid_C(java.lang.String uuid, long companyId) throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByUuid_C(java.lang.String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByUuid_C_PrevAndNext(long categoryId, java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categoryuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static int countByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int countByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByParentCategoryId(long parentCategoryId) throws SystemException
parentCategoryId - the parent category IDSystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
parentCategoryId - the parent category IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
parentCategoryId - the parent category IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByParentCategoryId_First(long parentCategoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
parentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByParentCategoryId_First(long parentCategoryId, OrderByComparator orderByComparator) throws SystemException
parentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByParentCategoryId_Last(long parentCategoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
parentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByParentCategoryId_Last(long parentCategoryId, OrderByComparator orderByComparator) throws SystemException
parentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByParentCategoryId(long parentCategoryId)
throws SystemException
parentCategoryId - the parent category IDSystemException - if a system exception occurredpublic static int countByParentCategoryId(long parentCategoryId)
throws SystemException
parentCategoryId - the parent category IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByVocabularyId(long vocabularyId) throws SystemException
vocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
vocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
vocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByVocabularyId_First(long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
vocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByVocabularyId_First(long vocabularyId, OrderByComparator orderByComparator) throws SystemException
vocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByVocabularyId_Last(long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
vocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByVocabularyId_Last(long vocabularyId, OrderByComparator orderByComparator) throws SystemException
vocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categoryvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByVocabularyId(long vocabularyId)
throws SystemException
vocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByVocabularyId(long vocabularyId)
throws SystemException
vocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_V(long groupId, long vocabularyId) throws SystemException
groupId - the group IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_V(long groupId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_V(long groupId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByG_V_First(long groupId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByG_V_First(long groupId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByG_V_Last(long groupId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByG_V_Last(long groupId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId) throws SystemException
groupId - the group IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_V(long groupId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_V(long groupId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds) throws SystemException
groupId - the group IDvocabularyIds - the vocabulary IDsSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyIds - the vocabulary IDsSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeByG_V(long groupId,
long vocabularyId)
throws SystemException
groupId - the group IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByG_V(long groupId,
long vocabularyId)
throws SystemException
groupId - the group IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByG_V(long groupId,
long[] vocabularyIds)
throws SystemException
groupId - the group IDvocabularyIds - the vocabulary IDsSystemException - if a system exception occurredpublic static int filterCountByG_V(long groupId,
long vocabularyId)
throws SystemException
groupId - the group IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int filterCountByG_V(long groupId,
long[] vocabularyIds)
throws SystemException
groupId - the group IDvocabularyIds - the vocabulary IDsSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByP_N(long parentCategoryId, java.lang.String name) throws SystemException
parentCategoryId - the parent category IDname - the nameSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByP_N(long parentCategoryId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
parentCategoryId - the parent category IDname - the namestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByP_N(long parentCategoryId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
parentCategoryId - the parent category IDname - the namestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByP_N_First(long parentCategoryId, java.lang.String name, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
parentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByP_N_First(long parentCategoryId, java.lang.String name, OrderByComparator orderByComparator) throws SystemException
parentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByP_N_Last(long parentCategoryId, java.lang.String name, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
parentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByP_N_Last(long parentCategoryId, java.lang.String name, OrderByComparator orderByComparator) throws SystemException
parentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, java.lang.String name, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByP_N(long parentCategoryId,
java.lang.String name)
throws SystemException
parentCategoryId - the parent category IDname - the nameSystemException - if a system exception occurredpublic static int countByP_N(long parentCategoryId,
java.lang.String name)
throws SystemException
parentCategoryId - the parent category IDname - the nameSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId) throws SystemException
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
parentCategoryId - the parent category IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByN_V(java.lang.String name, long vocabularyId) throws SystemException
name - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByN_V(java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
name - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByN_V(java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
name - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByN_V_First(java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
name - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByN_V_First(java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
name - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByN_V_Last(java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
name - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByN_V_Last(java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
name - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByN_V_PrevAndNext(long categoryId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categoryname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByN_V(java.lang.String name,
long vocabularyId)
throws SystemException
name - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByN_V(java.lang.String name,
long vocabularyId)
throws SystemException
name - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId) throws SystemException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_P_V(long groupId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_P_V(long groupId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId) throws SystemException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_P_V(long groupId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_P_V(long groupId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
throws SystemException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
throws SystemException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int filterCountByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
throws SystemException
groupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_LikeN_V(long groupId, java.lang.String name, long vocabularyId) throws SystemException
groupId - the group IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_LikeN_V(long groupId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_LikeN_V(long groupId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByG_LikeN_V_First(long groupId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByG_LikeN_V_First(long groupId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByG_LikeN_V_Last(long groupId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByG_LikeN_V_Last(long groupId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_LikeN_V(long groupId, java.lang.String name, long vocabularyId) throws SystemException
groupId - the group IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_LikeN_V(long groupId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_LikeN_V(long groupId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_LikeN_V(long groupId, java.lang.String name, long[] vocabularyIds) throws SystemException
groupId - the group IDname - the namevocabularyIds - the vocabulary IDsSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_LikeN_V(long groupId, java.lang.String name, long[] vocabularyIds, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_LikeN_V(long groupId, java.lang.String name, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_LikeN_V(long groupId, java.lang.String name, long[] vocabularyIds) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyIds - the vocabulary IDsSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_LikeN_V(long groupId, java.lang.String name, long[] vocabularyIds, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_LikeN_V(long groupId, java.lang.String name, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId)
throws SystemException
groupId - the group IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId)
throws SystemException
groupId - the group IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds)
throws SystemException
groupId - the group IDname - the namevocabularyIds - the vocabulary IDsSystemException - if a system exception occurredpublic static int filterCountByG_LikeN_V(long groupId,
java.lang.String name,
long vocabularyId)
throws SystemException
groupId - the group IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int filterCountByG_LikeN_V(long groupId,
java.lang.String name,
long[] vocabularyIds)
throws SystemException
groupId - the group IDname - the namevocabularyIds - the vocabulary IDsSystemException - if a system exception occurredpublic static AssetCategory findByP_N_V(long parentCategoryId, java.lang.String name, long vocabularyId) throws SystemException, NoSuchCategoryException
NoSuchCategoryException if it could not be found.parentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDNoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByP_N_V(long parentCategoryId, java.lang.String name, long vocabularyId) throws SystemException
null if it could not be found. Uses the finder cache.parentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDnull if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByP_N_V(long parentCategoryId, java.lang.String name, long vocabularyId, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.parentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDretrieveFromCache - whether to use the finder cachenull if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory removeByP_N_V(long parentCategoryId, java.lang.String name, long vocabularyId) throws SystemException, NoSuchCategoryException
parentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredNoSuchCategoryExceptionpublic static int countByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws SystemException
parentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, java.lang.String name, long vocabularyId) throws SystemException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory findByG_P_N_V_First(long groupId, long parentCategoryId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByG_P_N_V_First(long groupId, long parentCategoryId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory findByG_P_N_V_Last(long groupId, long parentCategoryId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByG_P_N_V_Last(long groupId, long parentCategoryId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundSystemException - if a system exception occurredpublic static AssetCategory[] findByG_P_N_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, java.lang.String name, long vocabularyId) throws SystemException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static AssetCategory[] filterFindByG_P_N_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, java.lang.String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws SystemException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int countByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws SystemException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static int filterCountByG_P_N_V(long groupId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws SystemException
groupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDSystemException - if a system exception occurredpublic static void cacheResult(AssetCategory assetCategory)
assetCategory - the asset categorypublic static void cacheResult(java.util.List<AssetCategory> assetCategories)
assetCategories - the asset categoriespublic static AssetCategory create(long categoryId)
categoryId - the primary key for the new asset categorypublic static AssetCategory remove(long categoryId) throws SystemException, NoSuchCategoryException
categoryId - the primary key of the asset categoryNoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static AssetCategory updateImpl(AssetCategory assetCategory) throws SystemException
SystemExceptionpublic static AssetCategory findByPrimaryKey(long categoryId) throws SystemException, NoSuchCategoryException
NoSuchCategoryException if it could not be found.categoryId - the primary key of the asset categoryNoSuchCategoryException - if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static AssetCategory fetchByPrimaryKey(long categoryId) throws SystemException
null if it could not be found.categoryId - the primary key of the asset categorynull if a asset category with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<AssetCategory> findAll() throws SystemException
SystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeAll()
throws SystemException
SystemException - if a system exception occurredpublic static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static java.util.List<AssetEntry> getAssetEntries(long pk) throws SystemException
pk - the primary key of the asset categorySystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk - the primary key of the asset categorystart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)SystemException - if a system exception occurredpublic static java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk - the primary key of the asset categorystart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static int getAssetEntriesSize(long pk)
throws SystemException
pk - the primary key of the asset categorySystemException - if a system exception occurredpublic static boolean containsAssetEntry(long pk,
long assetEntryPK)
throws SystemException
true if the asset entry is associated with the asset category.pk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entrytrue if the asset entry is associated with the asset category; false otherwiseSystemException - if a system exception occurredpublic static boolean containsAssetEntries(long pk)
throws SystemException
true if the asset category has any asset entries associated with it.pk - the primary key of the asset category to check for associations with asset entriestrue if the asset category has any asset entries associated with it; false otherwiseSystemException - if a system exception occurredpublic static void addAssetEntry(long pk,
long assetEntryPK)
throws SystemException
pk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entrySystemException - if a system exception occurredpublic static void addAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
pk - the primary key of the asset categoryassetEntry - the asset entrySystemException - if a system exception occurredpublic static void addAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
pk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entriesSystemException - if a system exception occurredpublic static void addAssetEntries(long pk,
java.util.List<AssetEntry> assetEntries)
throws SystemException
pk - the primary key of the asset categoryassetEntries - the asset entriesSystemException - if a system exception occurredpublic static void clearAssetEntries(long pk)
throws SystemException
pk - the primary key of the asset category to clear the associated asset entries fromSystemException - if a system exception occurredpublic static void removeAssetEntry(long pk,
long assetEntryPK)
throws SystemException
pk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entrySystemException - if a system exception occurredpublic static void removeAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
pk - the primary key of the asset categoryassetEntry - the asset entrySystemException - if a system exception occurredpublic static void removeAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
pk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entriesSystemException - if a system exception occurredpublic static void removeAssetEntries(long pk,
java.util.List<AssetEntry> assetEntries)
throws SystemException
pk - the primary key of the asset categoryassetEntries - the asset entriesSystemException - if a system exception occurredpublic static void setAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
pk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries to be associated with the asset categorySystemException - if a system exception occurredpublic static void setAssetEntries(long pk,
java.util.List<AssetEntry> assetEntries)
throws SystemException
pk - the primary key of the asset categoryassetEntries - the asset entries to be associated with the asset categorySystemException - if a system exception occurredpublic 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 scopeforce - whether to force the rebuild even if the tree is not staleSystemExceptionpublic static void setRebuildTreeEnabled(boolean rebuildTreeEnabled)
public static AssetCategoryPersistence getPersistence()
public void setPersistence(AssetCategoryPersistence persistence)