Class AssetTagGroupRelUtil

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

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

    • AssetTagGroupRelUtil

      public AssetTagGroupRelUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
    • clearCache

      public static void clearCache(AssetTagGroupRel assetTagGroupRel)
      See Also:
    • countWithDynamicQuery

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

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

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

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

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

      public static AssetTagGroupRel update(AssetTagGroupRel assetTagGroupRel)
      See Also:
    • update

      public static AssetTagGroupRel update(AssetTagGroupRel assetTagGroupRel, ServiceContext serviceContext)
      See Also:
    • findByUuid

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

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

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

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByUuid_First

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByUuid_Last

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

      public static 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
      NoSuchTagGroupRelException
    • removeByUuid

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

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByUUID_G

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

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

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

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

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

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

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

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByUuid_C_First

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByUuid_C_Last

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

      public static 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
      NoSuchTagGroupRelException
    • removeByUuid_C

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

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

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

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

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

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByGroupId_First

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByGroupId_Last

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

      public static 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
      NoSuchTagGroupRelException
    • removeByGroupId

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

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

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

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

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

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByTagId_First

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByTagId_Last

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

      public static 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
      NoSuchTagGroupRelException
    • removeByTagId

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

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

      public static 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
      NoSuchTagGroupRelException
    • fetchByG_T

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

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

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

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

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

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

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

      public static 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
      NoSuchTagGroupRelException
    • updateImpl

      public static AssetTagGroupRel updateImpl(AssetTagGroupRel assetTagGroupRel)
    • findByPrimaryKey

      public static 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
      NoSuchTagGroupRelException
    • fetchByPrimaryKey

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

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

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

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

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

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

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

      public static AssetTagGroupRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(AssetTagGroupRelPersistence persistence)