Interface AssetCategoryPersistence
- All Superinterfaces:
BasePersistence<AssetCategory>
,CTPersistence<AssetCategory>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.int
countAll()
Returns the number of asset categories.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of asset categories where externalReferenceCode = ? and groupId = ?.int
countByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds) Returns the number of asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.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_LikeT_V
(long groupId, String treePath, long vocabularyId) Returns the number of asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.int
countByG_P
(long groupId, long parentCategoryId) Returns the number of asset categories where groupId = ? and parentCategoryId = ?.int
countByG_P_V
(long groupId, long parentCategoryId, long vocabularyId) Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.int
countByG_V
(long[] groupIds, long[] vocabularyIds) Returns the number of asset categories where groupId = any ? and vocabularyId = any ?.int
countByG_V
(long groupId, long vocabularyId) Returns the number of asset categories where groupId = ? and vocabularyId = ?.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
(long parentCategoryId, String name) Returns the number of asset categories where parentCategoryId = ? and name = ?.int
countByP_N_V
(long parentCategoryId, String name, long vocabularyId) Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.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
(String uuid) Returns the number of asset categories where uuid = ?.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
countByVocabularyId
(long vocabularyId) Returns the number of asset categories where vocabularyId = ?.create
(long categoryId) Creates a new asset category with the primary key.fetchByERC_G
(String externalReferenceCode, long groupId) Returns the asset category where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the asset category where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.fetchByG_LikeT_V_First
(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.fetchByG_LikeT_V_Last
(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.fetchByG_P_First
(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.fetchByG_P_Last
(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.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 = ?.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 = ?.fetchByG_V_First
(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.fetchByG_V_Last
(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.fetchByGroupId_First
(long groupId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ?.fetchByN_V_First
(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.fetchByN_V_Last
(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.fetchByP_N_First
(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.fetchByP_N_Last
(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.fetchByP_N_V
(long parentCategoryId, String name, long vocabularyId) Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returnsnull
if it could not be found.fetchByP_N_V
(long parentCategoryId, String name, long vocabularyId, boolean useFinderCache) Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByP_V_First
(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.fetchByP_V_Last
(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.fetchByParentCategoryId_First
(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ?.fetchByParentCategoryId_Last
(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ?.fetchByPrimaryKey
(long categoryId) Returns the asset category with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the asset category where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the asset category where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ?.fetchByVocabularyId_First
(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where vocabularyId = ?.fetchByVocabularyId_Last
(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where vocabularyId = ?.int
filterCountByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds) Returns the number of asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.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_LikeT_V
(long groupId, String treePath, long vocabularyId) Returns the number of asset categories that the user has permission to view where groupId = ? and treePath LIKE ? 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_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_V
(long[] groupIds, long[] vocabularyIds) Returns the number of asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.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
filterCountByGroupId
(long groupId) Returns the number of asset categories that the user has permission to view where groupId = ?.filterFindByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds) Returns all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.filterFindByG_LikeN_V
(long[] groupIds, 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 = any ? and name LIKE ? and vocabularyId = any ?.filterFindByG_LikeN_V
(long[] groupIds, 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 = any ? and name LIKE ? and vocabularyId = any ?.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 = ?.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 = ?.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 = ?.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 = ?.filterFindByG_LikeT_V
(long groupId, String treePath, long vocabularyId) Returns all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.filterFindByG_LikeT_V
(long groupId, String treePath, long vocabularyId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.filterFindByG_LikeT_V
(long groupId, String treePath, 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 treePath LIKE ? and vocabularyId = ?.filterFindByG_LikeT_V_PrevAndNext
(long categoryId, long groupId, String treePath, 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 treePath LIKE ? and vocabularyId = ?.filterFindByG_P
(long groupId, long parentCategoryId) Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.filterFindByG_V
(long[] groupIds, long[] vocabularyIds) Returns all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.filterFindByG_V
(long[] groupIds, long[] vocabularyIds, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.filterFindByG_V
(long[] groupIds, 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 = any ? and vocabularyId = any ?.filterFindByG_V
(long groupId, long vocabularyId) Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.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 = ?.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 = ?.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 = ?.filterFindByGroupId
(long groupId) Returns all the asset categories that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ?.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 = ?.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 = ?.findAll()
Returns all the asset categories.findAll
(int start, int end) Returns a range of all the asset categories.findAll
(int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories.findAll
(int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories.findByERC_G
(String externalReferenceCode, long groupId) Returns the asset category where externalReferenceCode = ? and groupId = ? or throws aNoSuchCategoryException
if it could not be found.findByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds) Returns all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.findByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds, int start, int end) Returns a range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.findByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.findByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?, optionally using the finder cache.findByG_LikeN_V
(long groupId, String name, long vocabularyId) Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.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 = ?.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 = ?.findByG_LikeN_V
(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.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 = ?.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 = ?.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 = ?.findByG_LikeT_V
(long groupId, String treePath, long vocabularyId) Returns all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.findByG_LikeT_V
(long groupId, String treePath, long vocabularyId, int start, int end) Returns a range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.findByG_LikeT_V
(long groupId, String treePath, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.findByG_LikeT_V
(long groupId, String treePath, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.findByG_LikeT_V_First
(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.findByG_LikeT_V_Last
(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.findByG_LikeT_V_PrevAndNext
(long categoryId, long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.findByG_P
(long groupId, long parentCategoryId) Returns all the asset categories where groupId = ? and parentCategoryId = ?.findByG_P
(long groupId, long parentCategoryId, int start, int end) Returns a range of all the asset categories where groupId = ? and parentCategoryId = ?.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 = ?.findByG_P
(long groupId, long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.findByG_P_First
(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.findByG_P_Last
(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.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 = ?.findByG_P_V
(long groupId, long parentCategoryId, long vocabularyId) Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.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 = ?.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 = ?.findByG_P_V
(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.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 = ?.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 = ?.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 = ?.findByG_V
(long[] groupIds, long[] vocabularyIds) Returns all the asset categories where groupId = any ? and vocabularyId = any ?.findByG_V
(long[] groupIds, long[] vocabularyIds, int start, int end) Returns a range of all the asset categories where groupId = any ? and vocabularyId = any ?.findByG_V
(long[] groupIds, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = any ? and vocabularyId = any ?.findByG_V
(long[] groupIds, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache.findByG_V
(long groupId, long vocabularyId) Returns all the asset categories where groupId = ? and vocabularyId = ?.findByG_V
(long groupId, long vocabularyId, int start, int end) Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.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 = ?.findByG_V
(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.findByG_V_First
(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.findByG_V_Last
(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.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 = ?.findByGroupId
(long groupId) Returns all the asset categories where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the asset categories where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ?.findByGroupId_First
(long groupId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ?.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 = ?.Returns all the asset categories where name = ? and vocabularyId = ?.Returns a range of all the asset categories where name = ? and vocabularyId = ?.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 = ?.findByN_V
(String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.findByN_V_First
(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.findByN_V_Last
(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.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 = ?.Returns all the asset categories where parentCategoryId = ? and name = ?.Returns a range of all the asset categories where parentCategoryId = ? and name = ?.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 = ?.findByP_N
(long parentCategoryId, String name, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.findByP_N_First
(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.findByP_N_Last
(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.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 = ?.findByP_N_V
(long parentCategoryId, String name, long vocabularyId) Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws aNoSuchCategoryException
if it could not be found.findByP_V
(long parentCategoryId, long vocabularyId) Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.findByP_V
(long parentCategoryId, long vocabularyId, int start, int end) Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.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 = ?.findByP_V
(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.findByP_V_First
(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.findByP_V_Last
(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.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 = ?.findByParentCategoryId
(long parentCategoryId) Returns all the asset categories where parentCategoryId = ?.findByParentCategoryId
(long parentCategoryId, int start, int end) Returns a range of all the asset categories where parentCategoryId = ?.findByParentCategoryId
(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where parentCategoryId = ?.findByParentCategoryId
(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ?.findByParentCategoryId_First
(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ?.findByParentCategoryId_Last
(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ?.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 = ?.findByPrimaryKey
(long categoryId) Returns the asset category with the primary key or throws aNoSuchCategoryException
if it could not be found.findByUuid
(String uuid) Returns all the asset categories where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the asset categories where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the asset categories where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the asset categories where uuid = ? and companyId = ?.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 = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ? and companyId = ?.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 = ?.findByUuid_First
(String uuid, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the asset category where uuid = ? and groupId = ? or throws aNoSuchCategoryException
if it could not be found.findByUuid_Last
(String uuid, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ?.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 = ?.findByVocabularyId
(long vocabularyId) Returns all the asset categories where vocabularyId = ?.findByVocabularyId
(long vocabularyId, int start, int end) Returns a range of all the asset categories where vocabularyId = ?.findByVocabularyId
(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where vocabularyId = ?.findByVocabularyId
(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where vocabularyId = ?.findByVocabularyId_First
(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where vocabularyId = ?.findByVocabularyId_Last
(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where vocabularyId = ?.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 = ?.remove
(long categoryId) Removes the asset category with the primary key from the database.void
Removes all the asset categories from the database.removeByERC_G
(String externalReferenceCode, long groupId) Removes the asset category where externalReferenceCode = ? and groupId = ? 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_LikeT_V
(long groupId, String treePath, long vocabularyId) Removes all the asset categories where groupId = ? and treePath LIKE ? 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_P_V
(long groupId, long parentCategoryId, long vocabularyId) Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? 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.void
removeByP_N
(long parentCategoryId, String name) Removes all the asset categories where parentCategoryId = ? and name = ? from the database.removeByP_N_V
(long parentCategoryId, String name, long vocabularyId) Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? 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
(String uuid) Removes all the asset categories where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the asset categories where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the asset category where uuid = ? and groupId = ? from the database.void
removeByVocabularyId
(long vocabularyId) Removes all the asset categories where vocabularyId = ? from the database.updateImpl
(AssetCategory assetCategory) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the asset categories where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching asset categories
-
findByUuid
Returns a range of all the asset categories where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of matching asset categories
-
findByUuid
List<AssetCategory> findByUuid(String uuid, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByUuid
List<AssetCategory> findByUuid(String uuid, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByUuid_First
AssetCategory findByUuid_First(String uuid, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUuid_First
Returns the first asset category in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByUuid_Last
AssetCategory findByUuid_Last(String uuid, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUuid_Last
Returns the last asset category in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByUuid_PrevAndNext
AssetCategory[] findByUuid_PrevAndNext(long categoryId, String uuid, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.- Parameters:
categoryId
- the primary key of the current asset categoryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByUuid
Removes all the asset categories where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset categories where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset categories
-
findByUUID_G
Returns the asset category where uuid = ? and groupId = ? or throws aNoSuchCategoryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUUID_G
Returns the asset category where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset category, or
null
if a matching asset category could not be found
-
fetchByUUID_G
Returns the asset category where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset category, or
null
if a matching asset category could not be found
-
removeByUUID_G
Removes the asset category where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset category that was removed
- Throws:
NoSuchCategoryException
-
countByUUID_G
Returns the number of asset categories where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching asset categories
-
findByUuid_C
Returns all the asset categories where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset categories
-
findByUuid_C
Returns a range of all the asset categories where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByUuid_C
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByUuid_C
List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByUuid_C_First
AssetCategory findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUuid_C_First
AssetCategory fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByUuid_C_Last
AssetCategory findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUuid_C_Last
AssetCategory fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByUuid_C_PrevAndNext
AssetCategory[] findByUuid_C_PrevAndNext(long categoryId, String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.- Parameters:
categoryId
- the primary key of the current asset categoryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByUuid_C
Removes all the asset categories where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset categories where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching asset categories
-
findByGroupId
Returns all the asset categories where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching asset categories
-
findByGroupId
Returns a range of all the asset categories where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of matching asset categories
-
findByGroupId
List<AssetCategory> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByGroupId
List<AssetCategory> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByGroupId_First
AssetCategory findByGroupId_First(long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByGroupId_First
AssetCategory fetchByGroupId_First(long groupId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByGroupId_Last
AssetCategory findByGroupId_Last(long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByGroupId_Last
Returns the last asset category in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByGroupId_PrevAndNext
AssetCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterFindByGroupId
Returns all the asset categories that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByGroupId
Returns a range of all the asset categories that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of matching asset categories that the user has permission to view
-
filterFindByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories that the user has permission to view
-
filterFindByGroupId_PrevAndNext
AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException 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 = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the asset categories where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of asset categories where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset categories
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of asset categories that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset categories that the user has permission to view
-
findByParentCategoryId
Returns all the asset categories where parentCategoryId = ?.- Parameters:
parentCategoryId
- the parent category ID- Returns:
- the matching asset categories
-
findByParentCategoryId
Returns a range of all the asset categories where parentCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByParentCategoryId
List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where parentCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByParentCategoryId
List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByParentCategoryId_First
AssetCategory findByParentCategoryId_First(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where parentCategoryId = ?.- Parameters:
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByParentCategoryId_First
AssetCategory fetchByParentCategoryId_First(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ?.- Parameters:
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByParentCategoryId_Last
AssetCategory findByParentCategoryId_Last(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where parentCategoryId = ?.- Parameters:
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByParentCategoryId_Last
AssetCategory fetchByParentCategoryId_Last(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ?.- Parameters:
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByParentCategoryId_PrevAndNext
AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.- Parameters:
categoryId
- the primary key of the current asset categoryparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByParentCategoryId
void removeByParentCategoryId(long parentCategoryId) Removes all the asset categories where parentCategoryId = ? from the database.- Parameters:
parentCategoryId
- the parent category ID
-
countByParentCategoryId
int countByParentCategoryId(long parentCategoryId) Returns the number of asset categories where parentCategoryId = ?.- Parameters:
parentCategoryId
- the parent category ID- Returns:
- the number of matching asset categories
-
findByVocabularyId
Returns all the asset categories where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByVocabularyId
Returns a range of all the asset categories where vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
vocabularyId
- the vocabulary IDstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of matching asset categories
-
findByVocabularyId
List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByVocabularyId
List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByVocabularyId_First
AssetCategory findByVocabularyId_First(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByVocabularyId_First
AssetCategory fetchByVocabularyId_First(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByVocabularyId_Last
AssetCategory findByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByVocabularyId_Last
AssetCategory fetchByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByVocabularyId_PrevAndNext
AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.- Parameters:
categoryId
- the primary key of the current asset categoryvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByVocabularyId
void removeByVocabularyId(long vocabularyId) Removes all the asset categories where vocabularyId = ? from the database.- Parameters:
vocabularyId
- the vocabulary ID
-
countByVocabularyId
int countByVocabularyId(long vocabularyId) Returns the number of asset categories where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
findByG_P
Returns all the asset categories where groupId = ? and parentCategoryId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID- Returns:
- the matching asset categories
-
findByG_P
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByG_P
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByG_P
List<AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByG_P_First
AssetCategory findByG_P_First(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_P_First
AssetCategory fetchByG_P_First(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByG_P_Last
AssetCategory findByG_P_Last(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_P_Last
AssetCategory fetchByG_P_Last(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByG_P_PrevAndNext
AssetCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterFindByG_P
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_P
Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories that the user has permission to view
-
filterFindByG_P
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories that the user has permission to view
-
filterFindByG_P_PrevAndNext
AssetCategory[] filterFindByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException 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 = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByG_P
void removeByG_P(long groupId, long parentCategoryId) Removes all the asset categories where groupId = ? and parentCategoryId = ? from the database.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID
-
countByG_P
int countByG_P(long groupId, long parentCategoryId) Returns the number of asset categories where groupId = ? and parentCategoryId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID- Returns:
- the number of matching asset categories
-
filterCountByG_P
int filterCountByG_P(long groupId, long parentCategoryId) Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID- Returns:
- the number of matching asset categories that the user has permission to view
-
findByG_V
Returns all the asset categories where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByG_V
Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByG_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByG_V
List<AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByG_V_First
AssetCategory findByG_V_First(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_V_First
AssetCategory fetchByG_V_First(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByG_V_Last
AssetCategory findByG_V_Last(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_V_Last
AssetCategory fetchByG_V_Last(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByG_V_PrevAndNext
AssetCategory[] findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterFindByG_V
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_V
Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories that the user has permission to view
-
filterFindByG_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories that the user has permission to view
-
filterFindByG_V_PrevAndNext
AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException 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 = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterFindByG_V
Returns all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDs- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_V
Returns a range of all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDsstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of matching asset categories that the user has permission to view
-
filterFindByG_V
List<AssetCategory> filterFindByG_V(long[] groupIds, 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 = any ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsvocabularyIds
- 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 (optionallynull
)- Returns:
- the ordered range of matching asset categories that the user has permission to view
-
findByG_V
Returns all the asset categories where groupId = any ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDs- Returns:
- the matching asset categories
-
findByG_V
Returns a range of all the asset categories where groupId = any ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDsstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of matching asset categories
-
findByG_V
List<AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = any ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsvocabularyIds
- 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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByG_V
List<AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsvocabularyIds
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
removeByG_V
void removeByG_V(long groupId, long vocabularyId) Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID
-
countByG_V
int countByG_V(long groupId, long vocabularyId) Returns the number of asset categories where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
countByG_V
int countByG_V(long[] groupIds, long[] vocabularyIds) Returns the number of asset categories where groupId = any ? and vocabularyId = any ?.- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDs- Returns:
- the number of matching asset categories
-
filterCountByG_V
int filterCountByG_V(long groupId, long vocabularyId) Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories that the user has permission to view
-
filterCountByG_V
int filterCountByG_V(long[] groupIds, long[] vocabularyIds) Returns the number of asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDs- Returns:
- the number of matching asset categories that the user has permission to view
-
findByP_N
Returns all the asset categories where parentCategoryId = ? and name = ?.- Parameters:
parentCategoryId
- the parent category IDname
- the name- Returns:
- the matching asset categories
-
findByP_N
Returns a range of all the asset categories where parentCategoryId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByP_N
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByP_N
List<AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByP_N_First
AssetCategory findByP_N_First(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.- Parameters:
parentCategoryId
- the parent category IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_N_First
AssetCategory fetchByP_N_First(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.- Parameters:
parentCategoryId
- the parent category IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByP_N_Last
AssetCategory findByP_N_Last(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.- Parameters:
parentCategoryId
- the parent category IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_N_Last
AssetCategory fetchByP_N_Last(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.- Parameters:
parentCategoryId
- the parent category IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByP_N_PrevAndNext
AssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.- Parameters:
categoryId
- the primary key of the current asset categoryparentCategoryId
- the parent category IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByP_N
Removes all the asset categories where parentCategoryId = ? and name = ? from the database.- Parameters:
parentCategoryId
- the parent category IDname
- the name
-
countByP_N
Returns the number of asset categories where parentCategoryId = ? and name = ?.- Parameters:
parentCategoryId
- the parent category IDname
- the name- Returns:
- the number of matching asset categories
-
findByP_V
Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByP_V
Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByP_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByP_V
List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByP_V_First
AssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_V_First
AssetCategory fetchByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByP_V_Last
AssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_V_Last
AssetCategory fetchByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByP_V_PrevAndNext
AssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Parameters:
categoryId
- the primary key of the current asset categoryparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByP_V
void removeByP_V(long parentCategoryId, long vocabularyId) Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
-
countByP_V
int countByP_V(long parentCategoryId, long vocabularyId) Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
findByN_V
Returns all the asset categories where name = ? and vocabularyId = ?.- Parameters:
name
- the namevocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByN_V
Returns a range of all the asset categories where name = ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByN_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByN_V
List<AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByN_V_First
AssetCategory findByN_V_First(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.- Parameters:
name
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByN_V_First
AssetCategory fetchByN_V_First(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.- Parameters:
name
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByN_V_Last
AssetCategory findByN_V_Last(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.- Parameters:
name
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByN_V_Last
AssetCategory fetchByN_V_Last(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.- Parameters:
name
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByN_V_PrevAndNext
AssetCategory[] findByN_V_PrevAndNext(long categoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.- Parameters:
categoryId
- the primary key of the current asset categoryname
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByN_V
Removes all the asset categories where name = ? and vocabularyId = ? from the database.- Parameters:
name
- the namevocabularyId
- the vocabulary ID
-
countByN_V
Returns the number of asset categories where name = ? and vocabularyId = ?.- Parameters:
name
- the namevocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
findByG_P_V
Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByG_P_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByG_P_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByG_P_V
List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByG_P_V_First
AssetCategory findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_P_V_First
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 = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByG_P_V_Last
AssetCategory findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_P_V_Last
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 = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByG_P_V_PrevAndNext
AssetCategory[] findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterFindByG_P_V
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_P_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories that the user has permission to view
-
filterFindByG_P_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories that the user has permission to view
-
filterFindByG_P_V_PrevAndNext
AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByG_P_V
void removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId) Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
-
countByG_P_V
int countByG_P_V(long groupId, long parentCategoryId, long vocabularyId) Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
filterCountByG_P_V
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 = ?.- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories that the user has permission to view
-
findByG_LikeT_V
Returns all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByG_LikeT_V
List<AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end) Returns a range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary IDstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of matching asset categories
-
findByG_LikeT_V
List<AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- 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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByG_LikeT_V
List<AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByG_LikeT_V_First
AssetCategory findByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_LikeT_V_First
AssetCategory fetchByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByG_LikeT_V_Last
AssetCategory findByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_LikeT_V_Last
AssetCategory fetchByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByG_LikeT_V_PrevAndNext
AssetCategory[] findByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterFindByG_LikeT_V
Returns all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_LikeT_V
List<AssetCategory> filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary IDstart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of matching asset categories that the user has permission to view
-
filterFindByG_LikeT_V
List<AssetCategory> filterFindByG_LikeT_V(long groupId, String treePath, 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 treePath LIKE ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- 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 (optionallynull
)- Returns:
- the ordered range of matching asset categories that the user has permission to view
-
filterFindByG_LikeT_V_PrevAndNext
AssetCategory[] filterFindByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException 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 treePath LIKE ? and vocabularyId = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeByG_LikeT_V
Removes all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ? from the database.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary ID
-
countByG_LikeT_V
Returns the number of asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
filterCountByG_LikeT_V
Returns the number of asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories that the user has permission to view
-
findByG_LikeN_V
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByG_LikeN_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories
-
findByG_LikeN_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByG_LikeN_V
List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
findByG_LikeN_V_First
AssetCategory findByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_LikeN_V_First
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 = ?.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category, or
null
if a matching asset category could not be found
-
findByG_LikeN_V_Last
AssetCategory findByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_LikeN_V_Last
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 = ?.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category, or
null
if a matching asset category could not be found
-
findByG_LikeN_V_PrevAndNext
AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDname
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterFindByG_LikeN_V
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_LikeN_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset categories that the user has permission to view
-
filterFindByG_LikeN_V
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset categories that the user has permission to view
-
filterFindByG_LikeN_V_PrevAndNext
AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException 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 = ?.- Parameters:
categoryId
- the primary key of the current asset categorygroupId
- the group IDname
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterFindByG_LikeN_V
Returns all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.- Parameters:
groupIds
- the group IDsname
- the namevocabularyIds
- the vocabulary IDs- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_LikeN_V
List<AssetCategory> filterFindByG_LikeN_V(long[] groupIds, 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 = any ? and name LIKE ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsname
- 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)- Returns:
- the range of matching asset categories that the user has permission to view
-
filterFindByG_LikeN_V
List<AssetCategory> filterFindByG_LikeN_V(long[] groupIds, 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 = any ? and name LIKE ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsname
- 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 (optionallynull
)- Returns:
- the ordered range of matching asset categories that the user has permission to view
-
findByG_LikeN_V
Returns all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namevocabularyIds
- the vocabulary IDs- Returns:
- the matching asset categories
-
findByG_LikeN_V
List<AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end) Returns a range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsname
- 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)- Returns:
- the range of matching asset categories
-
findByG_LikeN_V
List<AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsname
- 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 (optionallynull
)- Returns:
- the ordered range of matching asset categories
-
findByG_LikeN_V
List<AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
groupIds
- the group IDsname
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset categories
-
removeByG_LikeN_V
Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID
-
countByG_LikeN_V
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
countByG_LikeN_V
Returns the number of asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.- Parameters:
groupIds
- the group IDsname
- the namevocabularyIds
- the vocabulary IDs- Returns:
- the number of matching asset categories
-
filterCountByG_LikeN_V
Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories that the user has permission to view
-
filterCountByG_LikeN_V
Returns the number of asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.- Parameters:
groupIds
- the group IDsname
- the namevocabularyIds
- the vocabulary IDs- Returns:
- the number of matching asset categories that the user has permission to view
-
findByP_N_V
AssetCategory findByP_N_V(long parentCategoryId, String name, long vocabularyId) throws NoSuchCategoryException Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws aNoSuchCategoryException
if it could not be found.- Parameters:
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_N_V
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the matching asset category, or
null
if a matching asset category could not be found
-
fetchByP_N_V
AssetCategory fetchByP_N_V(long parentCategoryId, String name, long vocabularyId, boolean useFinderCache) Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset category, or
null
if a matching asset category could not be found
-
removeByP_N_V
AssetCategory removeByP_N_V(long parentCategoryId, String name, long vocabularyId) throws NoSuchCategoryException Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.- Parameters:
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the asset category that was removed
- Throws:
NoSuchCategoryException
-
countByP_N_V
Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.- Parameters:
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
findByERC_G
AssetCategory findByERC_G(String externalReferenceCode, long groupId) throws NoSuchCategoryException Returns the asset category where externalReferenceCode = ? and groupId = ? or throws aNoSuchCategoryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching asset category
- Throws:
NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByERC_G
Returns the asset category where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching asset category, or
null
if a matching asset category could not be found
-
fetchByERC_G
Returns the asset category where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset category, or
null
if a matching asset category could not be found
-
removeByERC_G
AssetCategory removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchCategoryException Removes the asset category where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the asset category that was removed
- Throws:
NoSuchCategoryException
-
countByERC_G
Returns the number of asset categories where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching asset categories
-
cacheResult
Caches the asset category in the entity cache if it is enabled.- Parameters:
assetCategory
- the asset category
-
cacheResult
Caches the asset categories in the entity cache if it is enabled.- Parameters:
assetCategories
- the asset categories
-
create
Creates a new asset category with the primary key. Does not add the asset category to the database.- Parameters:
categoryId
- the primary key for the new asset category- Returns:
- the new asset category
-
remove
Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
categoryId
- the primary key of the asset category- Returns:
- the asset category that was removed
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the asset category with the primary key or throws aNoSuchCategoryException
if it could not be found.- Parameters:
categoryId
- the primary key of the asset category- Returns:
- the asset category
- Throws:
NoSuchCategoryException
- if a asset category with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset category with the primary key or returnsnull
if it could not be found.- Parameters:
categoryId
- the primary key of the asset category- Returns:
- the asset category, or
null
if a asset category with the primary key could not be found
-
findAll
List<AssetCategory> findAll()Returns all the asset categories.- Returns:
- the asset categories
-
findAll
Returns a range of all the asset categories.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
start
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of asset categories
-
findAll
Returns an ordered range of all the asset categories.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of asset categories
-
findAll
List<AssetCategory> findAll(int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetCategoryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset categories
-
removeAll
void removeAll()Removes all the asset categories from the database. -
countAll
int countAll()Returns the number of asset categories.- Returns:
- the number of asset categories
-