Interface AssetVocabularyGroupRelPersistence

All Superinterfaces:
BasePersistence<AssetVocabularyGroupRel>, CTPersistence<AssetVocabularyGroupRel>

@ProviderType public interface AssetVocabularyGroupRelPersistence extends BasePersistence<AssetVocabularyGroupRel>, CTPersistence<AssetVocabularyGroupRel>
The persistence interface for the asset vocabulary group rel service.

Caching information and settings can be found in portal.properties

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

    • findByUuid

      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

      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

      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

      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

      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
    • fetchByUuid_First

      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

      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
    • fetchByUuid_Last

      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

      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
    • removeByUuid

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

      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

      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
    • fetchByUUID_G

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByUuid_C_First

      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

      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
    • fetchByUuid_C_Last

      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

      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
    • removeByUuid_C

      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

      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

      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

      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

      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

      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

      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
    • fetchByGroupId_First

      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

      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
    • fetchByGroupId_Last

      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

      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
    • removeByGroupId

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

      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

      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

      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

      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

      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

      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
    • fetchByVocabularyId_First

      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

      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
    • fetchByVocabularyId_Last

      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

      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
    • removeByVocabularyId

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

      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

      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
    • fetchByG_V

      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

      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

      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

      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

      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

      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

      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

      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
    • updateImpl

      AssetVocabularyGroupRel updateImpl(AssetVocabularyGroupRel assetVocabularyGroupRel)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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

      Returns all the asset vocabulary group rels.
      Returns:
      the asset vocabulary group rels
    • findAll

      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

      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

      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

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

      int countAll()
      Returns the number of asset vocabulary group rels.
      Returns:
      the number of asset vocabulary group rels