Class AssetCategoryPersistenceImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
,com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Initializes the asset category persistence.void
cacheResult
(com.liferay.asset.kernel.model.AssetCategory assetCategory) Caches the asset category in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.asset.kernel.model.AssetCategory> assetCategories) Caches the asset categories in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(AssetCategoryModelImpl assetCategoryModelImpl) void
Clears the cache for all asset categories.void
clearCache
(com.liferay.asset.kernel.model.AssetCategory assetCategory) Clears the cache for the asset category.void
clearCache
(List<com.liferay.asset.kernel.model.AssetCategory> assetCategories) void
clearCache
(Set<Serializable> primaryKeys) 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 = ?.com.liferay.asset.kernel.model.AssetCategory
create
(long categoryId) Creates a new asset category with the primary key.void
destroy()
com.liferay.asset.kernel.model.AssetCategory
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the asset category where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetCategory
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.com.liferay.asset.kernel.model.AssetCategory
fetchByG_LikeN_V_First
(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_LikeN_V_Last
(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_LikeT_V_First
(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_LikeT_V_Last
(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_P_First
(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_P_Last
(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_P_V_First
(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_P_V_Last
(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_V_First
(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByG_V_Last
(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByN_V_First
(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByN_V_Last
(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByP_N_First
(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByP_N_Last
(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.com.liferay.asset.kernel.model.AssetCategory
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.com.liferay.asset.kernel.model.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.com.liferay.asset.kernel.model.AssetCategory
fetchByP_V_First
(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByP_V_Last
(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByParentCategoryId_First
(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByParentCategoryId_Last
(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByPrimaryKey
(long categoryId) Returns the asset category with the primary key or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetCategory
fetchByPrimaryKey
(Serializable primaryKey) Returns the asset category with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.asset.kernel.model.AssetCategory> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) com.liferay.asset.kernel.model.AssetCategory
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByUUID_G
(String uuid, long groupId) Returns the asset category where uuid = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetCategory
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.com.liferay.asset.kernel.model.AssetCategory
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByVocabularyId_First
(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
fetchByVocabularyId_Last
(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.AssetCategory>
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 ?.List<com.liferay.asset.kernel.model.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 ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_LikeN_V
(long groupId, String name, long vocabularyId) Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_LikeN_V
(long groupId, String name, long vocabularyId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_LikeN_V
(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.com.liferay.asset.kernel.model.AssetCategory[]
filterFindByG_LikeN_V_PrevAndNext
(long categoryId, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
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 = ?.List<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_LikeT_V
(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.com.liferay.asset.kernel.model.AssetCategory[]
filterFindByG_LikeT_V_PrevAndNext
(long categoryId, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_P
(long groupId, long parentCategoryId) Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_P
(long groupId, long parentCategoryId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_P
(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory[]
filterFindByG_P_PrevAndNext
(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_P_V
(long groupId, long parentCategoryId, long vocabularyId) Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_P_V
(long groupId, long parentCategoryId, long vocabularyId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_P_V
(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
filterFindByG_P_V_PrevAndNext
(long categoryId, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_V
(long[] groupIds, long[] vocabularyIds) Returns all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.List<com.liferay.asset.kernel.model.AssetCategory>
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 ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_V
(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_V
(long groupId, long vocabularyId) Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_V
(long groupId, long vocabularyId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByG_V
(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
filterFindByG_V_PrevAndNext
(long categoryId, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByGroupId
(long groupId) Returns all the asset categories that the user has permission to view where groupId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.com.liferay.asset.kernel.model.AssetCategory[]
filterFindByGroupId_PrevAndNext
(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.protected com.liferay.asset.kernel.model.AssetCategory
filterGetByG_LikeN_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
filterGetByG_LikeT_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
filterGetByG_P_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
filterGetByG_P_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
filterGetByG_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
filterGetByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) List<com.liferay.asset.kernel.model.AssetCategory>
findAll()
Returns all the asset categories.List<com.liferay.asset.kernel.model.AssetCategory>
findAll
(int start, int end) Returns a range of all the asset categories.List<com.liferay.asset.kernel.model.AssetCategory>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories.List<com.liferay.asset.kernel.model.AssetCategory>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories.com.liferay.asset.kernel.model.AssetCategory
findByERC_G
(String externalReferenceCode, long groupId) Returns the asset category where externalReferenceCode = ? and groupId = ? or throws aNoSuchCategoryException
if it could not be found.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds) Returns all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.List<com.liferay.asset.kernel.model.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 ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeN_V
(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeN_V
(long groupId, String name, long vocabularyId) Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeN_V
(long groupId, String name, long vocabularyId, int start, int end) Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeN_V
(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeN_V
(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_LikeN_V_First
(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_LikeN_V_Last
(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByG_LikeN_V_PrevAndNext
(long categoryId, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeT_V
(long groupId, String treePath, long vocabularyId) Returns all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeT_V
(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_LikeT_V
(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_LikeT_V_First
(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_LikeT_V_Last
(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByG_LikeT_V_PrevAndNext
(long categoryId, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_P
(long groupId, long parentCategoryId) Returns all the asset categories where groupId = ? and parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_P
(long groupId, long parentCategoryId, int start, int end) Returns a range of all the asset categories where groupId = ? and parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_P
(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_P
(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_P_First
(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_P_Last
(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByG_P_PrevAndNext
(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_P_V
(long groupId, long parentCategoryId, long vocabularyId) Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_P_V
(long groupId, long parentCategoryId, long vocabularyId, int start, int end) Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_P_V
(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_P_V
(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_P_V_First
(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_P_V_Last
(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByG_P_V_PrevAndNext
(long categoryId, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_V
(long[] groupIds, long[] vocabularyIds) Returns all the asset categories where groupId = any ? and vocabularyId = any ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_V
(long[] groupIds, long[] vocabularyIds, int start, int end) Returns a range of all the asset categories where groupId = any ? and vocabularyId = any ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_V
(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = any ? and vocabularyId = any ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_V
(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_V
(long groupId, long vocabularyId) Returns all the asset categories where groupId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_V
(long groupId, long vocabularyId, int start, int end) Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_V
(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByG_V
(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_V_First
(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByG_V_Last
(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByG_V_PrevAndNext
(long categoryId, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByGroupId
(long groupId) Returns all the asset categories where groupId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByGroupId
(long groupId, int start, int end) Returns a range of all the asset categories where groupId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where groupId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where groupId = ?.com.liferay.asset.kernel.model.AssetCategory
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetCategory
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByGroupId_PrevAndNext
(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
Returns all the asset categories where name = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
Returns a range of all the asset categories where name = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByN_V
(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByN_V
(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByN_V_First
(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByN_V_Last
(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByN_V_PrevAndNext
(long categoryId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
Returns all the asset categories where parentCategoryId = ? and name = ?.List<com.liferay.asset.kernel.model.AssetCategory>
Returns a range of all the asset categories where parentCategoryId = ? and name = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByP_N
(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByP_N
(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.com.liferay.asset.kernel.model.AssetCategory
findByP_N_First
(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.com.liferay.asset.kernel.model.AssetCategory
findByP_N_Last
(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByP_N_PrevAndNext
(long categoryId, long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.com.liferay.asset.kernel.model.AssetCategory
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.List<com.liferay.asset.kernel.model.AssetCategory>
findByP_V
(long parentCategoryId, long vocabularyId) Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByP_V
(long parentCategoryId, long vocabularyId, int start, int end) Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByP_V
(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByP_V
(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByP_V_First
(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByP_V_Last
(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByP_V_PrevAndNext
(long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByParentCategoryId
(long parentCategoryId) Returns all the asset categories where parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByParentCategoryId
(long parentCategoryId, int start, int end) Returns a range of all the asset categories where parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByParentCategoryId
(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where parentCategoryId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByParentCategoryId
(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
findByParentCategoryId_First
(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
findByParentCategoryId_Last
(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByParentCategoryId_PrevAndNext
(long categoryId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.com.liferay.asset.kernel.model.AssetCategory
findByPrimaryKey
(long categoryId) Returns the asset category with the primary key or throws aNoSuchCategoryException
if it could not be found.com.liferay.asset.kernel.model.AssetCategory
findByPrimaryKey
(Serializable primaryKey) Returns the asset category with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.List<com.liferay.asset.kernel.model.AssetCategory>
findByUuid
(String uuid) Returns all the asset categories where uuid = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByUuid
(String uuid, int start, int end) Returns a range of all the asset categories where uuid = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where uuid = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where uuid = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByUuid_C
(String uuid, long companyId) Returns all the asset categories where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the asset categories where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByUuid_C_PrevAndNext
(long categoryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetCategory
findByUUID_G
(String uuid, long groupId) Returns the asset category where uuid = ? and groupId = ? or throws aNoSuchCategoryException
if it could not be found.com.liferay.asset.kernel.model.AssetCategory
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByUuid_PrevAndNext
(long categoryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByVocabularyId
(long vocabularyId) Returns all the asset categories where vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByVocabularyId
(long vocabularyId, int start, int end) Returns a range of all the asset categories where vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByVocabularyId
(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns an ordered range of all the asset categories where vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetCategory>
findByVocabularyId
(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset categories where vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByVocabularyId_First
(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory
findByVocabularyId_Last
(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where vocabularyId = ?.com.liferay.asset.kernel.model.AssetCategory[]
findByVocabularyId_PrevAndNext
(long categoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.protected com.liferay.asset.kernel.model.AssetCategory
getByG_LikeN_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByG_LikeT_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByG_P_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByG_P_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByG_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByN_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByP_N_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByP_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByParentCategoryId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetCategory
getByVocabularyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.asset.kernel.model.AssetCategory
remove
(long categoryId) Removes the asset category with the primary key from the database.com.liferay.asset.kernel.model.AssetCategory
remove
(Serializable primaryKey) Removes the asset category with the primary key from the database.void
Removes all the asset categories from the database.com.liferay.asset.kernel.model.AssetCategory
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.com.liferay.asset.kernel.model.AssetCategory
removeByP_N_V
(long parentCategoryId, String name, long vocabularyId) Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.void
removeByP_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.com.liferay.asset.kernel.model.AssetCategory
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.protected com.liferay.asset.kernel.model.AssetCategory
removeImpl
(com.liferay.asset.kernel.model.AssetCategory assetCategory) com.liferay.asset.kernel.model.AssetCategory
updateImpl
(com.liferay.asset.kernel.model.AssetCategory assetCategory) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
AssetCategoryPersistenceImpl
public AssetCategoryPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the asset categories where uuid = ?.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching asset categories
-
findByUuid
public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid, int start, int end) 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
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where uuid = ?.- Specified by:
findByUuid_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUuid_First
public com.liferay.asset.kernel.model.AssetCategory fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ?.- Specified by:
fetchByUuid_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where uuid = ?.- Specified by:
findByUuid_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUuid_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByUuid_PrevAndNext(long categoryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByUuid
Removes all the asset categories where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset categories where uuid = ?.- Specified by:
countByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset categories
-
findByUUID_G
public com.liferay.asset.kernel.model.AssetCategory findByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset category where uuid = ? and groupId = ? or throws aNoSuchCategoryException
if it could not be found.- Specified by:
findByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset category
- Throws:
com.liferay.asset.kernel.exception.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.- Specified by:
fetchByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory 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.- Specified by:
fetchByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory removeByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Removes the asset category where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset category that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
-
countByUUID_G
Returns the number of asset categories where uuid = ? and groupId = ?.- Specified by:
countByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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 = ?.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset categories
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end) 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
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUuid_C_First
public com.liferay.asset.kernel.model.AssetCategory fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByUuid_C_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByUuid_C_PrevAndNext(long categoryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the asset categories where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset categories where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching asset categories
-
findByGroupId
Returns all the asset categories where groupId = ?.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching asset categories
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId, int start, int end) 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
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ?.- Specified by:
findByGroupId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByGroupId_First
public com.liferay.asset.kernel.model.AssetCategory fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ?.- Specified by:
findByGroupId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByGroupId_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
filterFindByGroupId
Returns all the asset categories that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ?.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
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.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 = ?.- Specified by:
filterFindByGroupId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterGetByGroupId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the asset categories where groupId = ? from the database.- Specified by:
removeByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of asset categories where groupId = ?.- Specified by:
countByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset categories
-
filterCountByGroupId
public int filterCountByGroupId(long groupId) Returns the number of asset categories that the user has permission to view where groupId = ?.- Specified by:
filterCountByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset categories that the user has permission to view
-
findByParentCategoryId
public List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId) Returns all the asset categories where parentCategoryId = ?.- Specified by:
findByParentCategoryId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category ID- Returns:
- the matching asset categories
-
findByParentCategoryId
public List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end) 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
.- Specified by:
findByParentCategoryId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByParentCategoryId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByParentCategoryId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByParentCategoryId_First(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where parentCategoryId = ?.- Specified by:
findByParentCategoryId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByParentCategoryId_First
public com.liferay.asset.kernel.model.AssetCategory fetchByParentCategoryId_First(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ?.- Specified by:
fetchByParentCategoryId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByParentCategoryId_Last(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where parentCategoryId = ?.- Specified by:
findByParentCategoryId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByParentCategoryId_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByParentCategoryId_Last(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ?.- Specified by:
fetchByParentCategoryId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.- Specified by:
findByParentCategoryId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByParentCategoryId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByParentCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByParentCategoryId
public void removeByParentCategoryId(long parentCategoryId) Removes all the asset categories where parentCategoryId = ? from the database.- Specified by:
removeByParentCategoryId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category ID
-
countByParentCategoryId
public int countByParentCategoryId(long parentCategoryId) Returns the number of asset categories where parentCategoryId = ?.- Specified by:
countByParentCategoryId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category ID- Returns:
- the number of matching asset categories
-
findByVocabularyId
Returns all the asset categories where vocabularyId = ?.- Specified by:
findByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
vocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByVocabularyId
public List<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId, int start, int end) 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
.- Specified by:
findByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where vocabularyId = ?.- Specified by:
findByVocabularyId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByVocabularyId_First
public com.liferay.asset.kernel.model.AssetCategory fetchByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where vocabularyId = ?.- Specified by:
fetchByVocabularyId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where vocabularyId = ?.- Specified by:
findByVocabularyId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByVocabularyId_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where vocabularyId = ?.- Specified by:
fetchByVocabularyId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.- Specified by:
findByVocabularyId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByVocabularyId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByVocabularyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByVocabularyId
public void removeByVocabularyId(long vocabularyId) Removes all the asset categories where vocabularyId = ? from the database.- Specified by:
removeByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
vocabularyId
- the vocabulary ID
-
countByVocabularyId
public int countByVocabularyId(long vocabularyId) Returns the number of asset categories where vocabularyId = ?.- Specified by:
countByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
vocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
findByG_P
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P(long groupId, long parentCategoryId) Returns all the asset categories where groupId = ? and parentCategoryId = ?.- Specified by:
findByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID- Returns:
- the matching asset categories
-
findByG_P
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end) 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
.- Specified by:
findByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_P_First(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Specified by:
findByG_P_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_P_First
public com.liferay.asset.kernel.model.AssetCategory fetchByG_P_First(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Specified by:
fetchByG_P_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_P_Last(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Specified by:
findByG_P_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_P_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByG_P_Last(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Specified by:
fetchByG_P_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ?.- Specified by:
findByG_P_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByG_P_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
filterFindByG_P
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P(long groupId, long parentCategoryId) Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.- Specified by:
filterFindByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_P
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.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
.- Specified by:
filterFindByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.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 = ?.- Specified by:
filterFindByG_P_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterGetByG_P_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByG_P
public void removeByG_P(long groupId, long parentCategoryId) Removes all the asset categories where groupId = ? and parentCategoryId = ? from the database.- Specified by:
removeByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID
-
countByG_P
public int countByG_P(long groupId, long parentCategoryId) Returns the number of asset categories where groupId = ? and parentCategoryId = ?.- Specified by:
countByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category ID- Returns:
- the number of matching asset categories
-
filterCountByG_P
public int filterCountByG_P(long groupId, long parentCategoryId) Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.- Specified by:
filterCountByG_P
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId) Returns all the asset categories where groupId = ? and vocabularyId = ?.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end) 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
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_V_First(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.- Specified by:
findByG_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_V_First
public com.liferay.asset.kernel.model.AssetCategory fetchByG_V_First(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.- Specified by:
fetchByG_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_V_Last(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.- Specified by:
findByG_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_V_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByG_V_Last(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.- Specified by:
fetchByG_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.- Specified by:
findByG_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByG_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long vocabularyId) Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end) Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.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
.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.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 = ?.- Specified by:
filterFindByG_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterGetByG_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long[] groupIds, long[] vocabularyIds) Returns all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDs- Returns:
- the matching asset categories that the user has permission to view
-
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetCategory> 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 ?.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
.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds) 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
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDs- Returns:
- the matching asset categories
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end) 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
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public void removeByG_V(long groupId, long vocabularyId) Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.- Specified by:
removeByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID
-
countByG_V
public int countByG_V(long groupId, long vocabularyId) Returns the number of asset categories where groupId = ? and vocabularyId = ?.- Specified by:
countByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
countByG_V
public int countByG_V(long[] groupIds, long[] vocabularyIds) Returns the number of asset categories where groupId = any ? and vocabularyId = any ?.- Specified by:
countByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDs- Returns:
- the number of matching asset categories
-
filterCountByG_V
public int filterCountByG_V(long groupId, long vocabularyId) Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.- Specified by:
filterCountByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories that the user has permission to view
-
filterCountByG_V
public 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 ?.- Specified by:
filterCountByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupIds
- the group IDsvocabularyIds
- the vocabulary IDs- Returns:
- the number of matching asset categories that the user has permission to view
-
findByP_N
public List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name) Returns all the asset categories where parentCategoryId = ? and name = ?.- Specified by:
findByP_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDname
- the name- Returns:
- the matching asset categories
-
findByP_N
public List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end) 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
.- Specified by:
findByP_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByP_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByP_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByP_N_First(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.- Specified by:
findByP_N_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_N_First
public com.liferay.asset.kernel.model.AssetCategory fetchByP_N_First(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.- Specified by:
fetchByP_N_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByP_N_Last(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.- Specified by:
findByP_N_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_N_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByP_N_Last(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.- Specified by:
fetchByP_N_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.- Specified by:
findByP_N_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByP_N_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByP_N
Removes all the asset categories where parentCategoryId = ? and name = ? from the database.- Specified by:
removeByP_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDname
- the name
-
countByP_N
Returns the number of asset categories where parentCategoryId = ? and name = ?.- Specified by:
countByP_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDname
- the name- Returns:
- the number of matching asset categories
-
findByP_V
public List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId) Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.- Specified by:
findByP_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByP_V
public List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end) 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
.- Specified by:
findByP_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByP_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByP_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Specified by:
findByP_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_V_First
public com.liferay.asset.kernel.model.AssetCategory fetchByP_V_First(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Specified by:
fetchByP_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Specified by:
findByP_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_V_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByP_V_Last(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Specified by:
fetchByP_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.- Specified by:
findByP_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByP_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByP_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByP_V
public void removeByP_V(long parentCategoryId, long vocabularyId) Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.- Specified by:
removeByP_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
-
countByP_V
public int countByP_V(long parentCategoryId, long vocabularyId) Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.- Specified by:
countByP_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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 = ?.- Specified by:
findByN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
name
- the namevocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByN_V
public List<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId, int start, int end) 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
.- Specified by:
findByN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByN_V_First(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.- Specified by:
findByN_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
name
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByN_V_First
public com.liferay.asset.kernel.model.AssetCategory fetchByN_V_First(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.- Specified by:
fetchByN_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByN_V_Last(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.- Specified by:
findByN_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
name
- the namevocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByN_V_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByN_V_Last(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.- Specified by:
fetchByN_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByN_V_PrevAndNext(long categoryId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.- Specified by:
findByN_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByN_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByN_V
Removes all the asset categories where name = ? and vocabularyId = ? from the database.- Specified by:
removeByN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
name
- the namevocabularyId
- the vocabulary ID
-
countByN_V
Returns the number of asset categories where name = ? and vocabularyId = ?.- Specified by:
countByN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
name
- the namevocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
findByG_P_V
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId) Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Specified by:
findByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByG_P_V
public List<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Specified by:
findByG_P_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_P_V_First
public com.liferay.asset.kernel.model.AssetCategory fetchByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Specified by:
fetchByG_P_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Specified by:
findByG_P_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_P_V_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Specified by:
fetchByG_P_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Specified by:
findByG_P_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByG_P_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
filterFindByG_P_V
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId) Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Specified by:
filterFindByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.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 = ?.- Specified by:
filterFindByG_P_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterGetByG_P_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByG_P_V
public void removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId) Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.- Specified by:
removeByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
-
countByG_P_V
public int countByG_P_V(long groupId, long parentCategoryId, long vocabularyId) Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.- Specified by:
countByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
filterCountByG_P_V
public 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 = ?.- Specified by:
filterCountByG_P_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId) Returns all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Specified by:
findByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDtreePath
- the tree pathvocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByG_LikeT_V
public List<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Specified by:
findByG_LikeT_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_LikeT_V_First
public com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Specified by:
fetchByG_LikeT_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Specified by:
findByG_LikeT_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_LikeT_V_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Specified by:
fetchByG_LikeT_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.- Specified by:
findByG_LikeT_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByG_LikeT_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByG_LikeT_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
filterFindByG_LikeT_V
public List<com.liferay.asset.kernel.model.AssetCategory> 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 = ?.- Specified by:
filterFindByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.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 = ?.- Specified by:
filterFindByG_LikeT_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterGetByG_LikeT_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_LikeT_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
removeByG_LikeT_V
Removes all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ? from the database.- Specified by:
removeByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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 = ?.- Specified by:
countByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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 = ?.- Specified by:
filterCountByG_LikeT_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId) Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.- Specified by:
findByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the matching asset categories
-
findByG_LikeN_V
public List<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_LikeN_V_First(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.- Specified by:
findByG_LikeN_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_LikeN_V_First
public com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeN_V_First(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.- Specified by:
fetchByG_LikeN_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByG_LikeN_V_Last(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.- Specified by:
findByG_LikeN_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByG_LikeN_V_Last
public com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeN_V_Last(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.- Specified by:
fetchByG_LikeN_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.- Specified by:
findByG_LikeN_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
getByG_LikeN_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory getByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
filterFindByG_LikeN_V
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId) Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.- Specified by:
filterFindByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.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 = ?.- Specified by:
filterFindByG_LikeN_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
filterGetByG_LikeN_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous) -
filterFindByG_LikeN_V
public List<com.liferay.asset.kernel.model.AssetCategory> 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 ?.- Specified by:
filterFindByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
filterFindByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds) 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
.- Specified by:
findByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
groupIds
- the group IDsname
- the namevocabularyIds
- the vocabulary IDs- Returns:
- the matching asset categories
-
findByG_LikeN_V
public List<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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.- Specified by:
removeByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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 = ?.- Specified by:
countByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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 ?.- Specified by:
countByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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 = ?.- Specified by:
filterCountByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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 ?.- Specified by:
filterCountByG_LikeN_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory findByP_N_V(long parentCategoryId, String name, long vocabularyId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws aNoSuchCategoryException
if it could not be found.- Specified by:
findByP_N_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByP_N_V
public com.liferay.asset.kernel.model.AssetCategory 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. Uses the finder cache.- Specified by:
fetchByP_N_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.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.- Specified by:
fetchByP_N_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory removeByP_N_V(long parentCategoryId, String name, long vocabularyId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.- Specified by:
removeByP_N_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the asset category that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
-
countByP_N_V
Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.- Specified by:
countByP_N_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID- Returns:
- the number of matching asset categories
-
findByERC_G
public com.liferay.asset.kernel.model.AssetCategory findByERC_G(String externalReferenceCode, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset category where externalReferenceCode = ? and groupId = ? or throws aNoSuchCategoryException
if it could not be found.- Specified by:
findByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a matching asset category could not be found
-
fetchByERC_G
public com.liferay.asset.kernel.model.AssetCategory fetchByERC_G(String externalReferenceCode, long groupId) Returns the asset category where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory 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.- Specified by:
fetchByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public com.liferay.asset.kernel.model.AssetCategory removeByERC_G(String externalReferenceCode, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Removes the asset category where externalReferenceCode = ? and groupId = ? from the database.- Specified by:
removeByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the asset category that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
-
countByERC_G
Returns the number of asset categories where externalReferenceCode = ? and groupId = ?.- Specified by:
countByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching asset categories
-
cacheResult
public void cacheResult(com.liferay.asset.kernel.model.AssetCategory assetCategory) Caches the asset category in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
- Parameters:
assetCategory
- the asset category
-
cacheResult
Caches the asset categories in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
assetCategories
- the asset categories
-
clearCache
public void clearCache()Clears the cache for all asset categories.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
clearCache
public void clearCache(com.liferay.asset.kernel.model.AssetCategory assetCategory) Clears the cache for the asset category.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
-
cacheUniqueFindersCache
-
create
public com.liferay.asset.kernel.model.AssetCategory create(long categoryId) Creates a new asset category with the primary key. Does not add the asset category to the database.- Specified by:
create
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
categoryId
- the primary key for the new asset category- Returns:
- the new asset category
-
remove
public com.liferay.asset.kernel.model.AssetCategory remove(long categoryId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
categoryId
- the primary key of the asset category- Returns:
- the asset category that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
remove
public com.liferay.asset.kernel.model.AssetCategory remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
remove
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
- Parameters:
primaryKey
- the primary key of the asset category- Returns:
- the asset category that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
removeImpl
protected com.liferay.asset.kernel.model.AssetCategory removeImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory) - Overrides:
removeImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
updateImpl
public com.liferay.asset.kernel.model.AssetCategory updateImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory) - Specified by:
updateImpl
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Overrides:
updateImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetCategory findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset category with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
findByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
- Parameters:
primaryKey
- the primary key of the asset category- Returns:
- the asset category
- Throws:
com.liferay.asset.kernel.exception.NoSuchCategoryException
- if a asset category with the primary key could not be found
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetCategory findByPrimaryKey(long categoryId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException Returns the asset category with the primary key or throws aNoSuchCategoryException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Parameters:
categoryId
- the primary key of the asset category- Returns:
- the asset category
- Throws:
com.liferay.asset.kernel.exception.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.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
fetchByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
- Parameters:
primaryKey
- 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
-
fetchByPrimaryKey
public com.liferay.asset.kernel.model.AssetCategory fetchByPrimaryKey(long categoryId) Returns the asset category with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.asset.kernel.model.AssetCategory> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
findAll
Returns all the asset categories.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) 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
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public List<com.liferay.asset.kernel.model.AssetCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- 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
public void removeAll()Removes all the asset categories from the database.- Specified by:
removeAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
-
countAll
public int countAll()Returns the number of asset categories.- Specified by:
countAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
- Returns:
- the number of asset categories
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
getBadColumnNames
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the asset category persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
-