Interface AssetTagGroupRelPersistence

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

@ProviderType public interface AssetTagGroupRelPersistence extends BasePersistence<AssetTagGroupRel>, CTPersistence<AssetTagGroupRel>
The persistence interface for the asset tag 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<AssetTagGroupRel> findByUuid(String uuid)
      Returns all the asset tag group rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching asset tag group rels
    • findByUuid

      List<AssetTagGroupRel> findByUuid(String uuid, int start, int end)
      Returns a range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

      List<AssetTagGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator)
      Returns an ordered range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

      List<AssetTagGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      List<AssetTagGroupRel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

      List<AssetTagGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator)
      Returns an ordered range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

      List<AssetTagGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

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

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

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

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

      AssetTagGroupRel[] findByUuid_C_PrevAndNext(long assetTagGroupRelId, String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException
      Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      assetTagGroupRelId - the primary key of the current asset tag 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 tag group rel
      Throws:
      NoSuchTagGroupRelException - if a asset tag group rel with the primary key could not be found
    • removeByUuid_C

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

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

      List<AssetTagGroupRel> findByGroupId(long groupId, int start, int end)
      Returns a range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

      List<AssetTagGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator)
      Returns an ordered range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

      List<AssetTagGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

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

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

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

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

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

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

      int countByGroupId(long groupId)
      Returns the number of asset tag group rels where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching asset tag group rels
    • findByTagId

      List<AssetTagGroupRel> findByTagId(long tagId)
      Returns all the asset tag group rels where tagId = ?.
      Parameters:
      tagId - the tag ID
      Returns:
      the matching asset tag group rels
    • findByTagId

      List<AssetTagGroupRel> findByTagId(long tagId, int start, int end)
      Returns a range of all the asset tag group rels where tagId = ?.

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

      Parameters:
      tagId - the tag ID
      start - the lower bound of the range of asset tag group rels
      end - the upper bound of the range of asset tag group rels (not inclusive)
      Returns:
      the range of matching asset tag group rels
    • findByTagId

      List<AssetTagGroupRel> findByTagId(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator)
      Returns an ordered range of all the asset tag group rels where tagId = ?.

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

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

      List<AssetTagGroupRel> findByTagId(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset tag group rels where tagId = ?.

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

      Parameters:
      tagId - the tag ID
      start - the lower bound of the range of asset tag group rels
      end - the upper bound of the range of asset tag 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 tag group rels
    • findByTagId_First

      AssetTagGroupRel findByTagId_First(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException
      Returns the first asset tag group rel in the ordered set where tagId = ?.
      Parameters:
      tagId - the tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset tag group rel
      Throws:
      NoSuchTagGroupRelException - if a matching asset tag group rel could not be found
    • fetchByTagId_First

      AssetTagGroupRel fetchByTagId_First(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator)
      Returns the first asset tag group rel in the ordered set where tagId = ?.
      Parameters:
      tagId - the tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset tag group rel, or null if a matching asset tag group rel could not be found
    • findByTagId_Last

      AssetTagGroupRel findByTagId_Last(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException
      Returns the last asset tag group rel in the ordered set where tagId = ?.
      Parameters:
      tagId - the tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset tag group rel
      Throws:
      NoSuchTagGroupRelException - if a matching asset tag group rel could not be found
    • fetchByTagId_Last

      AssetTagGroupRel fetchByTagId_Last(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator)
      Returns the last asset tag group rel in the ordered set where tagId = ?.
      Parameters:
      tagId - the tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset tag group rel, or null if a matching asset tag group rel could not be found
    • findByTagId_PrevAndNext

      AssetTagGroupRel[] findByTagId_PrevAndNext(long assetTagGroupRelId, long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException
      Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where tagId = ?.
      Parameters:
      assetTagGroupRelId - the primary key of the current asset tag group rel
      tagId - the tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset tag group rel
      Throws:
      NoSuchTagGroupRelException - if a asset tag group rel with the primary key could not be found
    • removeByTagId

      void removeByTagId(long tagId)
      Removes all the asset tag group rels where tagId = ? from the database.
      Parameters:
      tagId - the tag ID
    • countByTagId

      int countByTagId(long tagId)
      Returns the number of asset tag group rels where tagId = ?.
      Parameters:
      tagId - the tag ID
      Returns:
      the number of matching asset tag group rels
    • findByG_T

      AssetTagGroupRel findByG_T(long groupId, long tagId) throws NoSuchTagGroupRelException
      Returns the asset tag group rel where groupId = ? and tagId = ? or throws a NoSuchTagGroupRelException if it could not be found.
      Parameters:
      groupId - the group ID
      tagId - the tag ID
      Returns:
      the matching asset tag group rel
      Throws:
      NoSuchTagGroupRelException - if a matching asset tag group rel could not be found
    • fetchByG_T

      AssetTagGroupRel fetchByG_T(long groupId, long tagId)
      Returns the asset tag group rel where groupId = ? and tagId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      tagId - the tag ID
      Returns:
      the matching asset tag group rel, or null if a matching asset tag group rel could not be found
    • fetchByG_T

      AssetTagGroupRel fetchByG_T(long groupId, long tagId, boolean useFinderCache)
      Returns the asset tag group rel where groupId = ? and tagId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      tagId - the tag ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset tag group rel, or null if a matching asset tag group rel could not be found
    • removeByG_T

      AssetTagGroupRel removeByG_T(long groupId, long tagId) throws NoSuchTagGroupRelException
      Removes the asset tag group rel where groupId = ? and tagId = ? from the database.
      Parameters:
      groupId - the group ID
      tagId - the tag ID
      Returns:
      the asset tag group rel that was removed
      Throws:
      NoSuchTagGroupRelException
    • countByG_T

      int countByG_T(long groupId, long tagId)
      Returns the number of asset tag group rels where groupId = ? and tagId = ?.
      Parameters:
      groupId - the group ID
      tagId - the tag ID
      Returns:
      the number of matching asset tag group rels
    • cacheResult

      void cacheResult(AssetTagGroupRel assetTagGroupRel)
      Caches the asset tag group rel in the entity cache if it is enabled.
      Parameters:
      assetTagGroupRel - the asset tag group rel
    • cacheResult

      void cacheResult(List<AssetTagGroupRel> assetTagGroupRels)
      Caches the asset tag group rels in the entity cache if it is enabled.
      Parameters:
      assetTagGroupRels - the asset tag group rels
    • create

      AssetTagGroupRel create(long assetTagGroupRelId)
      Creates a new asset tag group rel with the primary key. Does not add the asset tag group rel to the database.
      Parameters:
      assetTagGroupRelId - the primary key for the new asset tag group rel
      Returns:
      the new asset tag group rel
    • remove

      AssetTagGroupRel remove(long assetTagGroupRelId) throws NoSuchTagGroupRelException
      Removes the asset tag group rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      assetTagGroupRelId - the primary key of the asset tag group rel
      Returns:
      the asset tag group rel that was removed
      Throws:
      NoSuchTagGroupRelException - if a asset tag group rel with the primary key could not be found
    • updateImpl

      AssetTagGroupRel updateImpl(AssetTagGroupRel assetTagGroupRel)
    • findByPrimaryKey

      AssetTagGroupRel findByPrimaryKey(long assetTagGroupRelId) throws NoSuchTagGroupRelException
      Returns the asset tag group rel with the primary key or throws a NoSuchTagGroupRelException if it could not be found.
      Parameters:
      assetTagGroupRelId - the primary key of the asset tag group rel
      Returns:
      the asset tag group rel
      Throws:
      NoSuchTagGroupRelException - if a asset tag group rel with the primary key could not be found
    • fetchByPrimaryKey

      AssetTagGroupRel fetchByPrimaryKey(long assetTagGroupRelId)
      Returns the asset tag group rel with the primary key or returns null if it could not be found.
      Parameters:
      assetTagGroupRelId - the primary key of the asset tag group rel
      Returns:
      the asset tag group rel, or null if a asset tag group rel with the primary key could not be found
    • findAll

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

      List<AssetTagGroupRel> findAll(int start, int end)
      Returns a range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

      List<AssetTagGroupRel> findAll(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator)
      Returns an ordered range of all the asset tag 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 AssetTagGroupRelModelImpl.

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

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

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

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

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