Class AssetCategoryUtil

Object
com.liferay.asset.kernel.service.persistence.AssetCategoryUtil

public class AssetCategoryUtil extends Object
The persistence utility for the asset category service. This utility wraps com.liferay.portlet.asset.service.persistence.impl.AssetCategoryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • AssetCategoryUtil

      public AssetCategoryUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
    • clearCache

      public static void clearCache(AssetCategory assetCategory)
      See Also:
    • countWithDynamicQuery

      public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
      See Also:
    • fetchByPrimaryKeys

      public static Map<Serializable,AssetCategory> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
    • findWithDynamicQuery

      public static List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery)
      See Also:
    • findWithDynamicQuery

      public static List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
      See Also:
    • findWithDynamicQuery

      public static List<AssetCategory> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      See Also:
    • update

      public static AssetCategory update(AssetCategory assetCategory)
      See Also:
    • update

      public static AssetCategory update(AssetCategory assetCategory, ServiceContext serviceContext)
      See Also:
    • findByUuid

      public static List<AssetCategory> findByUuid(String uuid)
      Returns all the asset categories where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching asset categories
    • findByUuid

      public static List<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.

      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 static List<AssetCategory> findByUuid(String uuid, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where uuid = ?.

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

      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 static List<AssetCategory> findByUuid(String uuid, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where uuid = ?.

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

      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 static AssetCategory findByUuid_First(String uuid, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByUuid_First

      public static AssetCategory fetchByUuid_First(String uuid, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where uuid = ?.
      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 static AssetCategory findByUuid_Last(String uuid, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByUuid_Last

      public static AssetCategory fetchByUuid_Last(String uuid, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where uuid = ?.
      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 static AssetCategory[] findByUuid_PrevAndNext(long categoryId, String uuid, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.
      Parameters:
      categoryId - the primary key of the current asset category
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the asset categories where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of asset categories where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching asset categories
    • findByUUID_G

      public static AssetCategory findByUUID_G(String uuid, long groupId) throws NoSuchCategoryException
      Returns the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByUUID_G

      public static 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.
      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 static 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.
      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 static AssetCategory removeByUUID_G(String uuid, long groupId) throws NoSuchCategoryException
      Removes the asset category where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the asset category that was removed
      Throws:
      NoSuchCategoryException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of asset categories where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching asset categories
    • findByUuid_C

      public static List<AssetCategory> findByUuid_C(String uuid, long companyId)
      Returns all the asset categories where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching asset categories
    • findByUuid_C

      public static List<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.

      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 static List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.

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

      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 static List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.

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

      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 static AssetCategory findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByUuid_C_First

      public static AssetCategory fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the 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 static AssetCategory findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByUuid_C_Last

      public static AssetCategory fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the 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 static AssetCategory[] findByUuid_C_PrevAndNext(long categoryId, String uuid, long companyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the asset categories where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of asset categories where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching asset categories
    • findByGroupId

      public static List<AssetCategory> findByGroupId(long groupId)
      Returns all the asset categories where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching asset categories
    • findByGroupId

      public static List<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.

      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 static List<AssetCategory> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ?.

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

      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 static List<AssetCategory> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ?.

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

      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 static AssetCategory findByGroupId_First(long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByGroupId_First

      public static AssetCategory fetchByGroupId_First(long groupId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ?.
      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 static AssetCategory findByGroupId_Last(long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByGroupId_Last

      public static AssetCategory fetchByGroupId_Last(long groupId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ?.
      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 static AssetCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • filterFindByGroupId

      public static List<AssetCategory> filterFindByGroupId(long groupId)
      Returns all the asset categories that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByGroupId

      public static List<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.

      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 static List<AssetCategory> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.

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

      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 static AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?.
      Parameters:
      categoryId - the primary key of the current asset category
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the asset categories where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of asset categories where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching asset categories
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of asset categories that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByParentCategoryId

      public static List<AssetCategory> findByParentCategoryId(long parentCategoryId)
      Returns all the asset categories where parentCategoryId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      Returns:
      the matching asset categories
    • findByParentCategoryId

      public static List<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.

      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 static List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where parentCategoryId = ?.

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

      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 static List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where parentCategoryId = ?.

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

      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 static AssetCategory findByParentCategoryId_First(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where parentCategoryId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByParentCategoryId_First

      public static AssetCategory fetchByParentCategoryId_First(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where parentCategoryId = ?.
      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 static AssetCategory findByParentCategoryId_Last(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where parentCategoryId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByParentCategoryId_Last

      public static AssetCategory fetchByParentCategoryId_Last(long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where parentCategoryId = ?.
      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 static AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByParentCategoryId

      public static void removeByParentCategoryId(long parentCategoryId)
      Removes all the asset categories where parentCategoryId = ? from the database.
      Parameters:
      parentCategoryId - the parent category ID
    • countByParentCategoryId

      public static int countByParentCategoryId(long parentCategoryId)
      Returns the number of asset categories where parentCategoryId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      Returns:
      the number of matching asset categories
    • findByVocabularyId

      public static List<AssetCategory> findByVocabularyId(long vocabularyId)
      Returns all the asset categories where vocabularyId = ?.
      Parameters:
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByVocabularyId

      public static List<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.

      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 static List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where vocabularyId = ?.

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

      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 static List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where vocabularyId = ?.

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

      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 static AssetCategory findByVocabularyId_First(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where vocabularyId = ?.
      Parameters:
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByVocabularyId_First

      public static AssetCategory fetchByVocabularyId_First(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where vocabularyId = ?.
      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 static AssetCategory findByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where vocabularyId = ?.
      Parameters:
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByVocabularyId_Last

      public static AssetCategory fetchByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where vocabularyId = ?.
      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 static AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset category
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset category
      Throws:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByVocabularyId

      public static void removeByVocabularyId(long vocabularyId)
      Removes all the asset categories where vocabularyId = ? from the database.
      Parameters:
      vocabularyId - the vocabulary ID
    • countByVocabularyId

      public static int countByVocabularyId(long vocabularyId)
      Returns the number of asset categories where vocabularyId = ?.
      Parameters:
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • findByG_P

      public static List<AssetCategory> findByG_P(long groupId, long parentCategoryId)
      Returns all the asset categories where groupId = ? and parentCategoryId = ?.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      Returns:
      the matching asset categories
    • findByG_P

      public static List<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.

      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 static List<AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.

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

      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 static List<AssetCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ?.

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

      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 static AssetCategory findByG_P_First(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_P_First

      public static AssetCategory fetchByG_P_First(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory findByG_P_Last(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_P_Last

      public static AssetCategory fetchByG_P_Last(long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • filterFindByG_P

      public static List<AssetCategory> filterFindByG_P(long groupId, long parentCategoryId)
      Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
      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 static List<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.

      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 static List<AssetCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ?.

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

      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 static AssetCategory[] filterFindByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByG_P

      public static void removeByG_P(long groupId, long parentCategoryId)
      Removes all the asset categories where groupId = ? and parentCategoryId = ? from the database.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
    • countByG_P

      public static int countByG_P(long groupId, long parentCategoryId)
      Returns the number of asset categories where groupId = ? and parentCategoryId = ?.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      Returns:
      the number of matching asset categories
    • filterCountByG_P

      public static int filterCountByG_P(long groupId, long parentCategoryId)
      Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ?.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByG_V

      public static List<AssetCategory> findByG_V(long groupId, long vocabularyId)
      Returns all the asset categories where groupId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByG_V

      public static List<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.

      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 static List<AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.

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

      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 static List<AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.

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

      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 static AssetCategory findByG_V_First(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_V_First

      public static AssetCategory fetchByG_V_First(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory findByG_V_Last(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_V_Last

      public static AssetCategory fetchByG_V_Last(long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory[] findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • filterFindByG_V

      public static List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId)
      Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_V

      public static List<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.

      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 static List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.

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

      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 static AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • filterFindByG_V

      public static List<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 ?.
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      Returns:
      the matching asset categories that the user has permission to view
    • filterFindByG_V

      public static List<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.

      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 static List<AssetCategory> filterFindByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.

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

      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 static List<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.

      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      Returns:
      the matching asset categories
    • findByG_V

      public static List<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.

      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 static List<AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = any ? and vocabularyId = any ?.

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

      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 static List<AssetCategory> findByG_V(long[] groupIds, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache.

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

      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 static void removeByG_V(long groupId, long vocabularyId)
      Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
    • countByG_V

      public static int countByG_V(long groupId, long vocabularyId)
      Returns the number of asset categories where groupId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • countByG_V

      public static int countByG_V(long[] groupIds, long[] vocabularyIds)
      Returns the number of asset categories where groupId = any ? and vocabularyId = any ?.
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      Returns:
      the number of matching asset categories
    • filterCountByG_V

      public static int filterCountByG_V(long groupId, long vocabularyId)
      Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories that the user has permission to view
    • filterCountByG_V

      public static int filterCountByG_V(long[] groupIds, long[] vocabularyIds)
      Returns the number of asset categories that the user has permission to view where groupId = any ? and vocabularyId = any ?.
      Parameters:
      groupIds - the group IDs
      vocabularyIds - the vocabulary IDs
      Returns:
      the number of matching asset categories that the user has permission to view
    • findByP_N

      public static List<AssetCategory> findByP_N(long parentCategoryId, String name)
      Returns all the asset categories where parentCategoryId = ? and name = ?.
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      Returns:
      the matching asset categories
    • findByP_N

      public static List<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.

      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 static List<AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.

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

      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 static List<AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.

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

      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 static AssetCategory findByP_N_First(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByP_N_First

      public static AssetCategory fetchByP_N_First(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
      Parameters:
      parentCategoryId - the parent category 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 static AssetCategory findByP_N_Last(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByP_N_Last

      public static AssetCategory fetchByP_N_Last(long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
      Parameters:
      parentCategoryId - the parent category 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 static AssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, String name, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByP_N

      public static void removeByP_N(long parentCategoryId, String name)
      Removes all the asset categories where parentCategoryId = ? and name = ? from the database.
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
    • countByP_N

      public static int countByP_N(long parentCategoryId, String name)
      Returns the number of asset categories where parentCategoryId = ? and name = ?.
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      Returns:
      the number of matching asset categories
    • findByP_V

      public static List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId)
      Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByP_V

      public static List<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.

      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 static List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.

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

      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 static List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.

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

      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 static AssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByP_V_First

      public static AssetCategory fetchByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      parentCategoryId - the parent category 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 static AssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByP_V_Last

      public static AssetCategory fetchByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      parentCategoryId - the parent category 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 static AssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByP_V

      public static void removeByP_V(long parentCategoryId, long vocabularyId)
      Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
    • countByP_V

      public static int countByP_V(long parentCategoryId, long vocabularyId)
      Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • findByN_V

      public static List<AssetCategory> findByN_V(String name, long vocabularyId)
      Returns all the asset categories where name = ? and vocabularyId = ?.
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByN_V

      public static List<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.

      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 static List<AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.

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

      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 static List<AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.

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

      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 static AssetCategory findByN_V_First(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByN_V_First

      public static AssetCategory fetchByN_V_First(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
      Parameters:
      name - the 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 static AssetCategory findByN_V_Last(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByN_V_Last

      public static AssetCategory fetchByN_V_Last(String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
      Parameters:
      name - the 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 static AssetCategory[] findByN_V_PrevAndNext(long categoryId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByN_V

      public static void removeByN_V(String name, long vocabularyId)
      Removes all the asset categories where name = ? and vocabularyId = ? from the database.
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
    • countByN_V

      public static int countByN_V(String name, long vocabularyId)
      Returns the number of asset categories where name = ? and vocabularyId = ?.
      Parameters:
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • findByG_P_V

      public static List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByG_P_V

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

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

      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 static List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

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

      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 static List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

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

      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 static AssetCategory findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_P_V_First

      public static AssetCategory fetchByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_P_V_Last

      public static AssetCategory fetchByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory[] findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • filterFindByG_P_V

      public static List<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 = ?.
      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 static List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

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

      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 static List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

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

      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 static AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByG_P_V

      public static void removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
    • countByG_P_V

      public static int countByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      parentCategoryId - the parent category ID
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • filterCountByG_P_V

      public static int filterCountByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
      Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static List<AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId)
      Returns all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByG_LikeT_V

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

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

      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 static List<AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.

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

      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 static List<AssetCategory> findByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.

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

      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 static AssetCategory findByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_LikeT_V_First

      public static AssetCategory fetchByG_LikeT_V_First(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory findByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_LikeT_V_Last

      public static AssetCategory fetchByG_LikeT_V_Last(long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory[] findByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • filterFindByG_LikeT_V

      public static List<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 = ?.
      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 static List<AssetCategory> filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.

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

      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 static List<AssetCategory> filterFindByG_LikeT_V(long groupId, String treePath, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.

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

      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 static AssetCategory[] filterFindByG_LikeT_V_PrevAndNext(long categoryId, long groupId, String treePath, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • removeByG_LikeT_V

      public static 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.
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
    • countByG_LikeT_V

      public static int countByG_LikeT_V(long groupId, String treePath, long vocabularyId)
      Returns the number of asset categories where groupId = ? and treePath LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      treePath - the tree path
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • filterCountByG_LikeT_V

      public static 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 = ?.
      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 static List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId)
      Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset categories
    • findByG_LikeN_V

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

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

      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 static List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

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

      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 static List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

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

      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 static AssetCategory findByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_LikeN_V_First

      public static AssetCategory fetchByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory findByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByG_LikeN_V_Last

      public static AssetCategory fetchByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator)
      Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group 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 static AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • filterFindByG_LikeN_V

      public static List<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 = ?.
      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 static List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.

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

      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 static List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?.

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

      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 static AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator<AssetCategory> orderByComparator) throws NoSuchCategoryException
      Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
      Parameters:
      categoryId - the primary key of the current asset 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:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • filterFindByG_LikeN_V

      public static List<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 ?.
      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 static List<AssetCategory> filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end)
      Returns a range of all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.

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

      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 static List<AssetCategory> filterFindByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories that the user has permission to view where groupId = any ? and name LIKE ? and vocabularyId = any ?.

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

      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 static List<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.

      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      Returns:
      the matching asset categories
    • findByG_LikeN_V

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

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

      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 static List<AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
      Returns an ordered range of all the asset categories where groupId = any ? and name LIKE ? and vocabularyId = any ?.

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

      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 static List<AssetCategory> findByG_LikeN_V(long[] groupIds, String name, long[] vocabularyIds, int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?, optionally using the finder cache.

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

      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 static 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.
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
    • countByG_LikeN_V

      public static int countByG_LikeN_V(long groupId, String name, long vocabularyId)
      Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
      Parameters:
      groupId - the group ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • countByG_LikeN_V

      public static 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 ?.
      Parameters:
      groupIds - the group IDs
      name - the name
      vocabularyIds - the vocabulary IDs
      Returns:
      the number of matching asset categories
    • filterCountByG_LikeN_V

      public static 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 = ?.
      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 static 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 ?.
      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 static AssetCategory findByP_N_V(long parentCategoryId, String name, long vocabularyId) throws NoSuchCategoryException
      Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a NoSuchCategoryException if it could not be found.
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByP_N_V

      public static 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.
      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 static 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.
      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 static AssetCategory removeByP_N_V(long parentCategoryId, String name, long vocabularyId) throws NoSuchCategoryException
      Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the asset category that was removed
      Throws:
      NoSuchCategoryException
    • countByP_N_V

      public static int countByP_N_V(long parentCategoryId, String name, long vocabularyId)
      Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.
      Parameters:
      parentCategoryId - the parent category ID
      name - the name
      vocabularyId - the vocabulary ID
      Returns:
      the number of matching asset categories
    • findByERC_G

      public static AssetCategory findByERC_G(String externalReferenceCode, long groupId) throws NoSuchCategoryException
      Returns the asset category where externalReferenceCode = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching asset category
      Throws:
      NoSuchCategoryException - if a matching asset category could not be found
      NoSuchCategoryException
    • fetchByERC_G

      public static 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.
      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 static 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.
      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 static AssetCategory removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchCategoryException
      Removes the asset category where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the asset category that was removed
      Throws:
      NoSuchCategoryException
    • countByERC_G

      public static int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of asset categories where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching asset categories
    • cacheResult

      public static void cacheResult(AssetCategory assetCategory)
      Caches the asset category in the entity cache if it is enabled.
      Parameters:
      assetCategory - the asset category
    • cacheResult

      public static void cacheResult(List<AssetCategory> assetCategories)
      Caches the asset categories in the entity cache if it is enabled.
      Parameters:
      assetCategories - the asset categories
    • create

      public static AssetCategory create(long categoryId)
      Creates a new asset category with the primary key. Does not add the asset category to the database.
      Parameters:
      categoryId - the primary key for the new asset category
      Returns:
      the new asset category
    • remove

      public static AssetCategory remove(long categoryId) throws NoSuchCategoryException
      Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      categoryId - the primary key of the asset category
      Returns:
      the asset category that was removed
      Throws:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • updateImpl

      public static AssetCategory updateImpl(AssetCategory assetCategory)
    • findByPrimaryKey

      public static AssetCategory findByPrimaryKey(long categoryId) throws NoSuchCategoryException
      Returns the asset category with the primary key or throws a NoSuchCategoryException if it could not be found.
      Parameters:
      categoryId - the primary key of the asset category
      Returns:
      the asset category
      Throws:
      NoSuchCategoryException - if a asset category with the primary key could not be found
      NoSuchCategoryException
    • fetchByPrimaryKey

      public static AssetCategory fetchByPrimaryKey(long categoryId)
      Returns the asset category with the primary key or returns null if it could not be found.
      Parameters:
      categoryId - the primary key of the asset category
      Returns:
      the asset category, or null if a asset category with the primary key could not be found
    • findAll

      public static List<AssetCategory> findAll()
      Returns all the asset categories.
      Returns:
      the asset categories
    • findAll

      public static List<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.

      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 static List<AssetCategory> findAll(int start, int end, OrderByComparator<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.

      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 static List<AssetCategory> findAll(int start, int end, OrderByComparator<AssetCategory> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset categories.

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

      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 static void removeAll()
      Removes all the asset categories from the database.
    • countAll

      public static int countAll()
      Returns the number of asset categories.
      Returns:
      the number of asset categories
    • getPersistence

      public static AssetCategoryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(AssetCategoryPersistence persistence)