Class AssetVocabularyPersistenceImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
,com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
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 vocabulary persistence.void
cacheResult
(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) Caches the asset vocabulary in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.asset.kernel.model.AssetVocabulary> assetVocabularies) Caches the asset vocabularies in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(AssetVocabularyModelImpl assetVocabularyModelImpl) void
Clears the cache for all asset vocabularies.void
clearCache
(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) Clears the cache for the asset vocabulary.void
clearCache
(List<com.liferay.asset.kernel.model.AssetVocabulary> assetVocabularies) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of asset vocabularies.int
countByCompanyId
(long companyId) Returns the number of asset vocabularies where companyId = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of asset vocabularies where externalReferenceCode = ? and groupId = ?.int
countByG_LikeN
(long groupId, String name) Returns the number of asset vocabularies where groupId = ? and name LIKE ?.int
countByG_N
(long groupId, String name) Returns the number of asset vocabularies where groupId = ? and name = ?.int
countByG_V
(long[] groupIds, int[] visibilityTypes) Returns the number of asset vocabularies where groupId = any ? and visibilityType = any ?.int
countByG_V
(long groupId, int visibilityType) Returns the number of asset vocabularies where groupId = ? and visibilityType = ?.int
countByGroupId
(long groupId) Returns the number of asset vocabularies where groupId = ?.int
countByGroupId
(long[] groupIds) Returns the number of asset vocabularies where groupId = any ?.int
countByUuid
(String uuid) Returns the number of asset vocabularies where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of asset vocabularies where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of asset vocabularies where uuid = ? and groupId = ?.com.liferay.asset.kernel.model.AssetVocabulary
create
(long vocabularyId) Creates a new asset vocabulary with the primary key.void
destroy()
com.liferay.asset.kernel.model.AssetVocabulary
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the asset vocabulary where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetVocabulary
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the asset vocabulary where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetVocabulary
fetchByG_LikeN_First
(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByG_LikeN_Last
(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByG_N
(long groupId, String name) Returns the asset vocabulary where groupId = ? and name = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetVocabulary
fetchByG_N
(long groupId, String name, boolean useFinderCache) Returns the asset vocabulary where groupId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetVocabulary
fetchByG_V_First
(long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByG_V_Last
(long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByPrimaryKey
(long vocabularyId) Returns the asset vocabulary with the primary key or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetVocabulary
fetchByPrimaryKey
(Serializable primaryKey) Returns the asset vocabulary with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.asset.kernel.model.AssetVocabulary> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) com.liferay.asset.kernel.model.AssetVocabulary
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetVocabulary
fetchByUUID_G
(String uuid, long groupId) Returns the asset vocabulary where uuid = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetVocabulary
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the asset vocabulary where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetVocabulary
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where uuid = ?.int
filterCountByG_LikeN
(long groupId, String name) Returns the number of asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.int
filterCountByG_V
(long[] groupIds, int[] visibilityTypes) Returns the number of asset vocabularies that the user has permission to view where groupId = any ? and visibilityType = any ?.int
filterCountByG_V
(long groupId, int visibilityType) Returns the number of asset vocabularies that the user has permission to view where groupId = ? and visibilityType = ?.int
filterCountByGroupId
(long groupId) Returns the number of asset vocabularies that the user has permission to view where groupId = ?.int
filterCountByGroupId
(long[] groupIds) Returns the number of asset vocabularies that the user has permission to view where groupId = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_LikeN
(long groupId, String name) Returns all the asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_LikeN
(long groupId, String name, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_LikeN
(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetVocabulary[]
filterFindByG_LikeN_PrevAndNext
(long vocabularyId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set of asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_V
(long[] groupIds, int[] visibilityTypes) Returns all the asset vocabularies that the user has permission to view where groupId = any ? and visibilityType = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_V
(long[] groupIds, int[] visibilityTypes, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = any ? and visibilityType = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_V
(long[] groupIds, int[] visibilityTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permission to view where groupId = any ? and visibilityType = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_V
(long groupId, int visibilityType) Returns all the asset vocabularies that the user has permission to view where groupId = ? and visibilityType = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_V
(long groupId, int visibilityType, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = ? and visibilityType = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByG_V
(long groupId, int visibilityType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ? and visibilityType = ?.com.liferay.asset.kernel.model.AssetVocabulary[]
filterFindByG_V_PrevAndNext
(long vocabularyId, long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set of asset vocabularies that the user has permission to view where groupId = ? and visibilityType = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByGroupId
(long groupId) Returns all the asset vocabularies that the user has permission to view where groupId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByGroupId
(long[] groupIds) Returns all the asset vocabularies that the user has permission to view where groupId = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByGroupId
(long[] groupIds, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByGroupId
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permission to view where groupId = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ?.com.liferay.asset.kernel.model.AssetVocabulary[]
filterFindByGroupId_PrevAndNext
(long vocabularyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set of asset vocabularies that the user has permission to view where groupId = ?.protected com.liferay.asset.kernel.model.AssetVocabulary
filterGetByG_LikeN_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabulary
filterGetByG_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabulary
filterGetByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) List<com.liferay.asset.kernel.model.AssetVocabulary>
findAll()
Returns all the asset vocabularies.List<com.liferay.asset.kernel.model.AssetVocabulary>
findAll
(int start, int end) Returns a range of all the asset vocabularies.List<com.liferay.asset.kernel.model.AssetVocabulary>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies.List<com.liferay.asset.kernel.model.AssetVocabulary>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByCompanyId
(long companyId) Returns all the asset vocabularies where companyId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the asset vocabularies where companyId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where companyId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary[]
findByCompanyId_PrevAndNext
(long vocabularyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByERC_G
(String externalReferenceCode, long groupId) Returns the asset vocabulary where externalReferenceCode = ? and groupId = ? or throws aNoSuchVocabularyException
if it could not be found.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_LikeN
(long groupId, String name) Returns all the asset vocabularies where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_LikeN
(long groupId, String name, int start, int end) Returns a range of all the asset vocabularies where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_LikeN
(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_LikeN
(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetVocabulary
findByG_LikeN_First
(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetVocabulary
findByG_LikeN_Last
(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetVocabulary[]
findByG_LikeN_PrevAndNext
(long vocabularyId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetVocabulary
Returns the asset vocabulary where groupId = ? and name = ? or throws aNoSuchVocabularyException
if it could not be found.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_V
(long[] groupIds, int[] visibilityTypes) Returns all the asset vocabularies where groupId = any ? and visibilityType = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_V
(long[] groupIds, int[] visibilityTypes, int start, int end) Returns a range of all the asset vocabularies where groupId = any ? and visibilityType = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_V
(long[] groupIds, int[] visibilityTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = any ? and visibilityType = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_V
(long[] groupIds, int[] visibilityTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ? and visibilityType = ?, optionally using the finder cache.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_V
(long groupId, int visibilityType) Returns all the asset vocabularies where groupId = ? and visibilityType = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_V
(long groupId, int visibilityType, int start, int end) Returns a range of all the asset vocabularies where groupId = ? and visibilityType = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_V
(long groupId, int visibilityType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = ? and visibilityType = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByG_V
(long groupId, int visibilityType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ? and visibilityType = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByG_V_First
(long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByG_V_Last
(long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.com.liferay.asset.kernel.model.AssetVocabulary[]
findByG_V_PrevAndNext
(long vocabularyId, long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByGroupId
(long groupId) Returns all the asset vocabularies where groupId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByGroupId
(long[] groupIds) Returns all the asset vocabularies where groupId = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByGroupId
(long[] groupIds, int start, int end) Returns a range of all the asset vocabularies where groupId = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByGroupId
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = any ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByGroupId
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ?, optionally using the finder cache.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByGroupId
(long groupId, int start, int end) Returns a range of all the asset vocabularies where groupId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabulary[]
findByGroupId_PrevAndNext
(long vocabularyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByPrimaryKey
(long vocabularyId) Returns the asset vocabulary with the primary key or throws aNoSuchVocabularyException
if it could not be found.com.liferay.asset.kernel.model.AssetVocabulary
findByPrimaryKey
(Serializable primaryKey) Returns the asset vocabulary with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByUuid
(String uuid) Returns all the asset vocabularies where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByUuid
(String uuid, int start, int end) Returns a range of all the asset vocabularies where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByUuid_C
(String uuid, long companyId) Returns all the asset vocabularies where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the asset vocabularies where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetVocabulary>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary[]
findByUuid_C_PrevAndNext
(long vocabularyId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetVocabulary
findByUUID_G
(String uuid, long groupId) Returns the asset vocabulary where uuid = ? and groupId = ? or throws aNoSuchVocabularyException
if it could not be found.com.liferay.asset.kernel.model.AssetVocabulary
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetVocabulary[]
findByUuid_PrevAndNext
(long vocabularyId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ?.protected com.liferay.asset.kernel.model.AssetVocabulary
getByCompanyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabulary
getByG_LikeN_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabulary
getByG_V_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabulary
getByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabulary
getByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabulary
getByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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.AssetVocabulary
remove
(long vocabularyId) Removes the asset vocabulary with the primary key from the database.com.liferay.asset.kernel.model.AssetVocabulary
remove
(Serializable primaryKey) Removes the asset vocabulary with the primary key from the database.void
Removes all the asset vocabularies from the database.void
removeByCompanyId
(long companyId) Removes all the asset vocabularies where companyId = ? from the database.com.liferay.asset.kernel.model.AssetVocabulary
removeByERC_G
(String externalReferenceCode, long groupId) Removes the asset vocabulary where externalReferenceCode = ? and groupId = ? from the database.void
removeByG_LikeN
(long groupId, String name) Removes all the asset vocabularies where groupId = ? and name LIKE ? from the database.com.liferay.asset.kernel.model.AssetVocabulary
removeByG_N
(long groupId, String name) Removes the asset vocabulary where groupId = ? and name = ? from the database.void
removeByG_V
(long groupId, int visibilityType) Removes all the asset vocabularies where groupId = ? and visibilityType = ? from the database.void
removeByGroupId
(long groupId) Removes all the asset vocabularies where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the asset vocabularies where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the asset vocabularies where uuid = ? and companyId = ? from the database.com.liferay.asset.kernel.model.AssetVocabulary
removeByUUID_G
(String uuid, long groupId) Removes the asset vocabulary where uuid = ? and groupId = ? from the database.protected com.liferay.asset.kernel.model.AssetVocabulary
removeImpl
(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) com.liferay.asset.kernel.model.AssetVocabulary
updateImpl
(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) 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
-
AssetVocabularyPersistenceImpl
public AssetVocabularyPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the asset vocabularies where uuid = ?.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching asset vocabularies
-
findByUuid
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid(String uuid, int start, int end) Returns a range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies
-
findByUuid
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies
-
findByUuid
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (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 vocabularies
-
findByUuid_First
public com.liferay.asset.kernel.model.AssetVocabulary findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the first asset vocabulary in the ordered set where uuid = ?.- Specified by:
findByUuid_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByUuid_First
public com.liferay.asset.kernel.model.AssetVocabulary fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where uuid = ?.- Specified by:
fetchByUuid_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByUuid_Last
public com.liferay.asset.kernel.model.AssetVocabulary findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the last asset vocabulary in the ordered set where uuid = ?.- Specified by:
findByUuid_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByUuid_Last
public com.liferay.asset.kernel.model.AssetVocabulary fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByUuid_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularyuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
removeByUuid
Removes all the asset vocabularies where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset vocabularies where uuid = ?.- Specified by:
countByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset vocabularies
-
findByUUID_G
public com.liferay.asset.kernel.model.AssetVocabulary findByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabulary where uuid = ? and groupId = ? or throws aNoSuchVocabularyException
if it could not be found.- Specified by:
findByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByUUID_G
Returns the asset vocabulary 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.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
fetchByUUID_G
public com.liferay.asset.kernel.model.AssetVocabulary fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset vocabulary 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.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
removeByUUID_G
public com.liferay.asset.kernel.model.AssetVocabulary removeByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Removes the asset vocabulary where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset vocabulary that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
-
countByUUID_G
Returns the number of asset vocabularies where uuid = ? and groupId = ?.- Specified by:
countByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching asset vocabularies
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid_C(String uuid, long companyId) Returns all the asset vocabularies where uuid = ? and companyId = ?.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset vocabularies
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (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 vocabularies
-
findByUuid_C_First
public com.liferay.asset.kernel.model.AssetVocabulary findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the first asset vocabulary in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByUuid_C_First
public com.liferay.asset.kernel.model.AssetVocabulary fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByUuid_C_Last
public com.liferay.asset.kernel.model.AssetVocabulary findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the last asset vocabulary in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByUuid_C_Last
public com.liferay.asset.kernel.model.AssetVocabulary fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] findByUuid_C_PrevAndNext(long vocabularyId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularyuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the asset vocabularies where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset vocabularies where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching asset vocabularies
-
findByGroupId
Returns all the asset vocabularies where groupId = ?.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching asset vocabularies
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long groupId, int start, int end) Returns a range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (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 vocabularies
-
findByGroupId_First
public com.liferay.asset.kernel.model.AssetVocabulary findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the first asset vocabulary in the ordered set where groupId = ?.- Specified by:
findByGroupId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByGroupId_First
public com.liferay.asset.kernel.model.AssetVocabulary fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByGroupId_Last
public com.liferay.asset.kernel.model.AssetVocabulary findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the last asset vocabulary in the ordered set where groupId = ?.- Specified by:
findByGroupId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByGroupId_Last
public com.liferay.asset.kernel.model.AssetVocabulary fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByGroupId_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
filterFindByGroupId
Returns all the asset vocabularies that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching asset vocabularies that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies 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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] filterFindByGroupId_PrevAndNext(long vocabularyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set of asset vocabularies that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
filterGetByGroupId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
filterFindByGroupId
Returns all the asset vocabularies that the user has permission to view where groupId = any ?.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDs- Returns:
- the matching asset vocabularies that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long[] groupIds, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = 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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permission to view where groupId = 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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies that the user has permission to view
-
findByGroupId
Returns all the asset vocabularies where groupId = 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 fromAssetVocabularyModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDs- Returns:
- the matching asset vocabularies
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long[] groupIds, int start, int end) Returns a range of all the asset vocabularies where groupId = 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 fromAssetVocabularyModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = 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 fromAssetVocabularyModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ?, 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 fromAssetVocabularyModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (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 vocabularies
-
removeByGroupId
public void removeByGroupId(long groupId) Removes all the asset vocabularies where groupId = ? from the database.- Specified by:
removeByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of asset vocabularies where groupId = ?.- Specified by:
countByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset vocabularies
-
countByGroupId
public int countByGroupId(long[] groupIds) Returns the number of asset vocabularies where groupId = any ?.- Specified by:
countByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDs- Returns:
- the number of matching asset vocabularies
-
filterCountByGroupId
public int filterCountByGroupId(long groupId) Returns the number of asset vocabularies that the user has permission to view where groupId = ?.- Specified by:
filterCountByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset vocabularies that the user has permission to view
-
filterCountByGroupId
public int filterCountByGroupId(long[] groupIds) Returns the number of asset vocabularies that the user has permission to view where groupId = any ?.- Specified by:
filterCountByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDs- Returns:
- the number of matching asset vocabularies that the user has permission to view
-
findByCompanyId
Returns all the asset vocabularies where companyId = ?.- Specified by:
findByCompanyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company ID- Returns:
- the matching asset vocabularies
-
findByCompanyId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByCompanyId(long companyId, int start, int end) Returns a range of all the asset vocabularies where 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 fromAssetVocabularyModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies
-
findByCompanyId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where 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 fromAssetVocabularyModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies
-
findByCompanyId
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where 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 fromAssetVocabularyModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (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 vocabularies
-
findByCompanyId_First
public com.liferay.asset.kernel.model.AssetVocabulary findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the first asset vocabulary in the ordered set where companyId = ?.- Specified by:
findByCompanyId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByCompanyId_First
public com.liferay.asset.kernel.model.AssetVocabulary fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByCompanyId_Last
public com.liferay.asset.kernel.model.AssetVocabulary findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the last asset vocabulary in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByCompanyId_Last
public com.liferay.asset.kernel.model.AssetVocabulary fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the asset vocabularies where companyId = ? from the database.- Specified by:
removeByCompanyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of asset vocabularies where companyId = ?.- Specified by:
countByCompanyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
companyId
- the company ID- Returns:
- the number of matching asset vocabularies
-
findByG_N
public com.liferay.asset.kernel.model.AssetVocabulary findByG_N(long groupId, String name) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabulary where groupId = ? and name = ? or throws aNoSuchVocabularyException
if it could not be found.- Specified by:
findByG_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByG_N
Returns the asset vocabulary where groupId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
fetchByG_N
public com.liferay.asset.kernel.model.AssetVocabulary fetchByG_N(long groupId, String name, boolean useFinderCache) Returns the asset vocabulary where groupId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
removeByG_N
public com.liferay.asset.kernel.model.AssetVocabulary removeByG_N(long groupId, String name) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Removes the asset vocabulary where groupId = ? and name = ? from the database.- Specified by:
removeByG_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name- Returns:
- the asset vocabulary that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
-
countByG_N
Returns the number of asset vocabularies where groupId = ? and name = ?.- Specified by:
countByG_N
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching asset vocabularies
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_LikeN(long groupId, String name) Returns all the asset vocabularies where groupId = ? and name LIKE ?.- Specified by:
findByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching asset vocabularies
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_LikeN(long groupId, String name, int start, int end) Returns a range of all the asset vocabularies where groupId = ? and name LIKE ?.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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = ? and name LIKE ?.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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ? and name LIKE ?.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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (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 vocabularies
-
findByG_LikeN_First
public com.liferay.asset.kernel.model.AssetVocabulary findByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the first asset vocabulary in the ordered set where groupId = ? and name LIKE ?.- Specified by:
findByG_LikeN_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByG_LikeN_First
public com.liferay.asset.kernel.model.AssetVocabulary fetchByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ? and name LIKE ?.- Specified by:
fetchByG_LikeN_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByG_LikeN_Last
public com.liferay.asset.kernel.model.AssetVocabulary findByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the last asset vocabulary in the ordered set where groupId = ? and name LIKE ?.- Specified by:
findByG_LikeN_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByG_LikeN_Last
public com.liferay.asset.kernel.model.AssetVocabulary fetchByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ? and name LIKE ?.- Specified by:
fetchByG_LikeN_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByG_LikeN_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] findByG_LikeN_PrevAndNext(long vocabularyId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ? and name LIKE ?.- Specified by:
findByG_LikeN_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
getByG_LikeN_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary getByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
filterFindByG_LikeN
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_LikeN(long groupId, String name) Returns all the asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.- Specified by:
filterFindByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching asset vocabularies that the user has permission to view
-
filterFindByG_LikeN
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_LikeN(long groupId, String name, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies that the user has permission to view
-
filterFindByG_LikeN
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ? and name LIKE ?.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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies that the user has permission to view
-
filterFindByG_LikeN_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] filterFindByG_LikeN_PrevAndNext(long vocabularyId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set of asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.- Specified by:
filterFindByG_LikeN_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
filterGetByG_LikeN_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary filterGetByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
removeByG_LikeN
Removes all the asset vocabularies where groupId = ? and name LIKE ? from the database.- Specified by:
removeByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name
-
countByG_LikeN
Returns the number of asset vocabularies where groupId = ? and name LIKE ?.- Specified by:
countByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching asset vocabularies
-
filterCountByG_LikeN
Returns the number of asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.- Specified by:
filterCountByG_LikeN
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching asset vocabularies that the user has permission to view
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_V(long groupId, int visibilityType) Returns all the asset vocabularies where groupId = ? and visibilityType = ?.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility type- Returns:
- the matching asset vocabularies
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_V(long groupId, int visibilityType, int start, int end) Returns a range of all the asset vocabularies where groupId = ? and visibilityType = ?.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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_V(long groupId, int visibilityType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = ? and visibilityType = ?.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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_V(long groupId, int visibilityType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ? and visibilityType = ?.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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (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 vocabularies
-
findByG_V_First
public com.liferay.asset.kernel.model.AssetVocabulary findByG_V_First(long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the first asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.- Specified by:
findByG_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByG_V_First
public com.liferay.asset.kernel.model.AssetVocabulary fetchByG_V_First(long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the first asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.- Specified by:
fetchByG_V_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByG_V_Last
public com.liferay.asset.kernel.model.AssetVocabulary findByG_V_Last(long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the last asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.- Specified by:
findByG_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByG_V_Last
public com.liferay.asset.kernel.model.AssetVocabulary fetchByG_V_Last(long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns the last asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.- Specified by:
fetchByG_V_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
findByG_V_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] findByG_V_PrevAndNext(long vocabularyId, long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ? and visibilityType = ?.- Specified by:
findByG_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDvisibilityType
- the visibility typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
getByG_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary getByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_V(long groupId, int visibilityType) Returns all the asset vocabularies that the user has permission to view where groupId = ? and visibilityType = ?.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility type- Returns:
- the matching asset vocabularies that the user has permission to view
-
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_V(long groupId, int visibilityType, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = ? and visibilityType = ?.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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies that the user has permission to view
-
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_V(long groupId, int visibilityType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ? and visibilityType = ?.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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility typestart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies that the user has permission to view
-
filterFindByG_V_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabulary[] filterFindByG_V_PrevAndNext(long vocabularyId, long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabularies before and after the current asset vocabulary in the ordered set of asset vocabularies that the user has permission to view where groupId = ? and visibilityType = ?.- Specified by:
filterFindByG_V_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDvisibilityType
- the visibility typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
filterGetByG_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabulary filterGetByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary, long groupId, int visibilityType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean previous) -
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_V(long[] groupIds, int[] visibilityTypes) Returns all the asset vocabularies that the user has permission to view where groupId = any ? and visibilityType = any ?.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility types- Returns:
- the matching asset vocabularies that the user has permission to view
-
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_V(long[] groupIds, int[] visibilityTypes, int start, int end) Returns a range of all the asset vocabularies that the user has permission to view where groupId = any ? and visibilityType = 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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility typesstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies that the user has permission to view
-
filterFindByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_V(long[] groupIds, int[] visibilityTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies that the user has permission to view where groupId = any ? and visibilityType = 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 fromAssetVocabularyModelImpl
.- Specified by:
filterFindByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility typesstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies that the user has permission to view
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_V(long[] groupIds, int[] visibilityTypes) Returns all the asset vocabularies where groupId = any ? and visibilityType = 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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility types- Returns:
- the matching asset vocabularies
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_V(long[] groupIds, int[] visibilityTypes, int start, int end) Returns a range of all the asset vocabularies where groupId = any ? and visibilityType = 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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility typesstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of matching asset vocabularies
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_V(long[] groupIds, int[] visibilityTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies where groupId = any ? and visibilityType = 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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility typesstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabularies
-
findByG_V
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_V(long[] groupIds, int[] visibilityTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies where groupId = ? and visibilityType = ?, 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 fromAssetVocabularyModelImpl
.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility typesstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (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 vocabularies
-
removeByG_V
public void removeByG_V(long groupId, int visibilityType) Removes all the asset vocabularies where groupId = ? and visibilityType = ? from the database.- Specified by:
removeByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility type
-
countByG_V
public int countByG_V(long groupId, int visibilityType) Returns the number of asset vocabularies where groupId = ? and visibilityType = ?.- Specified by:
countByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility type- Returns:
- the number of matching asset vocabularies
-
countByG_V
public int countByG_V(long[] groupIds, int[] visibilityTypes) Returns the number of asset vocabularies where groupId = any ? and visibilityType = any ?.- Specified by:
countByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility types- Returns:
- the number of matching asset vocabularies
-
filterCountByG_V
public int filterCountByG_V(long groupId, int visibilityType) Returns the number of asset vocabularies that the user has permission to view where groupId = ? and visibilityType = ?.- Specified by:
filterCountByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupId
- the group IDvisibilityType
- the visibility type- Returns:
- the number of matching asset vocabularies that the user has permission to view
-
filterCountByG_V
public int filterCountByG_V(long[] groupIds, int[] visibilityTypes) Returns the number of asset vocabularies that the user has permission to view where groupId = any ? and visibilityType = any ?.- Specified by:
filterCountByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
groupIds
- the group IDsvisibilityTypes
- the visibility types- Returns:
- the number of matching asset vocabularies that the user has permission to view
-
findByERC_G
public com.liferay.asset.kernel.model.AssetVocabulary findByERC_G(String externalReferenceCode, long groupId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabulary where externalReferenceCode = ? and groupId = ? or throws aNoSuchVocabularyException
if it could not be found.- Specified by:
findByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a matching asset vocabulary could not be found
-
fetchByERC_G
public com.liferay.asset.kernel.model.AssetVocabulary fetchByERC_G(String externalReferenceCode, long groupId) Returns the asset vocabulary 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.AssetVocabularyPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
fetchByERC_G
public com.liferay.asset.kernel.model.AssetVocabulary fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the asset vocabulary 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.AssetVocabularyPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset vocabulary, or
null
if a matching asset vocabulary could not be found
-
removeByERC_G
public com.liferay.asset.kernel.model.AssetVocabulary removeByERC_G(String externalReferenceCode, long groupId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Removes the asset vocabulary where externalReferenceCode = ? and groupId = ? from the database.- Specified by:
removeByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the asset vocabulary that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
-
countByERC_G
Returns the number of asset vocabularies where externalReferenceCode = ? and groupId = ?.- Specified by:
countByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching asset vocabularies
-
cacheResult
public void cacheResult(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) Caches the asset vocabulary in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
- Parameters:
assetVocabulary
- the asset vocabulary
-
cacheResult
Caches the asset vocabularies in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
assetVocabularies
- the asset vocabularies
-
clearCache
public void clearCache()Clears the cache for all asset vocabularies.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.AssetVocabulary>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
clearCache
public void clearCache(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) Clears the cache for the asset vocabulary.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.AssetVocabulary>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
-
cacheUniqueFindersCache
-
create
public com.liferay.asset.kernel.model.AssetVocabulary create(long vocabularyId) Creates a new asset vocabulary with the primary key. Does not add the asset vocabulary to the database.- Specified by:
create
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key for the new asset vocabulary- Returns:
- the new asset vocabulary
-
remove
public com.liferay.asset.kernel.model.AssetVocabulary remove(long vocabularyId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Removes the asset vocabulary with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the asset vocabulary- Returns:
- the asset vocabulary that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
remove
public com.liferay.asset.kernel.model.AssetVocabulary remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Removes the asset vocabulary 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.AssetVocabulary>
- Overrides:
remove
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
- Parameters:
primaryKey
- the primary key of the asset vocabulary- Returns:
- the asset vocabulary that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
removeImpl
protected com.liferay.asset.kernel.model.AssetVocabulary removeImpl(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) - Overrides:
removeImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
updateImpl
public com.liferay.asset.kernel.model.AssetVocabulary updateImpl(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) - Specified by:
updateImpl
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Overrides:
updateImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetVocabulary findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabulary 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.AssetVocabulary>
- Overrides:
findByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
- Parameters:
primaryKey
- the primary key of the asset vocabulary- Returns:
- the asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetVocabulary findByPrimaryKey(long vocabularyId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyException Returns the asset vocabulary with the primary key or throws aNoSuchVocabularyException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the asset vocabulary- Returns:
- the asset vocabulary
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset vocabulary 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.AssetVocabulary>
- Overrides:
fetchByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
- Parameters:
primaryKey
- the primary key of the asset vocabulary- Returns:
- the asset vocabulary, or
null
if a asset vocabulary with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.asset.kernel.model.AssetVocabulary fetchByPrimaryKey(long vocabularyId) Returns the asset vocabulary with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
vocabularyId
- the primary key of the asset vocabulary- Returns:
- the asset vocabulary, or
null
if a asset vocabulary with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.asset.kernel.model.AssetVocabulary> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
findAll
Returns all the asset vocabularies.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Returns:
- the asset vocabularies
-
findAll
Returns a range of all the asset vocabularies.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 fromAssetVocabularyModelImpl
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
start
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of asset vocabularies
-
findAll
public List<com.liferay.asset.kernel.model.AssetVocabulary> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) Returns an ordered range of all the asset vocabularies.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 fromAssetVocabularyModelImpl
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
start
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of asset vocabularies
-
findAll
public List<com.liferay.asset.kernel.model.AssetVocabulary> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabularies.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 fromAssetVocabularyModelImpl
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Parameters:
start
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset vocabularies
-
removeAll
public void removeAll()Removes all the asset vocabularies from the database.- Specified by:
removeAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
-
countAll
public int countAll()Returns the number of asset vocabularies.- Specified by:
countAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
- Returns:
- the number of asset vocabularies
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
- Overrides:
getBadColumnNames
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
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.AssetVocabulary>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
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.AssetVocabulary>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the asset vocabulary 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.AssetVocabulary>
-