Class AssetVocabularyPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
com.liferay.portlet.asset.service.persistence.impl.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>

public class AssetVocabularyPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary> implements com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
The persistence implementation for the asset vocabulary service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
     
    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
    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
    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
     
    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 returns null 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 returns null 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 returns null 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 returns null 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 returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetVocabulary
    Returns the asset vocabulary with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.asset.kernel.model.AssetVocabulary>
     
    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 returns null 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 returns null 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>
    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 a NoSuchVocabularyException 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
    findByG_N(long groupId, String name)
    Returns the asset vocabulary where groupId = ? and name = ? or throws a NoSuchVocabularyException 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 a NoSuchVocabularyException if it could not be found.
    com.liferay.asset.kernel.model.AssetVocabulary
    Returns the asset vocabulary with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    List<com.liferay.asset.kernel.model.AssetVocabulary>
    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 a NoSuchVocabularyException 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
    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

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
  • Constructor Details

    • AssetVocabularyPersistenceImpl

      public AssetVocabularyPersistenceImpl()
  • Method Details

    • findByUuid

      public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid(String uuid)
      Returns all the asset vocabularies where uuid = ?.
      Specified by:
      findByUuid in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByUuid(String uuid)
      Removes all the asset vocabularies where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
    • countByUuid

      public int countByUuid(String uuid)
      Returns the number of asset vocabularies where uuid = ?.
      Specified by:
      countByUuid in interface com.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 a NoSuchVocabularyException if it could not be found.
      Specified by:
      findByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      groupId - 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

      public com.liferay.asset.kernel.model.AssetVocabulary fetchByUUID_G(String uuid, long groupId)
      Returns the asset vocabulary where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      groupId - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the asset vocabulary that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchVocabularyException
    • countByUUID_G

      public int countByUUID_G(String uuid, long groupId)
      Returns the number of asset vocabularies where uuid = ? and groupId = ?.
      Specified by:
      countByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      groupId - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByUuid_C(String uuid, long companyId)
      Removes all the asset vocabularies where uuid = ? and companyId = ? from the database.
      Specified by:
      removeByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public int countByUuid_C(String uuid, long companyId)
      Returns the number of asset vocabularies where uuid = ? and companyId = ?.
      Specified by:
      countByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching asset vocabularies
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long groupId)
      Returns all the asset vocabularies where groupId = ?.
      Specified by:
      findByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long groupId)
      Returns all the asset vocabularies that the user has permission to view where groupId = ?.
      Specified by:
      filterFindByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public 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 ?.
      Specified by:
      filterFindByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset vocabularies that the user has permission to view
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long[] groupIds)
      Returns all the asset vocabularies where groupId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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

      public List<com.liferay.asset.kernel.model.AssetVocabulary> findByCompanyId(long companyId)
      Returns all the asset vocabularies where companyId = ?.
      Specified by:
      findByCompanyId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.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 a NoSuchVocabularyException if it could not be found.
      Specified by:
      findByG_N in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - 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

      public com.liferay.asset.kernel.model.AssetVocabulary fetchByG_N(long groupId, String name)
      Returns the asset vocabulary where groupId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByG_N in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByG_N in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      useFinderCache - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the asset vocabulary that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchVocabularyException
    • countByG_N

      public int countByG_N(long groupId, String name)
      Returns the number of asset vocabularies where groupId = ? and name = ?.
      Specified by:
      countByG_N in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByG_LikeN(long groupId, String name)
      Removes all the asset vocabularies where groupId = ? and name LIKE ? from the database.
      Specified by:
      removeByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
    • countByG_LikeN

      public int countByG_LikeN(long groupId, String name)
      Returns the number of asset vocabularies where groupId = ? and name LIKE ?.
      Specified by:
      countByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the number of matching asset vocabularies
    • filterCountByG_LikeN

      public 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 ?.
      Specified by:
      filterCountByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      name - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      groupId - the group ID
      visibilityType - the visibility type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - the visibility type
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      vocabularyId - the primary key of the current asset vocabulary
      groupId - the group ID
      visibilityType - the visibility type
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - the visibility types
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - the visibility types
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - the visibility types
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - the visibility types
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - the visibility types
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupId - the group ID
      visibilityType - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      groupIds - the group IDs
      visibilityTypes - 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 a NoSuchVocabularyException if it could not be found.
      Specified by:
      findByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - 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 returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the asset vocabulary that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchVocabularyException
    • countByERC_G

      public int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of asset vocabularies where externalReferenceCode = ? and groupId = ?.
      Specified by:
      countByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - 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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
      Parameters:
      assetVocabulary - the asset vocabulary
    • cacheResult

      public void cacheResult(List<com.liferay.asset.kernel.model.AssetVocabulary> assetVocabularies)
      Caches the asset vocabularies in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      assetVocabularies - the asset vocabularies
    • clearCache

      public void clearCache()
      Clears the cache for all asset vocabularies.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      clearCache in class com.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 and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
    • clearCache

      public void clearCache(List<com.liferay.asset.kernel.model.AssetVocabulary> assetVocabularies)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(AssetVocabularyModelImpl assetVocabularyModelImpl)
    • 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 interface com.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 interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      remove in class com.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 class com.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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Overrides:
      updateImpl in class com.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 a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      findByPrimaryKey in class com.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 a NoSuchVocabularyException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.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

      public com.liferay.asset.kernel.model.AssetVocabulary fetchByPrimaryKey(Serializable primaryKey)
      Returns the asset vocabulary with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      fetchByPrimaryKey in class com.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 returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
    • findAll

      public List<com.liferay.asset.kernel.model.AssetVocabulary> findAll()
      Returns all the asset vocabularies.
      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Returns:
      the asset vocabularies
    • findAll

      public List<com.liferay.asset.kernel.model.AssetVocabulary> findAll(int start, int end)
      Returns a range of all the asset vocabularies.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      start - the lower bound of the range of asset vocabularies
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Parameters:
      start - the lower bound of the range of asset vocabularies
      end - the upper bound of the range of asset vocabularies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
    • countAll

      public int countAll()
      Returns the number of asset vocabularies.
      Specified by:
      countAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
      Returns:
      the number of asset vocabularies
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      getBadColumnNames in class com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.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 interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabulary>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>