Class AssetCategoryPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
com.liferay.portlet.asset.service.persistence.impl.AssetCategoryPersistenceImpl
All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence, com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>

public class AssetCategoryPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory> implements com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
The persistence implementation for the asset category 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 category persistence.
    void
    cacheResult(com.liferay.asset.kernel.model.AssetCategory assetCategory)
    Caches the asset category in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
    Caches the asset categories in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all asset categories.
    void
    clearCache(com.liferay.asset.kernel.model.AssetCategory assetCategory)
    Clears the cache for the asset category.
    void
    clearCache(List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    Returns the number of asset categories.
    int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of asset categories where externalReferenceCode = ? and groupId = ?.
    int
    countByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds)
    Returns the number of asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.
    int
    countByG_LikeN_V(long groupId, String name, long vocabularyId)
    Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
    int
    countByG_LikeT_V(long groupId, String treePath, long vocabularyId)
    Returns the number of asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    int
    countByG_P(long groupId, long parentCategoryId)
    Returns the number of asset categories where groupId = ? and parentCategoryId = ?.
    int
    countByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
    Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    int
    countByG_V(long[] groupIds, long[] vocabularyIds)
    Returns the number of asset categories where groupId = any ? and vocabularyId = any ?.
    int
    countByG_V(long groupId, long vocabularyId)
    Returns the number of asset categories where groupId = ? and vocabularyId = ?.
    int
    countByGroupId(long groupId)
    Returns the number of asset categories where groupId = ?.
    int
    countByN_V(String name, long vocabularyId)
    Returns the number of asset categories where name = ? and vocabularyId = ?.
    int
    countByP_N(long parentCategoryId, String name)
    Returns the number of asset categories where parentCategoryId = ? and name = ?.
    int
    countByP_N_V(long parentCategoryId, String name, long vocabularyId)
    Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.
    int
    countByP_V(long parentCategoryId, long vocabularyId)
    Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.
    int
    countByParentCategoryId(long parentCategoryId)
    Returns the number of asset categories where parentCategoryId = ?.
    int
    Returns the number of asset categories where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of asset categories where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of asset categories where uuid = ? and groupId = ?.
    int
    countByVocabularyId(long vocabularyId)
    Returns the number of asset categories where vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    create(long categoryId)
    Creates a new asset category with the primary key.
    void
     
    com.liferay.asset.kernel.model.AssetCategory
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the asset category where externalReferenceCode = ? and groupId = ? or returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the asset category where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_LikeN_V_First(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_LikeN_V_Last(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_P_First(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_P_Last(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_V_First(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByG_V_Last(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByN_V_First(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByN_V_Last(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByP_N_First(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByP_N_Last(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByP_N_V(long parentCategoryId, String name, long vocabularyId)
    Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByP_N_V(long parentCategoryId, String name, long vocabularyId, boolean useFinderCache)
    Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByP_V_First(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByP_V_Last(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByParentCategoryId_First(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByParentCategoryId_Last(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByPrimaryKey(long categoryId)
    Returns the asset category with the primary key or returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetCategory
    Returns the asset category with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.asset.kernel.model.AssetCategory>
     
    com.liferay.asset.kernel.model.AssetCategory
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where uuid = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByUUID_G(String uuid, long groupId)
    Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where uuid = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    fetchByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where vocabularyId = ?.
    int
    filterCountByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds)
    Returns the number of asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.
    int
    filterCountByG_LikeN_V(long groupId, String name, long vocabularyId)
    Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
    int
    filterCountByG_LikeT_V(long groupId, String treePath, long vocabularyId)
    Returns the number of asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    int
    filterCountByG_P(long groupId, long parentCategoryId)
    Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
    int
    filterCountByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
    Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    int
    filterCountByG_V(long[] groupIds, long[] vocabularyIds)
    Returns the number of asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.
    int
    filterCountByG_V(long groupId, long vocabularyId)
    Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
    int
    filterCountByGroupId(long groupId)
    Returns the number of asset categories that the user has permission to view where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds)
    Returns all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end)
    Returns a range of all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeN_V(long groupId, String name, long vocabularyId)
    Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
    Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId)
    Returns all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end)
    Returns a range of all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    filterFindByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_P(long groupId, long parentCategoryId)
    Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_P(long groupId, long parentCategoryId, int start, int end)
    Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    filterFindByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
    Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
    Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_V(long[] groupIds, long[] vocabularyIds)
    Returns all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_V(long[] groupIds, long[] vocabularyIds, int start, int end)
    Returns a range of all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_V(long groupId, long vocabularyId)
    Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_V(long groupId, long vocabularyId, int start, int end)
    Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByGroupId(long groupId)
    Returns all the asset categories that the user has permission to view where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the asset categories that the user has permission to view where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    filterFindByGroupId_PrevAndNext(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?.
    protected com.liferay.asset.kernel.model.AssetCategory
    filterGetByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    filterGetByG_LikeT_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    filterGetByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    filterGetByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    List<com.liferay.asset.kernel.model.AssetCategory>
    Returns all the asset categories.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findAll(int start, int end)
    Returns a range of all the asset categories.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories.
    com.liferay.asset.kernel.model.AssetCategory
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the asset category where externalReferenceCode = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds)
    Returns all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end)
    Returns a range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?, optionally using the finder cache.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeN_V(long groupId, String name, long vocabularyId)
    Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
    Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_LikeN_V_First(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_LikeN_V_Last(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeT_V(long groupId, String treePath, long vocabularyId)
    Returns all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end)
    Returns a range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_P(long groupId, long parentCategoryId)
    Returns all the asset categories where groupId = ? and parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_P(long groupId, long parentCategoryId, int start, int end)
    Returns a range of all the asset categories where groupId = ? and parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_P_First(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_P_Last(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
    Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
    Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_V(long[] groupIds, long[] vocabularyIds)
    Returns all the asset categories where groupId = any ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end)
    Returns a range of all the asset categories where groupId = any ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where groupId = any ? and vocabularyId = any ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_V(long groupId, long vocabularyId)
    Returns all the asset categories where groupId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_V(long groupId, long vocabularyId, int start, int end)
    Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_V_First(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByG_V_Last(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByGroupId(long groupId)
    Returns all the asset categories where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the asset categories where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where groupId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where groupId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where groupId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByGroupId_PrevAndNext(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByN_V(String name, long vocabularyId)
    Returns all the asset categories where name = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByN_V(String name, long vocabularyId, int start, int end)
    Returns a range of all the asset categories where name = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByN_V(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByN_V(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByN_V_First(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByN_V_Last(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByN_V_PrevAndNext(long categoryId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByP_N(long parentCategoryId, String name)
    Returns all the asset categories where parentCategoryId = ? and name = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByP_N(long parentCategoryId, String name, int start, int end)
    Returns a range of all the asset categories where parentCategoryId = ? and name = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByP_N(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByP_N(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByP_N_First(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByP_N_Last(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByP_N_PrevAndNext(long categoryId, long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByP_N_V(long parentCategoryId, String name, long vocabularyId)
    Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a NoSuchCategoryException if it could not be found.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByP_V(long parentCategoryId, long vocabularyId)
    Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByP_V(long parentCategoryId, long vocabularyId, int start, int end)
    Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByP_V_First(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByP_V_Last(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByParentCategoryId(long parentCategoryId)
    Returns all the asset categories where parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByParentCategoryId(long parentCategoryId, int start, int end)
    Returns a range of all the asset categories where parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where parentCategoryId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByParentCategoryId_First(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByParentCategoryId_Last(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByPrimaryKey(long categoryId)
    Returns the asset category with the primary key or throws a NoSuchCategoryException if it could not be found.
    com.liferay.asset.kernel.model.AssetCategory
    Returns the asset category 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.AssetCategory>
    Returns all the asset categories where uuid = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the asset categories where uuid = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where uuid = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where uuid = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByUuid_C(String uuid, long companyId)
    Returns all the asset categories where uuid = ? and companyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the asset categories where uuid = ? and companyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByUuid_C_PrevAndNext(long categoryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where uuid = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByUUID_G(String uuid, long groupId)
    Returns the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.
    com.liferay.asset.kernel.model.AssetCategory
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where uuid = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByUuid_PrevAndNext(long categoryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByVocabularyId(long vocabularyId)
    Returns all the asset categories where vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByVocabularyId(long vocabularyId, int start, int end)
    Returns a range of all the asset categories where vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns an ordered range of all the asset categories where vocabularyId = ?.
    List<com.liferay.asset.kernel.model.AssetCategory>
    findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset categories where vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the first asset category in the ordered set where vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory
    findByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the last asset category in the ordered set where vocabularyId = ?.
    com.liferay.asset.kernel.model.AssetCategory[]
    findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByG_LikeT_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByP_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByParentCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetCategory
    getByVocabularyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
     
    getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
     
    protected String
     
    protected String
     
     
     
     
    com.liferay.asset.kernel.model.AssetCategory
    remove(long categoryId)
    Removes the asset category with the primary key from the database.
    com.liferay.asset.kernel.model.AssetCategory
    remove(Serializable primaryKey)
    Removes the asset category with the primary key from the database.
    void
    Removes all the asset categories from the database.
    com.liferay.asset.kernel.model.AssetCategory
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the asset category where externalReferenceCode = ? and groupId = ? from the database.
    void
    removeByG_LikeN_V(long groupId, String name, long vocabularyId)
    Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database.
    void
    removeByG_LikeT_V(long groupId, String treePath, long vocabularyId)
    Removes all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ? from the database.
    void
    removeByG_P(long groupId, long parentCategoryId)
    Removes all the asset categories where groupId = ? and parentCategoryId = ? from the database.
    void
    removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
    Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.
    void
    removeByG_V(long groupId, long vocabularyId)
    Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the asset categories where groupId = ? from the database.
    void
    removeByN_V(String name, long vocabularyId)
    Removes all the asset categories where name = ? and vocabularyId = ? from the database.
    void
    removeByP_N(long parentCategoryId, String name)
    Removes all the asset categories where parentCategoryId = ? and name = ? from the database.
    com.liferay.asset.kernel.model.AssetCategory
    removeByP_N_V(long parentCategoryId, String name, long vocabularyId)
    Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
    void
    removeByP_V(long parentCategoryId, long vocabularyId)
    Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.
    void
    removeByParentCategoryId(long parentCategoryId)
    Removes all the asset categories where parentCategoryId = ? from the database.
    void
    Removes all the asset categories where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the asset categories where uuid = ? and companyId = ? from the database.
    com.liferay.asset.kernel.model.AssetCategory
    removeByUUID_G(String uuid, long groupId)
    Removes the asset category where uuid = ? and groupId = ? from the database.
    void
    removeByVocabularyId(long vocabularyId)
    Removes all the asset categories where vocabularyId = ? from the database.
    protected com.liferay.asset.kernel.model.AssetCategory
    removeImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory)
     
    com.liferay.asset.kernel.model.AssetCategory
    updateImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Field Details

    • FINDER_CLASS_NAME_ENTITY

      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

    • AssetCategoryPersistenceImpl

      public AssetCategoryPersistenceImpl()
  • Method Details

    • findByUuid

      public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid)
      Returns all the asset categories where uuid = ?.
      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the matching asset categories
    • findByUuid

      public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid, int start, int end)
      Returns a range of all the asset categories where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByUuid

      public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByUuid

      public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByUuid_First

      public com.liferay.asset.kernel.model.AssetCategory findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where uuid = ?.
      Specified by:
      findByUuid_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByUuid_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByUuid_Last

      public com.liferay.asset.kernel.model.AssetCategory findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where uuid = ?.
      Specified by:
      findByUuid_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByUuid_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByUuid_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByUuid_PrevAndNext(long categoryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.
      Specified by:
      findByUuid_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByUuid_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByUuid

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

      public int countByUuid(String uuid)
      Returns the number of asset categories where uuid = ?.
      Specified by:
      countByUuid in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching asset categories
    • findByUUID_G

      public com.liferay.asset.kernel.model.AssetCategory findByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.
      Specified by:
      findByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByUUID_G

      public com.liferay.asset.kernel.model.AssetCategory fetchByUUID_G(String uuid, long groupId)
      Returns the asset category 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.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching asset category, or null if a matching asset category could not be found
    • fetchByUUID_G

      public com.liferay.asset.kernel.model.AssetCategory fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the asset category where uuid = ? and groupId = ? or 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.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset category, or null if a matching asset category could not be found
    • removeByUUID_G

      public com.liferay.asset.kernel.model.AssetCategory removeByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Removes the asset category where uuid = ? and groupId = ? from the database.
      Specified by:
      removeByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the asset category that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException
    • countByUUID_G

      public int countByUUID_G(String uuid, long groupId)
      Returns the number of asset categories where uuid = ? and groupId = ?.
      Specified by:
      countByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching asset categories
    • findByUuid_C

      public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId)
      Returns all the asset categories where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching asset categories
    • findByUuid_C

      public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the asset categories where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByUuid_C

      public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByUuid_C

      public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByUuid_C_First

      public com.liferay.asset.kernel.model.AssetCategory findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByUuid_C_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByUuid_C_Last

      public com.liferay.asset.kernel.model.AssetCategory findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByUuid_C_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByUuid_C_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByUuid_C_PrevAndNext(long categoryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByUuid_C_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByUuid_C

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

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

      public List<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId)
      Returns all the asset categories where groupId = ?.
      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the matching asset categories
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId, int start, int end)
      Returns a range of all the asset categories where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByGroupId_First

      public com.liferay.asset.kernel.model.AssetCategory findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByGroupId_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ?.
      Specified by:
      fetchByGroupId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByGroupId_Last

      public com.liferay.asset.kernel.model.AssetCategory findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByGroupId_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ?.
      Specified by:
      fetchByGroupId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByGroupId_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByGroupId_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • filterFindByGroupId

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByGroupId(long groupId)
      Returns all the asset categories that the user has permission to view where groupId = ?.
      Specified by:
      filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByGroupId

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories that the user has permission to view
    • filterFindByGroupId

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

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

      public com.liferay.asset.kernel.model.AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?.
      Specified by:
      filterFindByGroupId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • filterGetByGroupId_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByGroupId

      public void removeByGroupId(long groupId)
      Removes all the asset categories where groupId = ? from the database.
      Specified by:
      removeByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
    • countByGroupId

      public int countByGroupId(long groupId)
      Returns the number of asset categories where groupId = ?.
      Specified by:
      countByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching asset categories
    • filterCountByGroupId

      public int filterCountByGroupId(long groupId)
      Returns the number of asset categories that the user has permission to view where groupId = ?.
      Specified by:
      filterCountByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByParentCategoryId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId)
      Returns all the asset categories where parentCategoryId = ?.
      Specified by:
      findByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      Returns:
      the matching asset categories
    • findByParentCategoryId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end)
      Returns a range of all the asset categories where parentCategoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByParentCategoryId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where parentCategoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByParentCategoryId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where parentCategoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByParentCategoryId_First

      public com.liferay.asset.kernel.model.AssetCategory findByParentCategoryId_First(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where parentCategoryId = ?.
      Specified by:
      findByParentCategoryId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByParentCategoryId_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByParentCategoryId_First(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where parentCategoryId = ?.
      Specified by:
      fetchByParentCategoryId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByParentCategoryId_Last

      public com.liferay.asset.kernel.model.AssetCategory findByParentCategoryId_Last(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where parentCategoryId = ?.
      Specified by:
      findByParentCategoryId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByParentCategoryId_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByParentCategoryId_Last(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where parentCategoryId = ?.
      Specified by:
      fetchByParentCategoryId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByParentCategoryId_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.
      Specified by:
      findByParentCategoryId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByParentCategoryId_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByParentCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByParentCategoryId

      public void removeByParentCategoryId(long parentCategoryId)
      Removes all the asset categories where parentCategoryId = ? from the database.
      Specified by:
      removeByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
    • countByParentCategoryId

      public int countByParentCategoryId(long parentCategoryId)
      Returns the number of asset categories where parentCategoryId = ?.
      Specified by:
      countByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      Returns:
      the number of matching asset categories
    • findByVocabularyId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId)
      Returns all the asset categories where vocabularyId = ?.
      Specified by:
      findByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByVocabularyId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId, int start, int end)
      Returns a range of all the asset categories where vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByVocabularyId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByVocabularyId

      public List<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByVocabularyId_First

      public com.liferay.asset.kernel.model.AssetCategory findByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where vocabularyId = ?.
      Specified by:
      findByVocabularyId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByVocabularyId_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where vocabularyId = ?.
      Specified by:
      fetchByVocabularyId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByVocabularyId_Last

      public com.liferay.asset.kernel.model.AssetCategory findByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where vocabularyId = ?.
      Specified by:
      findByVocabularyId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByVocabularyId_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where vocabularyId = ?.
      Specified by:
      fetchByVocabularyId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByVocabularyId_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.
      Specified by:
      findByVocabularyId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByVocabularyId_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByVocabularyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByVocabularyId

      public void removeByVocabularyId(long vocabularyId)
      Removes all the asset categories where vocabularyId = ? from the database.
      Specified by:
      removeByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
    • countByVocabularyId

      public int countByVocabularyId(long vocabularyId)
      Returns the number of asset categories where vocabularyId = ?.
      Specified by:
      countByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • findByG_P

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P(long groupId, long parentCategoryId)
      Returns all the asset categories where groupId = ? and parentCategoryId = ?.
      Specified by:
      findByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      Returns:
      the matching asset categories
    • findByG_P

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end)
      Returns a range of all the asset categories where groupId = ? and parentCategoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByG_P

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByG_P

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByG_P_First

      public com.liferay.asset.kernel.model.AssetCategory findByG_P_First(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Specified by:
      findByG_P_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_P_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_P_First(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Specified by:
      fetchByG_P_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByG_P_Last

      public com.liferay.asset.kernel.model.AssetCategory findByG_P_Last(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Specified by:
      findByG_P_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_P_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_P_Last(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Specified by:
      fetchByG_P_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByG_P_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Specified by:
      findByG_P_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByG_P_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • filterFindByG_P

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P(long groupId, long parentCategoryId)
      Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
      Specified by:
      filterFindByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_P

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories that the user has permission to view
    • filterFindByG_P

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories that the user has permission to view
    • filterFindByG_P_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
      Specified by:
      filterFindByG_P_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • filterGetByG_P_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByG_P

      public void removeByG_P(long groupId, long parentCategoryId)
      Removes all the asset categories where groupId = ? and parentCategoryId = ? from the database.
      Specified by:
      removeByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
    • countByG_P

      public int countByG_P(long groupId, long parentCategoryId)
      Returns the number of asset categories where groupId = ? and parentCategoryId = ?.
      Specified by:
      countByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      Returns:
      the number of matching asset categories
    • filterCountByG_P

      public int filterCountByG_P(long groupId, long parentCategoryId)
      Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
      Specified by:
      filterCountByG_P in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId)
      Returns all the asset categories where groupId = ? and vocabularyId = ?.
      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end)
      Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByG_V_First

      public com.liferay.asset.kernel.model.AssetCategory findByG_V_First(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Specified by:
      findByG_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_V_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_V_First(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Specified by:
      fetchByG_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByG_V_Last

      public com.liferay.asset.kernel.model.AssetCategory findByG_V_Last(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Specified by:
      findByG_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_V_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_V_Last(long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Specified by:
      fetchByG_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByG_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Specified by:
      findByG_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByG_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • filterFindByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long vocabularyId)
      Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories that the user has permission to view
    • filterFindByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories that the user has permission to view
    • filterFindByG_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
      Specified by:
      filterFindByG_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • filterGetByG_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • filterFindByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long[] groupIds, long[] vocabularyIds)
      Returns all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.
      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long[] groupIds, long[] vocabularyIds, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories that the user has permission to view
    • filterFindByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

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

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds)
      Returns all the asset categories where groupId = any ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      Returns:
      the matching asset categories
    • findByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end)
      Returns a range of all the asset categories where groupId = any ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = any ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByG_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • removeByG_V

      public void removeByG_V(long groupId, long vocabularyId)
      Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.
      Specified by:
      removeByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
    • countByG_V

      public int countByG_V(long groupId, long vocabularyId)
      Returns the number of asset categories where groupId = ? and vocabularyId = ?.
      Specified by:
      countByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • countByG_V

      public int countByG_V(long[] groupIds, long[] vocabularyIds)
      Returns the number of asset categories where groupId = any ? and vocabularyId = any ?.
      Specified by:
      countByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      Returns:
      the number of matching asset categories
    • filterCountByG_V

      public int filterCountByG_V(long groupId, long vocabularyId)
      Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
      Specified by:
      filterCountByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • filterCountByG_V

      public int filterCountByG_V(long[] groupIds, long[] vocabularyIds)
      Returns the number of asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.
      Specified by:
      filterCountByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByP_N

      public List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name)
      Returns all the asset categories where parentCategoryId = ? and name = ?.
      Specified by:
      findByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      Returns:
      the matching asset categories
    • findByP_N

      public List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end)
      Returns a range of all the asset categories where parentCategoryId = ? and name = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByP_N

      public List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByP_N

      public List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByP_N_First

      public com.liferay.asset.kernel.model.AssetCategory findByP_N_First(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
      Specified by:
      findByP_N_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByP_N_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByP_N_First(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
      Specified by:
      fetchByP_N_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByP_N_Last

      public com.liferay.asset.kernel.model.AssetCategory findByP_N_Last(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
      Specified by:
      findByP_N_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByP_N_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByP_N_Last(long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
      Specified by:
      fetchByP_N_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByP_N_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.
      Specified by:
      findByP_N_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      parentCategoryId - the parent category ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByP_N_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByP_N

      public void removeByP_N(long parentCategoryId, String name)
      Removes all the asset categories where parentCategoryId = ? and name = ? from the database.
      Specified by:
      removeByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
    • countByP_N

      public int countByP_N(long parentCategoryId, String name)
      Returns the number of asset categories where parentCategoryId = ? and name = ?.
      Specified by:
      countByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      Returns:
      the number of matching asset categories
    • findByP_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId)
      Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      findByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByP_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end)
      Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByP_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByP_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByP_V_First

      public com.liferay.asset.kernel.model.AssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      findByP_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByP_V_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByP_V_First(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      fetchByP_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByP_V_Last

      public com.liferay.asset.kernel.model.AssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      findByP_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByP_V_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByP_V_Last(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      fetchByP_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByP_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      findByP_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByP_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByP_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByP_V

      public void removeByP_V(long parentCategoryId, long vocabularyId)
      Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.
      Specified by:
      removeByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
    • countByP_V

      public int countByP_V(long parentCategoryId, long vocabularyId)
      Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      countByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • findByN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId)
      Returns all the asset categories where name = ? and vocabularyId = ?.
      Specified by:
      findByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId, int start, int end)
      Returns a range of all the asset categories where name = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByN_V_First

      public com.liferay.asset.kernel.model.AssetCategory findByN_V_First(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
      Specified by:
      findByN_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByN_V_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByN_V_First(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
      Specified by:
      fetchByN_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByN_V_Last

      public com.liferay.asset.kernel.model.AssetCategory findByN_V_Last(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
      Specified by:
      findByN_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByN_V_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByN_V_Last(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
      Specified by:
      fetchByN_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByN_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByN_V_PrevAndNext(long categoryId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.
      Specified by:
      findByN_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByN_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByN_V

      public void removeByN_V(String name, long vocabularyId)
      Removes all the asset categories where name = ? and vocabularyId = ? from the database.
      Specified by:
      removeByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
    • countByN_V

      public int countByN_V(String name, long vocabularyId)
      Returns the number of asset categories where name = ? and vocabularyId = ?.
      Specified by:
      countByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • findByG_P_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      findByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByG_P_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
      Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByG_P_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByG_P_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByG_P_V_First

      public com.liferay.asset.kernel.model.AssetCategory findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      findByG_P_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_P_V_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      fetchByG_P_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByG_P_V_Last

      public com.liferay.asset.kernel.model.AssetCategory findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      findByG_P_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_P_V_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      fetchByG_P_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByG_P_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      findByG_P_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByG_P_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • filterFindByG_P_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      filterFindByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_P_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories that the user has permission to view
    • filterFindByG_P_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories that the user has permission to view
    • filterFindByG_P_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      filterFindByG_P_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • filterGetByG_P_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByG_P_V

      public void removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.
      Specified by:
      removeByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
    • countByG_P_V

      public int countByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      countByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • filterCountByG_P_V

      public int filterCountByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Specified by:
      filterCountByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByG_LikeT_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId)
      Returns all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      findByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByG_LikeT_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end)
      Returns a range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByG_LikeT_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByG_LikeT_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByG_LikeT_V_First

      public com.liferay.asset.kernel.model.AssetCategory findByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      findByG_LikeT_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_LikeT_V_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      fetchByG_LikeT_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByG_LikeT_V_Last

      public com.liferay.asset.kernel.model.AssetCategory findByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      findByG_LikeT_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_LikeT_V_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      fetchByG_LikeT_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByG_LikeT_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      findByG_LikeT_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByG_LikeT_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByG_LikeT_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • filterFindByG_LikeT_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId)
      Returns all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      filterFindByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_LikeT_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories that the user has permission to view
    • filterFindByG_LikeT_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories that the user has permission to view
    • filterFindByG_LikeT_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      filterFindByG_LikeT_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • filterGetByG_LikeT_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_LikeT_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String treePath, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • removeByG_LikeT_V

      public void removeByG_LikeT_V(long groupId, String treePath, long vocabularyId)
      Removes all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ? from the database.
      Specified by:
      removeByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
    • countByG_LikeT_V

      public int countByG_LikeT_V(long groupId, String treePath, long vocabularyId)
      Returns the number of asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      countByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • filterCountByG_LikeT_V

      public int filterCountByG_LikeT_V(long groupId, String treePath, long vocabularyId)
      Returns the number of asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Specified by:
      filterCountByG_LikeT_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId)
      Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
      Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • findByG_LikeN_V_First

      public com.liferay.asset.kernel.model.AssetCategory findByG_LikeN_V_First(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      findByG_LikeN_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_LikeN_V_First

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeN_V_First(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      fetchByG_LikeN_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category, or null if a matching asset category could not be found
    • findByG_LikeN_V_Last

      public com.liferay.asset.kernel.model.AssetCategory findByG_LikeN_V_Last(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      findByG_LikeN_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByG_LikeN_V_Last

      public com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeN_V_Last(long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      fetchByG_LikeN_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category, or null if a matching asset category could not be found
    • findByG_LikeN_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      findByG_LikeN_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • getByG_LikeN_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory getByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • filterFindByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId)
      Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      filterFindByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories that the user has permission to view
    • filterFindByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories that the user has permission to view
    • filterFindByG_LikeN_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      filterFindByG_LikeN_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • filterGetByG_LikeN_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetCategory filterGetByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategory assetCategory, long groupId, String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean previous)
    • filterFindByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds)
      Returns all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.
      Specified by:
      filterFindByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      filterFindByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories that the user has permission to view
    • filterFindByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

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

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds)
      Returns all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      Returns:
      the matching asset categories
    • findByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end)
      Returns a range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of matching asset categories
    • findByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset categories
    • findByG_LikeN_V

      public List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?, optionally using the finder cache.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • removeByG_LikeN_V

      public void removeByG_LikeN_V(long groupId, String name, long vocabularyId)
      Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database.
      Specified by:
      removeByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
    • countByG_LikeN_V

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

      public int countByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds)
      Returns the number of asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.
      Specified by:
      countByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      Returns:
      the number of matching asset categories
    • filterCountByG_LikeN_V

      public int filterCountByG_LikeN_V(long groupId, String name, long vocabularyId)
      Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
      Specified by:
      filterCountByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • filterCountByG_LikeN_V

      public int filterCountByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds)
      Returns the number of asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.
      Specified by:
      filterCountByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByP_N_V

      public com.liferay.asset.kernel.model.AssetCategory findByP_N_V(long parentCategoryId, String name, long vocabularyId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a NoSuchCategoryException if it could not be found.
      Specified by:
      findByP_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByP_N_V

      public com.liferay.asset.kernel.model.AssetCategory fetchByP_N_V(long parentCategoryId, String name, long vocabularyId)
      Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByP_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset category, or null if a matching asset category could not be found
    • fetchByP_N_V

      public com.liferay.asset.kernel.model.AssetCategory fetchByP_N_V(long parentCategoryId, String name, long vocabularyId, boolean useFinderCache)
      Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByP_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      vocabularyId - the vocabulary ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset category, or null if a matching asset category could not be found
    • removeByP_N_V

      public com.liferay.asset.kernel.model.AssetCategory removeByP_N_V(long parentCategoryId, String name, long vocabularyId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
      Specified by:
      removeByP_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the asset category that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException
    • countByP_N_V

      public int countByP_N_V(long parentCategoryId, String name, long vocabularyId)
      Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.
      Specified by:
      countByP_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • findByERC_G

      public com.liferay.asset.kernel.model.AssetCategory findByERC_G(String externalReferenceCode, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset category where externalReferenceCode = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.
      Specified by:
      findByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be found
    • fetchByERC_G

      public com.liferay.asset.kernel.model.AssetCategory fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the asset category where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching asset category, or null if a matching asset category could not be found
    • fetchByERC_G

      public com.liferay.asset.kernel.model.AssetCategory fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the asset category where externalReferenceCode = ? and groupId = ? or 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.AssetCategoryPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset category, or null if a matching asset category could not be found
    • removeByERC_G

      public com.liferay.asset.kernel.model.AssetCategory removeByERC_G(String externalReferenceCode, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Removes the asset category where externalReferenceCode = ? and groupId = ? from the database.
      Specified by:
      removeByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the asset category that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException
    • countByERC_G

      public int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of asset categories where externalReferenceCode = ? and groupId = ?.
      Specified by:
      countByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching asset categories
    • cacheResult

      public void cacheResult(com.liferay.asset.kernel.model.AssetCategory assetCategory)
      Caches the asset category in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
      Parameters:
      assetCategory - the asset category
    • cacheResult

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

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

      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.AssetCategory>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
    • clearCache

      public void clearCache(com.liferay.asset.kernel.model.AssetCategory assetCategory)
      Clears the cache for the asset category.

      The EntityCache 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.AssetCategory>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
    • clearCache

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

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

      protected void cacheUniqueFindersCache(AssetCategoryModelImpl assetCategoryModelImpl)
    • create

      public com.liferay.asset.kernel.model.AssetCategory create(long categoryId)
      Creates a new asset category with the primary key. Does not add the asset category to the database.
      Specified by:
      create in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key for the new asset category
      Returns:
      the new asset category
    • remove

      public com.liferay.asset.kernel.model.AssetCategory remove(long categoryId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the asset category
      Returns:
      the asset category that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • remove

      public com.liferay.asset.kernel.model.AssetCategory remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
      Parameters:
      primaryKey - the primary key of the asset category
      Returns:
      the asset category that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • removeImpl

      protected com.liferay.asset.kernel.model.AssetCategory removeImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
    • updateImpl

      public com.liferay.asset.kernel.model.AssetCategory updateImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory)
      Specified by:
      updateImpl in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
    • findByPrimaryKey

      public com.liferay.asset.kernel.model.AssetCategory findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset category with the primary key or throws 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.AssetCategory>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
      Parameters:
      primaryKey - the primary key of the asset category
      Returns:
      the asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.asset.kernel.model.AssetCategory findByPrimaryKey(long categoryId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
      Returns the asset category with the primary key or throws a NoSuchCategoryException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the asset category
      Returns:
      the asset category
      Throws:
      com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.asset.kernel.model.AssetCategory fetchByPrimaryKey(Serializable primaryKey)
      Returns the asset category 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.AssetCategory>
      Overrides:
      fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
      Parameters:
      primaryKey - the primary key of the asset category
      Returns:
      the asset category, or null if a asset category with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.asset.kernel.model.AssetCategory fetchByPrimaryKey(long categoryId)
      Returns the asset category with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      categoryId - the primary key of the asset category
      Returns:
      the asset category, or null if a asset category with the primary key could not be found
    • fetchByPrimaryKeys

      public Map<Serializable,com.liferay.asset.kernel.model.AssetCategory> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Specified by:
      fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
    • findAll

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

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

      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 AssetCategoryModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      Returns:
      the range of asset categories
    • findAll

      public List<com.liferay.asset.kernel.model.AssetCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of asset categories
    • findAll

      public List<com.liferay.asset.kernel.model.AssetCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories.

      Useful when paginating results. Returns a maximum of end - start instances. start 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 AssetCategoryModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
      Parameters:
      start - the lower bound of the range of asset categories
      end - the upper bound of the range of asset categories (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 categories
    • removeAll

      public void removeAll()
      Removes all the asset categories from the database.
      Specified by:
      removeAll in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
    • countAll

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

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
    • getPKDBName

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

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

      public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
      Specified by:
      getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
    • 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.AssetCategory>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
    • getTableName

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

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetCategory>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the asset category persistence.
    • destroy

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>