Class AssetVocabularyGroupRelUtil

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

public class AssetVocabularyGroupRelUtil extends Object
The persistence utility for the asset vocabulary group rel service. This utility wraps com.liferay.portlet.asset.service.persistence.impl.AssetVocabularyGroupRelPersistenceImpl 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

    • AssetVocabularyGroupRelUtil

      public AssetVocabularyGroupRelUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
    • clearCache

      public static void clearCache(AssetVocabularyGroupRel assetVocabularyGroupRel)
      See Also:
    • countWithDynamicQuery

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

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

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

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

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

      public static AssetVocabularyGroupRel update(AssetVocabularyGroupRel assetVocabularyGroupRel)
      See Also:
    • update

      public static AssetVocabularyGroupRel update(AssetVocabularyGroupRel assetVocabularyGroupRel, ServiceContext serviceContext)
      See Also:
    • findByUuid

      public static List<AssetVocabularyGroupRel> findByUuid(String uuid)
      Returns all the asset vocabulary group rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching asset vocabulary group rels
    • findByUuid

      public static List<AssetVocabularyGroupRel> findByUuid(String uuid, int start, int end)
      Returns a range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      Returns:
      the range of matching asset vocabulary group rels
    • findByUuid

      public static List<AssetVocabularyGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns an ordered range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset vocabulary group rels
    • findByUuid

      public static List<AssetVocabularyGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (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 vocabulary group rels
    • findByUuid_First

      public static AssetVocabularyGroupRel findByUuid_First(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the first asset vocabulary group rel 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 vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByUuid_First

      public static AssetVocabularyGroupRel fetchByUuid_First(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns the first asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • findByUuid_Last

      public static AssetVocabularyGroupRel findByUuid_Last(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the last asset vocabulary group rel 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 vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByUuid_Last

      public static AssetVocabularyGroupRel fetchByUuid_Last(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns the last asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • findByUuid_PrevAndNext

      public static AssetVocabularyGroupRel[] findByUuid_PrevAndNext(long assetVocabularyGroupRelId, String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ?.
      Parameters:
      assetVocabularyGroupRelId - the primary key of the current asset vocabulary group rel
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a asset vocabulary group rel with the primary key could not be found
      NoSuchVocabularyGroupRelException
    • removeByUuid

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

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

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

      public static AssetVocabularyGroupRel fetchByUUID_G(String uuid, long groupId)
      Returns the asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • fetchByUUID_G

      public static AssetVocabularyGroupRel fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • removeByUUID_G

      public static AssetVocabularyGroupRel removeByUUID_G(String uuid, long groupId) throws NoSuchVocabularyGroupRelException
      Removes the asset vocabulary group rel where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the asset vocabulary group rel that was removed
      Throws:
      NoSuchVocabularyGroupRelException
    • countByUUID_G

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

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

      public static List<AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      Returns:
      the range of matching asset vocabulary group rels
    • findByUuid_C

      public static List<AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns an ordered range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset vocabulary group rels
    • findByUuid_C

      public static List<AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (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 vocabulary group rels
    • findByUuid_C_First

      public static AssetVocabularyGroupRel findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the first asset vocabulary group rel 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 vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByUuid_C_First

      public static AssetVocabularyGroupRel fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns the first asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • findByUuid_C_Last

      public static AssetVocabularyGroupRel findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the last asset vocabulary group rel 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 vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByUuid_C_Last

      public static AssetVocabularyGroupRel fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns the last asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • findByUuid_C_PrevAndNext

      public static AssetVocabularyGroupRel[] findByUuid_C_PrevAndNext(long assetVocabularyGroupRelId, String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      assetVocabularyGroupRelId - the primary key of the current asset vocabulary group rel
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a asset vocabulary group rel with the primary key could not be found
      NoSuchVocabularyGroupRelException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the asset vocabulary group rels 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 vocabulary group rels where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching asset vocabulary group rels
    • findByGroupId

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

      public static List<AssetVocabularyGroupRel> findByGroupId(long groupId, int start, int end)
      Returns a range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      Returns:
      the range of matching asset vocabulary group rels
    • findByGroupId

      public static List<AssetVocabularyGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns an ordered range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset vocabulary group rels
    • findByGroupId

      public static List<AssetVocabularyGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (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 vocabulary group rels
    • findByGroupId_First

      public static AssetVocabularyGroupRel findByGroupId_First(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the first asset vocabulary group rel 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 vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByGroupId_First

      public static AssetVocabularyGroupRel fetchByGroupId_First(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns the first asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • findByGroupId_Last

      public static AssetVocabularyGroupRel findByGroupId_Last(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the last asset vocabulary group rel 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 vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByGroupId_Last

      public static AssetVocabularyGroupRel fetchByGroupId_Last(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns the last asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • findByGroupId_PrevAndNext

      public static AssetVocabularyGroupRel[] findByGroupId_PrevAndNext(long assetVocabularyGroupRelId, long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where groupId = ?.
      Parameters:
      assetVocabularyGroupRelId - the primary key of the current asset vocabulary group rel
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a asset vocabulary group rel with the primary key could not be found
      NoSuchVocabularyGroupRelException
    • removeByGroupId

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

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

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

      public static List<AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId, int start, int end)
      Returns a range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      Returns:
      the range of matching asset vocabulary group rels
    • findByVocabularyId

      public static List<AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns an ordered range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset vocabulary group rels
    • findByVocabularyId

      public static List<AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset vocabulary group rels 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 AssetVocabularyGroupRelModelImpl.

      Parameters:
      vocabularyId - the vocabulary ID
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (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 vocabulary group rels
    • findByVocabularyId_First

      public static AssetVocabularyGroupRel findByVocabularyId_First(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the first asset vocabulary group rel 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 vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByVocabularyId_First

      public static AssetVocabularyGroupRel fetchByVocabularyId_First(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns the first asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • findByVocabularyId_Last

      public static AssetVocabularyGroupRel findByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the last asset vocabulary group rel 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 vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByVocabularyId_Last

      public static AssetVocabularyGroupRel fetchByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns the last asset vocabulary group rel 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 vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • findByVocabularyId_PrevAndNext

      public static AssetVocabularyGroupRel[] findByVocabularyId_PrevAndNext(long assetVocabularyGroupRelId, long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException
      Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where vocabularyId = ?.
      Parameters:
      assetVocabularyGroupRelId - the primary key of the current asset vocabulary group rel
      vocabularyId - the vocabulary ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a asset vocabulary group rel with the primary key could not be found
      NoSuchVocabularyGroupRelException
    • removeByVocabularyId

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

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

      public static AssetVocabularyGroupRel findByG_V(long groupId, long vocabularyId) throws NoSuchVocabularyGroupRelException
      Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or throws a NoSuchVocabularyGroupRelException if it could not be found.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a matching asset vocabulary group rel could not be found
      NoSuchVocabularyGroupRelException
    • fetchByG_V

      public static AssetVocabularyGroupRel fetchByG_V(long groupId, long vocabularyId)
      Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the matching asset vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • fetchByG_V

      public static AssetVocabularyGroupRel fetchByG_V(long groupId, long vocabularyId, boolean useFinderCache)
      Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset vocabulary group rel, or null if a matching asset vocabulary group rel could not be found
    • removeByG_V

      public static AssetVocabularyGroupRel removeByG_V(long groupId, long vocabularyId) throws NoSuchVocabularyGroupRelException
      Removes the asset vocabulary group rel where groupId = ? and vocabularyId = ? from the database.
      Parameters:
      groupId - the group ID
      vocabularyId - the vocabulary ID
      Returns:
      the asset vocabulary group rel that was removed
      Throws:
      NoSuchVocabularyGroupRelException
    • countByG_V

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

      public static void cacheResult(AssetVocabularyGroupRel assetVocabularyGroupRel)
      Caches the asset vocabulary group rel in the entity cache if it is enabled.
      Parameters:
      assetVocabularyGroupRel - the asset vocabulary group rel
    • cacheResult

      public static void cacheResult(List<AssetVocabularyGroupRel> assetVocabularyGroupRels)
      Caches the asset vocabulary group rels in the entity cache if it is enabled.
      Parameters:
      assetVocabularyGroupRels - the asset vocabulary group rels
    • create

      public static AssetVocabularyGroupRel create(long assetVocabularyGroupRelId)
      Creates a new asset vocabulary group rel with the primary key. Does not add the asset vocabulary group rel to the database.
      Parameters:
      assetVocabularyGroupRelId - the primary key for the new asset vocabulary group rel
      Returns:
      the new asset vocabulary group rel
    • remove

      public static AssetVocabularyGroupRel remove(long assetVocabularyGroupRelId) throws NoSuchVocabularyGroupRelException
      Removes the asset vocabulary group rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      assetVocabularyGroupRelId - the primary key of the asset vocabulary group rel
      Returns:
      the asset vocabulary group rel that was removed
      Throws:
      NoSuchVocabularyGroupRelException - if a asset vocabulary group rel with the primary key could not be found
      NoSuchVocabularyGroupRelException
    • updateImpl

      public static AssetVocabularyGroupRel updateImpl(AssetVocabularyGroupRel assetVocabularyGroupRel)
    • findByPrimaryKey

      public static AssetVocabularyGroupRel findByPrimaryKey(long assetVocabularyGroupRelId) throws NoSuchVocabularyGroupRelException
      Returns the asset vocabulary group rel with the primary key or throws a NoSuchVocabularyGroupRelException if it could not be found.
      Parameters:
      assetVocabularyGroupRelId - the primary key of the asset vocabulary group rel
      Returns:
      the asset vocabulary group rel
      Throws:
      NoSuchVocabularyGroupRelException - if a asset vocabulary group rel with the primary key could not be found
      NoSuchVocabularyGroupRelException
    • fetchByPrimaryKey

      public static AssetVocabularyGroupRel fetchByPrimaryKey(long assetVocabularyGroupRelId)
      Returns the asset vocabulary group rel with the primary key or returns null if it could not be found.
      Parameters:
      assetVocabularyGroupRelId - the primary key of the asset vocabulary group rel
      Returns:
      the asset vocabulary group rel, or null if a asset vocabulary group rel with the primary key could not be found
    • findAll

      public static List<AssetVocabularyGroupRel> findAll()
      Returns all the asset vocabulary group rels.
      Returns:
      the asset vocabulary group rels
    • findAll

      public static List<AssetVocabularyGroupRel> findAll(int start, int end)
      Returns a range of all the asset vocabulary group rels.

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

      Parameters:
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      Returns:
      the range of asset vocabulary group rels
    • findAll

      public static List<AssetVocabularyGroupRel> findAll(int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator)
      Returns an ordered range of all the asset vocabulary group rels.

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

      Parameters:
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of asset vocabulary group rels
    • findAll

      public static List<AssetVocabularyGroupRel> findAll(int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset vocabulary group rels.

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

      Parameters:
      start - the lower bound of the range of asset vocabulary group rels
      end - the upper bound of the range of asset vocabulary group rels (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 vocabulary group rels
    • removeAll

      public static void removeAll()
      Removes all the asset vocabulary group rels from the database.
    • countAll

      public static int countAll()
      Returns the number of asset vocabulary group rels.
      Returns:
      the number of asset vocabulary group rels
    • getPersistence

      public static AssetVocabularyGroupRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(AssetVocabularyGroupRelPersistence persistence)