@ProviderType public interface AssetCategoryPersistence extends BasePersistence<AssetCategory>
Caching information and settings can be found in portal.properties
AssetCategoryUtil
Modifier and Type | Method and Description |
---|---|
void |
addAssetEntries(long pk,
List<AssetEntry> assetEntries)
Adds an association between the asset category and the asset entries.
|
void |
addAssetEntries(long pk,
long[] assetEntryPKs)
Adds an association between the asset category and the asset entries.
|
void |
addAssetEntry(long pk,
AssetEntry assetEntry)
Adds an association between the asset category and the asset entry.
|
void |
addAssetEntry(long pk,
long assetEntryPK)
Adds an association between the asset category and the asset entry.
|
void |
cacheResult(AssetCategory assetCategory)
Caches the asset category in the entity cache if it is enabled.
|
void |
cacheResult(List<AssetCategory> assetCategories)
Caches the asset categories in the entity cache if it is enabled.
|
void |
clearAssetEntries(long pk)
Clears all associations between the asset category and its asset entries.
|
boolean |
containsAssetEntries(long pk)
Returns
true if the asset category has any asset entries associated with it. |
boolean |
containsAssetEntry(long pk,
long assetEntryPK)
Returns
true if the asset entry is associated with the asset category. |
int |
countAll()
Returns the number of asset categories.
|
long |
countAncestors(AssetCategory assetCategory) |
int |
countByC_ERC(long companyId,
String externalReferenceCode)
Returns the number of asset categories where companyId = ? and externalReferenceCode = ?.
|
int |
countByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
int |
countByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
int |
countByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Returns the number of asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
int |
countByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
int |
countByG_P(long groupId,
long parentCategoryId)
Returns the number of asset categories where groupId = ? and parentCategoryId = ?.
|
int |
countByG_V(long groupId,
long vocabularyId)
Returns the number of asset categories where groupId = ? and vocabularyId = ?.
|
int |
countByG_V(long groupId,
long[] vocabularyIds)
Returns the number of asset categories where groupId = ? and vocabularyId = any ?.
|
int |
countByGroupId(long groupId)
Returns the number of asset categories where groupId = ?.
|
int |
countByN_V(String name,
long vocabularyId)
Returns the number of asset categories where name = ? and vocabularyId = ?.
|
int |
countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.
|
int |
countByP_N(long parentCategoryId,
String name)
Returns the number of asset categories where parentCategoryId = ? and name = ?.
|
int |
countByP_V(long parentCategoryId,
long vocabularyId)
Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.
|
int |
countByParentCategoryId(long parentCategoryId)
Returns the number of asset categories where parentCategoryId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of asset categories where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of asset categories where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of asset categories where uuid = ?.
|
int |
countByVocabularyId(long vocabularyId)
Returns the number of asset categories where vocabularyId = ?.
|
long |
countDescendants(AssetCategory assetCategory) |
AssetCategory |
create(long categoryId)
Creates a new asset category with the primary key.
|
AssetCategory |
fetchByC_ERC(long companyId,
String externalReferenceCode)
Returns the asset category where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
AssetCategory |
fetchByC_ERC(long companyId,
String externalReferenceCode,
boolean retrieveFromCache)
Returns the asset category where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
AssetCategory |
fetchByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
AssetCategory |
fetchByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
AssetCategory |
fetchByG_P_First(long groupId,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.
|
AssetCategory |
fetchByG_P_Last(long groupId,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.
|
AssetCategory |
fetchByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
AssetCategory |
fetchByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
AssetCategory |
fetchByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory |
fetchByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory |
fetchByG_V_First(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
AssetCategory |
fetchByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
AssetCategory |
fetchByGroupId_First(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ?.
|
AssetCategory |
fetchByGroupId_Last(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ?.
|
AssetCategory |
fetchByN_V_First(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
|
AssetCategory |
fetchByN_V_Last(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
|
AssetCategory |
fetchByP_N_First(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
|
AssetCategory |
fetchByP_N_Last(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
|
AssetCategory |
fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns
null if it could not be found. |
AssetCategory |
fetchByP_N_V(long parentCategoryId,
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. |
AssetCategory |
fetchByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory |
fetchByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory |
fetchByParentCategoryId_First(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?.
|
AssetCategory |
fetchByParentCategoryId_Last(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?.
|
AssetCategory |
fetchByPrimaryKey(long categoryId)
Returns the asset category with the primary key or returns
null if it could not be found. |
AssetCategory |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
|
AssetCategory |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
|
AssetCategory |
fetchByUuid_First(String uuid,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ?.
|
AssetCategory |
fetchByUUID_G(String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or returns
null if it could not be found. |
AssetCategory |
fetchByUUID_G(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. |
AssetCategory |
fetchByUuid_Last(String uuid,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ?.
|
AssetCategory |
fetchByVocabularyId_First(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?.
|
AssetCategory |
fetchByVocabularyId_Last(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?.
|
int |
filterCountByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
|
int |
filterCountByG_LikeN_V(long groupId,
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 ?.
|
int |
filterCountByG_P_N_V(long groupId,
long parentCategoryId,
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 = ?.
|
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 = ?.
|
int |
filterCountByG_P(long groupId,
long parentCategoryId)
Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
|
int |
filterCountByG_V(long groupId,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
|
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 ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of asset categories that the user has permission to view where groupId = ?.
|
AssetCategory[] |
filterFindByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> 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 = ?.
|
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
|
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
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 ?.
|
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> 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 ?.
|
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
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 = ?.
|
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?.
|
AssetCategory[] |
filterFindByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> 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 = ?.
|
List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
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 = ?.
|
List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> 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 = ?.
|
AssetCategory[] |
filterFindByG_P_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
OrderByComparator<AssetCategory> 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 = ?.
|
AssetCategory[] |
filterFindByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> 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 = ?.
|
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 = ?.
|
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 = ?.
|
List<AssetCategory> |
filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
List<AssetCategory> |
filterFindByG_P(long groupId,
long parentCategoryId)
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
|
List<AssetCategory> |
filterFindByG_P(long groupId,
long parentCategoryId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
|
List<AssetCategory> |
filterFindByG_P(long groupId,
long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ?.
|
AssetCategory[] |
filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> 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 = ?.
|
List<AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
|
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 ?.
|
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 ?.
|
List<AssetCategory> |
filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
|
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 = ?.
|
List<AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.
|
AssetCategory[] |
filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator<AssetCategory> 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 = ?.
|
List<AssetCategory> |
filterFindByGroupId(long groupId)
Returns all the asset categories that the user has permission to view where groupId = ?.
|
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 = ?.
|
List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.
|
List<AssetCategory> |
findAll()
Returns all the asset categories.
|
List<AssetCategory> |
findAll(int start,
int end)
Returns a range of all the asset categories.
|
List<AssetCategory> |
findAll(int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories.
|
List<AssetCategory> |
findAll(int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories.
|
AssetCategory |
findByC_ERC(long companyId,
String externalReferenceCode)
Returns the asset category where companyId = ? and externalReferenceCode = ? or throws a
NoSuchCategoryException if it could not be found. |
AssetCategory |
findByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
AssetCategory |
findByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
AssetCategory[] |
findByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?, optionally using the finder cache.
|
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
AssetCategory |
findByG_P_First(long groupId,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.
|
AssetCategory |
findByG_P_Last(long groupId,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.
|
AssetCategory |
findByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
AssetCategory |
findByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
AssetCategory[] |
findByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Returns all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
AssetCategory[] |
findByG_P_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ?.
|
AssetCategory |
findByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory |
findByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory[] |
findByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
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 = ?.
|
List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_P(long groupId,
long parentCategoryId)
Returns all the asset categories where groupId = ? and parentCategoryId = ?.
|
List<AssetCategory> |
findByG_P(long groupId,
long parentCategoryId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ?.
|
List<AssetCategory> |
findByG_P(long groupId,
long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.
|
List<AssetCategory> |
findByG_P(long groupId,
long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.
|
AssetCategory |
findByG_V_First(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
AssetCategory |
findByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
AssetCategory[] |
findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId)
Returns all the asset categories where groupId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds)
Returns all the asset categories where groupId = ? and vocabularyId = any ?.
|
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 ?.
|
List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = any ?.
|
List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache.
|
List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.
|
AssetCategory |
findByGroupId_First(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ?.
|
AssetCategory |
findByGroupId_Last(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ?.
|
AssetCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.
|
List<AssetCategory> |
findByGroupId(long groupId)
Returns all the asset categories where groupId = ?.
|
List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset categories where groupId = ?.
|
List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ?.
|
List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ?.
|
AssetCategory |
findByN_V_First(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
|
AssetCategory |
findByN_V_Last(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
|
AssetCategory[] |
findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByN_V(String name,
long vocabularyId)
Returns all the asset categories where name = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where name = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.
|
AssetCategory |
findByP_N_First(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
|
AssetCategory |
findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
|
AssetCategory[] |
findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.
|
AssetCategory |
findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a
NoSuchCategoryException if it could not be found. |
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name)
Returns all the asset categories where parentCategoryId = ? and name = ?.
|
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and name = ?.
|
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.
|
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.
|
AssetCategory |
findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory |
findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory[] |
findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId)
Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
AssetCategory |
findByParentCategoryId_First(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?.
|
AssetCategory |
findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?.
|
AssetCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.
|
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId)
Returns all the asset categories where parentCategoryId = ?.
|
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ?.
|
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ?.
|
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where parentCategoryId = ?.
|
AssetCategory |
findByPrimaryKey(long categoryId)
Returns the asset category with the primary key or throws a
NoSuchCategoryException if it could not be found. |
AssetCategory |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
|
AssetCategory |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
|
AssetCategory[] |
findByUuid_C_PrevAndNext(long categoryId,
String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.
|
List<AssetCategory> |
findByUuid_C(String uuid,
long companyId)
Returns all the asset categories where uuid = ? and companyId = ?.
|
List<AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset categories where uuid = ? and companyId = ?.
|
List<AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
|
List<AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
|
AssetCategory |
findByUuid_First(String uuid,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ?.
|
AssetCategory |
findByUUID_G(String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or throws a
NoSuchCategoryException if it could not be found. |
AssetCategory |
findByUuid_Last(String uuid,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ?.
|
AssetCategory[] |
findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.
|
List<AssetCategory> |
findByUuid(String uuid)
Returns all the asset categories where uuid = ?.
|
List<AssetCategory> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the asset categories where uuid = ?.
|
List<AssetCategory> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where uuid = ?.
|
List<AssetCategory> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where uuid = ?.
|
AssetCategory |
findByVocabularyId_First(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?.
|
AssetCategory |
findByVocabularyId_Last(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?.
|
AssetCategory[] |
findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.
|
List<AssetCategory> |
findByVocabularyId(long vocabularyId)
Returns all the asset categories where vocabularyId = ?.
|
List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where vocabularyId = ?.
|
List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where vocabularyId = ?.
|
List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where vocabularyId = ?.
|
List<AssetCategory> |
getAncestors(AssetCategory assetCategory) |
List<AssetEntry> |
getAssetEntries(long pk)
Returns all the asset entries associated with the asset category.
|
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
Returns a range of all the asset entries associated with the asset category.
|
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries associated with the asset category.
|
int |
getAssetEntriesSize(long pk)
Returns the number of asset entries associated with the asset category.
|
long[] |
getAssetEntryPrimaryKeys(long pk)
Returns the primaryKeys of asset entries associated with the asset category.
|
List<AssetCategory> |
getDescendants(AssetCategory assetCategory) |
void |
rebuildTree(long groupId,
boolean force)
Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm.
|
AssetCategory |
remove(long categoryId)
Removes the asset category with the primary key from the database.
|
void |
removeAll()
Removes all the asset categories from the database.
|
void |
removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
Removes the association between the asset category and the asset entries.
|
void |
removeAssetEntries(long pk,
long[] assetEntryPKs)
Removes the association between the asset category and the asset entries.
|
void |
removeAssetEntry(long pk,
AssetEntry assetEntry)
Removes the association between the asset category and the asset entry.
|
void |
removeAssetEntry(long pk,
long assetEntryPK)
Removes the association between the asset category and the asset entry.
|
AssetCategory |
removeByC_ERC(long companyId,
String externalReferenceCode)
Removes the asset category where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database.
|
void |
removeByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Removes all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
|
void |
removeByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.
|
void |
removeByG_P(long groupId,
long parentCategoryId)
Removes all the asset categories where groupId = ? and parentCategoryId = ? from the database.
|
void |
removeByG_V(long groupId,
long vocabularyId)
Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the asset categories where groupId = ? from the database.
|
void |
removeByN_V(String name,
long vocabularyId)
Removes all the asset categories where name = ? and vocabularyId = ? from the database.
|
AssetCategory |
removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
|
void |
removeByP_N(long parentCategoryId,
String name)
Removes all the asset categories where parentCategoryId = ? and name = ? from the database.
|
void |
removeByP_V(long parentCategoryId,
long vocabularyId)
Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.
|
void |
removeByParentCategoryId(long parentCategoryId)
Removes all the asset categories where parentCategoryId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the asset categories where uuid = ? and companyId = ? from the database.
|
AssetCategory |
removeByUUID_G(String uuid,
long groupId)
Removes the asset category where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the asset categories where uuid = ? from the database.
|
void |
removeByVocabularyId(long vocabularyId)
Removes all the asset categories where vocabularyId = ? from the database.
|
void |
setAssetEntries(long pk,
List<AssetEntry> assetEntries)
Sets the asset entries associated with the asset category, removing and adding associations as necessary.
|
void |
setAssetEntries(long pk,
long[] assetEntryPKs)
Sets the asset entries associated with the asset category, removing and adding associations as necessary.
|
void |
setRebuildTreeEnabled(boolean rebuildTreeEnabled) |
AssetCategory |
updateImpl(AssetCategory assetCategory) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<AssetCategory> findByUuid(String uuid)
uuid
- the uuidList<AssetCategory> findByUuid(String uuid, int start, int end)
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)List<AssetCategory> findByUuid(String uuid, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByUuid(String uuid, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByUuid_First(String uuid, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByUuid_First(String uuid, OrderByComparator<AssetCategory> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory findByUuid_Last(String uuid, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByUuid_Last(String uuid, OrderByComparator<AssetCategory> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory[] findByUuid_PrevAndNext(long categoryId, String uuid, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidAssetCategory findByUUID_G(String uuid, long groupId) throws NoSuchCategoryException
NoSuchCategoryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByUUID_G(String uuid, long groupId)
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 foundAssetCategory fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset category could not be foundAssetCategory removeByUUID_G(String uuid, long groupId) throws NoSuchCategoryException
uuid
- the uuidgroupId
- the group IDNoSuchCategoryException
int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDList<AssetCategory> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end)
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)List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory[] findByUuid_C_PrevAndNext(long categoryId, String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<AssetCategory> findByGroupId(long groupId)
groupId
- the group IDList<AssetCategory> findByGroupId(long groupId, int start, int end)
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)List<AssetCategory> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByGroupId_First(long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByGroupId_First(long groupId, OrderByComparator<AssetCategory> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory findByGroupId_Last(long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByGroupId_Last(long groupId, OrderByComparator<AssetCategory> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundList<AssetCategory> filterFindByGroupId(long groupId)
groupId
- the group IDList<AssetCategory> filterFindByGroupId(long groupId, int start, int end)
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)List<AssetCategory> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long groupId)
groupId
- the group IDList<AssetCategory> findByParentCategoryId(long parentCategoryId)
parentCategoryId
- the parent category IDList<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end)
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)List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByParentCategoryId_First(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByParentCategoryId_First(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator)
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory findByParentCategoryId_Last(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByParentCategoryId_Last(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator)
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByParentCategoryId(long parentCategoryId)
parentCategoryId
- the parent category IDint countByParentCategoryId(long parentCategoryId)
parentCategoryId
- the parent category IDList<AssetCategory> findByVocabularyId(long vocabularyId)
vocabularyId
- the vocabulary IDList<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end)
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)List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByVocabularyId_First(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByVocabularyId_First(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory findByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByVocabularyId(long vocabularyId)
vocabularyId
- the vocabulary IDint countByVocabularyId(long vocabularyId)
vocabularyId
- the vocabulary IDList<AssetCategory> findByG_P(long groupId, long parentCategoryId)
groupId
- the group IDparentCategoryId
- the parent category IDList<AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end)
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 IDstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)List<AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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 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
)List<AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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 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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByG_P_First(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByG_P_First(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator)
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory findByG_P_Last(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByG_P_Last(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator)
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
categoryId
- the primary key of the current asset categorygroupId
- the group IDparentCategoryId
- 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 foundList<AssetCategory> filterFindByG_P(long groupId, long parentCategoryId)
groupId
- the group IDparentCategoryId
- the parent category IDList<AssetCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end)
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 IDstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)List<AssetCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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 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
)AssetCategory[] filterFindByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
categoryId
- the primary key of the current asset categorygroupId
- the group IDparentCategoryId
- 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 foundvoid removeByG_P(long groupId, long parentCategoryId)
groupId
- the group IDparentCategoryId
- the parent category IDint countByG_P(long groupId, long parentCategoryId)
groupId
- the group IDparentCategoryId
- the parent category IDint filterCountByG_P(long groupId, long parentCategoryId)
groupId
- the group IDparentCategoryId
- the parent category IDList<AssetCategory> findByG_V(long groupId, long vocabularyId)
groupId
- the group IDvocabularyId
- the vocabulary IDList<AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end)
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)List<AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByG_V_First(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByG_V_First(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory findByG_V_Last(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByG_V_Last(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory[] findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundList<AssetCategory> filterFindByG_V(long groupId, long vocabularyId)
groupId
- the group IDvocabularyId
- the vocabulary IDList<AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end)
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)List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundList<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds)
groupId
- the group IDvocabularyIds
- the vocabulary IDsList<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end)
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)List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds)
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 IDsList<AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end)
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)List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeByG_V(long groupId, long vocabularyId)
groupId
- the group IDvocabularyId
- the vocabulary IDint countByG_V(long groupId, long vocabularyId)
groupId
- the group IDvocabularyId
- the vocabulary IDint countByG_V(long groupId, long[] vocabularyIds)
groupId
- the group IDvocabularyIds
- the vocabulary IDsint filterCountByG_V(long groupId, long vocabularyId)
groupId
- the group IDvocabularyId
- the vocabulary IDint filterCountByG_V(long groupId, long[] vocabularyIds)
groupId
- the group IDvocabularyIds
- the vocabulary IDsList<AssetCategory> findByP_N(long parentCategoryId, String name)
parentCategoryId
- the parent category IDname
- the nameList<AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end)
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)List<AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByP_N_First(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByP_N_First(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory findByP_N_Last(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByP_N_Last(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByP_N(long parentCategoryId, String name)
parentCategoryId
- the parent category IDname
- the nameint countByP_N(long parentCategoryId, String name)
parentCategoryId
- the parent category IDname
- the nameList<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId)
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDList<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end)
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)List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByP_V(long parentCategoryId, long vocabularyId)
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDint countByP_V(long parentCategoryId, long vocabularyId)
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDList<AssetCategory> findByN_V(String name, long vocabularyId)
name
- the namevocabularyId
- the vocabulary IDList<AssetCategory> findByN_V(String name, long vocabularyId, int start, int end)
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)List<AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByN_V_First(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByN_V_First(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
name
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory findByN_V_Last(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByN_V_Last(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
name
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category could not be foundAssetCategory[] findByN_V_PrevAndNext(long categoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByN_V(String name, long vocabularyId)
name
- the namevocabularyId
- the vocabulary IDint countByN_V(String name, long vocabularyId)
name
- the namevocabularyId
- the vocabulary IDList<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDList<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
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)List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory[] findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundList<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDList<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
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)List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDint countByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDint filterCountByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDList<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId)
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDList<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
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)List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory findByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundList<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId)
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDList<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
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)List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundList<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
groupId
- the group IDname
- the namevocabularyIds
- the vocabulary IDsList<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end)
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)List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
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 IDsList<AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end)
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)List<AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeByG_LikeN_V(long groupId, String name, long vocabularyId)
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDint countByG_LikeN_V(long groupId, String name, long vocabularyId)
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDint countByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
groupId
- the group IDname
- the namevocabularyIds
- the vocabulary IDsint filterCountByG_LikeN_V(long groupId, String name, long vocabularyId)
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDint filterCountByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
groupId
- the group IDname
- the namevocabularyIds
- the vocabulary IDsAssetCategory findByP_N_V(long parentCategoryId, String name, long vocabularyId) throws 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 foundAssetCategory fetchByP_N_V(long parentCategoryId, String name, long vocabularyId)
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 foundAssetCategory fetchByP_N_V(long parentCategoryId, String name, long vocabularyId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset category could not be foundAssetCategory removeByP_N_V(long parentCategoryId, String name, long vocabularyId) throws NoSuchCategoryException
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDNoSuchCategoryException
int countByP_N_V(long parentCategoryId, String name, long vocabularyId)
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDList<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDList<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end)
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)List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheAssetCategory findByG_P_N_V_First(long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByG_P_N_V_First(long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory findByG_P_N_V_Last(long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundAssetCategory fetchByG_P_N_V_Last(long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
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 foundAssetCategory[] findByG_P_N_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundList<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDList<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end)
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)List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)AssetCategory[] filterFindByG_P_N_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws 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 foundvoid removeByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDint countByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDint filterCountByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDAssetCategory findByC_ERC(long companyId, String externalReferenceCode) throws NoSuchCategoryException
NoSuchCategoryException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCategoryException
- if a matching asset category could not be foundAssetCategory fetchByC_ERC(long companyId, String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching asset category could not be foundAssetCategory fetchByC_ERC(long companyId, String externalReferenceCode, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference coderetrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset category could not be foundAssetCategory removeByC_ERC(long companyId, String externalReferenceCode) throws NoSuchCategoryException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCategoryException
int countByC_ERC(long companyId, String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codevoid cacheResult(AssetCategory assetCategory)
assetCategory
- the asset categoryvoid cacheResult(List<AssetCategory> assetCategories)
assetCategories
- the asset categoriesAssetCategory create(long categoryId)
categoryId
- the primary key for the new asset categoryAssetCategory remove(long categoryId) throws NoSuchCategoryException
categoryId
- the primary key of the asset categoryNoSuchCategoryException
- if a asset category with the primary key could not be foundAssetCategory updateImpl(AssetCategory assetCategory)
AssetCategory findByPrimaryKey(long categoryId) throws 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 foundAssetCategory fetchByPrimaryKey(long categoryId)
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 foundList<AssetCategory> findAll()
List<AssetCategory> findAll(int start, int end)
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)List<AssetCategory> findAll(int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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
)List<AssetCategory> findAll(int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
long[] getAssetEntryPrimaryKeys(long pk)
pk
- the primary key of the asset categoryList<AssetEntry> getAssetEntries(long pk)
pk
- the primary key of the asset categoryList<AssetEntry> getAssetEntries(long pk, int start, int end)
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)List<AssetEntry> getAssetEntries(long pk, int start, int end, OrderByComparator<AssetEntry> orderByComparator)
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
)int getAssetEntriesSize(long pk)
pk
- the primary key of the asset categoryboolean containsAssetEntry(long pk, long assetEntryPK)
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
otherwiseboolean containsAssetEntries(long pk)
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
otherwisevoid addAssetEntry(long pk, long assetEntryPK)
pk
- the primary key of the asset categoryassetEntryPK
- the primary key of the asset entryvoid addAssetEntry(long pk, AssetEntry assetEntry)
pk
- the primary key of the asset categoryassetEntry
- the asset entryvoid addAssetEntries(long pk, long[] assetEntryPKs)
pk
- the primary key of the asset categoryassetEntryPKs
- the primary keys of the asset entriesvoid addAssetEntries(long pk, List<AssetEntry> assetEntries)
pk
- the primary key of the asset categoryassetEntries
- the asset entriesvoid clearAssetEntries(long pk)
pk
- the primary key of the asset category to clear the associated asset entries fromvoid removeAssetEntry(long pk, long assetEntryPK)
pk
- the primary key of the asset categoryassetEntryPK
- the primary key of the asset entryvoid removeAssetEntry(long pk, AssetEntry assetEntry)
pk
- the primary key of the asset categoryassetEntry
- the asset entryvoid removeAssetEntries(long pk, long[] assetEntryPKs)
pk
- the primary key of the asset categoryassetEntryPKs
- the primary keys of the asset entriesvoid removeAssetEntries(long pk, List<AssetEntry> assetEntries)
pk
- the primary key of the asset categoryassetEntries
- the asset entriesvoid setAssetEntries(long pk, long[] assetEntryPKs)
pk
- the primary key of the asset categoryassetEntryPKs
- the primary keys of the asset entries to be associated with the asset categoryvoid setAssetEntries(long pk, List<AssetEntry> assetEntries)
pk
- the primary key of the asset categoryassetEntries
- the asset entries to be associated with the asset categorylong countAncestors(AssetCategory assetCategory)
long countDescendants(AssetCategory assetCategory)
List<AssetCategory> getAncestors(AssetCategory assetCategory)
List<AssetCategory> getDescendants(AssetCategory assetCategory)
void rebuildTree(long groupId, boolean force)
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 stalevoid setRebuildTreeEnabled(boolean rebuildTreeEnabled)