Class DepotEntryGroupRelUtil

java.lang.Object
com.liferay.depot.service.persistence.DepotEntryGroupRelUtil

public class DepotEntryGroupRelUtil extends Object
The persistence utility for the depot entry group rel service. This utility wraps com.liferay.depot.service.persistence.impl.DepotEntryGroupRelPersistenceImpl 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

See Also:
Generated:
  • Constructor Details

    • DepotEntryGroupRelUtil

      public DepotEntryGroupRelUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(DepotEntryGroupRel depotEntryGroupRel)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

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

      public static List<DepotEntryGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<DepotEntryGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<DepotEntryGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static DepotEntryGroupRel update(DepotEntryGroupRel depotEntryGroupRel)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static DepotEntryGroupRel update(DepotEntryGroupRel depotEntryGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

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

      public static List<DepotEntryGroupRel> findByUuid(String uuid, int start, int end)
      Returns a range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

      public static List<DepotEntryGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns an ordered range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

      public static List<DepotEntryGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

      public static DepotEntryGroupRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the first depot entry 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 depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByUuid_First

      public static DepotEntryGroupRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the first depot entry 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 depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByUuid_Last

      public static DepotEntryGroupRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the last depot entry 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 depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByUuid_Last

      public static DepotEntryGroupRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the last depot entry 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 depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByUuid_PrevAndNext

      public static DepotEntryGroupRel[] findByUuid_PrevAndNext(long depotEntryGroupRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where uuid = ?.
      Parameters:
      depotEntryGroupRelId - the primary key of the current depot entry group rel
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a depot entry group rel with the primary key could not be found
      NoSuchEntryGroupRelException
    • removeByUuid

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

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

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

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

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

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

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

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

      public static List<DepotEntryGroupRel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

      public static List<DepotEntryGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns an ordered range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

      public static List<DepotEntryGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

      public static DepotEntryGroupRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the first depot entry 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 depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByUuid_C_First

      public static DepotEntryGroupRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the first depot entry 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 depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByUuid_C_Last

      public static DepotEntryGroupRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the last depot entry 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 depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByUuid_C_Last

      public static DepotEntryGroupRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the last depot entry 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 depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByUuid_C_PrevAndNext

      public static DepotEntryGroupRel[] findByUuid_C_PrevAndNext(long depotEntryGroupRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      depotEntryGroupRelId - the primary key of the current depot entry 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 depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a depot entry group rel with the primary key could not be found
      NoSuchEntryGroupRelException
    • removeByUuid_C

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

      public static List<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId)
      Returns all the depot entry group rels where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      Returns:
      the matching depot entry group rels
    • findByDepotEntryId

      public static List<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId, int start, int end)
      Returns a range of all the depot entry group rels where depotEntryId = ?.

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

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      Returns:
      the range of matching depot entry group rels
    • findByDepotEntryId

      public static List<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns an ordered range of all the depot entry group rels where depotEntryId = ?.

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

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching depot entry group rels
    • findByDepotEntryId

      public static List<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the depot entry group rels where depotEntryId = ?.

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

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry 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 depot entry group rels
    • findByDepotEntryId_First

      public static DepotEntryGroupRel findByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the first depot entry group rel in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByDepotEntryId_First

      public static DepotEntryGroupRel fetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the first depot entry group rel in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByDepotEntryId_Last

      public static DepotEntryGroupRel findByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the last depot entry group rel in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByDepotEntryId_Last

      public static DepotEntryGroupRel fetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the last depot entry group rel in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByDepotEntryId_PrevAndNext

      public static DepotEntryGroupRel[] findByDepotEntryId_PrevAndNext(long depotEntryGroupRelId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryGroupRelId - the primary key of the current depot entry group rel
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a depot entry group rel with the primary key could not be found
      NoSuchEntryGroupRelException
    • removeByDepotEntryId

      public static void removeByDepotEntryId(long depotEntryId)
      Removes all the depot entry group rels where depotEntryId = ? from the database.
      Parameters:
      depotEntryId - the depot entry ID
    • countByDepotEntryId

      public static int countByDepotEntryId(long depotEntryId)
      Returns the number of depot entry group rels where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      Returns:
      the number of matching depot entry group rels
    • findByToGroupId

      public static List<DepotEntryGroupRel> findByToGroupId(long toGroupId)
      Returns all the depot entry group rels where toGroupId = ?.
      Parameters:
      toGroupId - the to group ID
      Returns:
      the matching depot entry group rels
    • findByToGroupId

      public static List<DepotEntryGroupRel> findByToGroupId(long toGroupId, int start, int end)
      Returns a range of all the depot entry group rels where toGroupId = ?.

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

      Parameters:
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      Returns:
      the range of matching depot entry group rels
    • findByToGroupId

      public static List<DepotEntryGroupRel> findByToGroupId(long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns an ordered range of all the depot entry group rels where toGroupId = ?.

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

      Parameters:
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching depot entry group rels
    • findByToGroupId

      public static List<DepotEntryGroupRel> findByToGroupId(long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the depot entry group rels where toGroupId = ?.

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

      Parameters:
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry 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 depot entry group rels
    • findByToGroupId_First

      public static DepotEntryGroupRel findByToGroupId_First(long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the first depot entry group rel in the ordered set where toGroupId = ?.
      Parameters:
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByToGroupId_First

      public static DepotEntryGroupRel fetchByToGroupId_First(long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the first depot entry group rel in the ordered set where toGroupId = ?.
      Parameters:
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByToGroupId_Last

      public static DepotEntryGroupRel findByToGroupId_Last(long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the last depot entry group rel in the ordered set where toGroupId = ?.
      Parameters:
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByToGroupId_Last

      public static DepotEntryGroupRel fetchByToGroupId_Last(long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the last depot entry group rel in the ordered set where toGroupId = ?.
      Parameters:
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByToGroupId_PrevAndNext

      public static DepotEntryGroupRel[] findByToGroupId_PrevAndNext(long depotEntryGroupRelId, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where toGroupId = ?.
      Parameters:
      depotEntryGroupRelId - the primary key of the current depot entry group rel
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a depot entry group rel with the primary key could not be found
      NoSuchEntryGroupRelException
    • removeByToGroupId

      public static void removeByToGroupId(long toGroupId)
      Removes all the depot entry group rels where toGroupId = ? from the database.
      Parameters:
      toGroupId - the to group ID
    • countByToGroupId

      public static int countByToGroupId(long toGroupId)
      Returns the number of depot entry group rels where toGroupId = ?.
      Parameters:
      toGroupId - the to group ID
      Returns:
      the number of matching depot entry group rels
    • findByDDMSA_TGI

      public static List<DepotEntryGroupRel> findByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId)
      Returns all the depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ?.
      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      Returns:
      the matching depot entry group rels
    • findByDDMSA_TGI

      public static List<DepotEntryGroupRel> findByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId, int start, int end)
      Returns a range of all the depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ?.

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

      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      Returns:
      the range of matching depot entry group rels
    • findByDDMSA_TGI

      public static List<DepotEntryGroupRel> findByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns an ordered range of all the depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ?.

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

      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching depot entry group rels
    • findByDDMSA_TGI

      public static List<DepotEntryGroupRel> findByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ?.

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

      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry 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 depot entry group rels
    • findByDDMSA_TGI_First

      public static DepotEntryGroupRel findByDDMSA_TGI_First(boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the first depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByDDMSA_TGI_First

      public static DepotEntryGroupRel fetchByDDMSA_TGI_First(boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the first depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByDDMSA_TGI_Last

      public static DepotEntryGroupRel findByDDMSA_TGI_Last(boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the last depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByDDMSA_TGI_Last

      public static DepotEntryGroupRel fetchByDDMSA_TGI_Last(boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the last depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByDDMSA_TGI_PrevAndNext

      public static DepotEntryGroupRel[] findByDDMSA_TGI_PrevAndNext(long depotEntryGroupRelId, boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
      Parameters:
      depotEntryGroupRelId - the primary key of the current depot entry group rel
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a depot entry group rel with the primary key could not be found
      NoSuchEntryGroupRelException
    • removeByDDMSA_TGI

      public static void removeByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId)
      Removes all the depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ? from the database.
      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
    • countByDDMSA_TGI

      public static int countByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId)
      Returns the number of depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ?.
      Parameters:
      ddmStructuresAvailable - the ddm structures available
      toGroupId - the to group ID
      Returns:
      the number of matching depot entry group rels
    • findByD_TGI

      public static DepotEntryGroupRel findByD_TGI(long depotEntryId, long toGroupId) throws NoSuchEntryGroupRelException
      Returns the depot entry group rel where depotEntryId = ? and toGroupId = ? or throws a NoSuchEntryGroupRelException if it could not be found.
      Parameters:
      depotEntryId - the depot entry ID
      toGroupId - the to group ID
      Returns:
      the matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByD_TGI

      public static DepotEntryGroupRel fetchByD_TGI(long depotEntryId, long toGroupId)
      Returns the depot entry group rel where depotEntryId = ? and toGroupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      depotEntryId - the depot entry ID
      toGroupId - the to group ID
      Returns:
      the matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • fetchByD_TGI

      public static DepotEntryGroupRel fetchByD_TGI(long depotEntryId, long toGroupId, boolean useFinderCache)
      Returns the depot entry group rel where depotEntryId = ? and toGroupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      depotEntryId - the depot entry ID
      toGroupId - the to group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • removeByD_TGI

      public static DepotEntryGroupRel removeByD_TGI(long depotEntryId, long toGroupId) throws NoSuchEntryGroupRelException
      Removes the depot entry group rel where depotEntryId = ? and toGroupId = ? from the database.
      Parameters:
      depotEntryId - the depot entry ID
      toGroupId - the to group ID
      Returns:
      the depot entry group rel that was removed
      Throws:
      NoSuchEntryGroupRelException
    • countByD_TGI

      public static int countByD_TGI(long depotEntryId, long toGroupId)
      Returns the number of depot entry group rels where depotEntryId = ? and toGroupId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      toGroupId - the to group ID
      Returns:
      the number of matching depot entry group rels
    • findByS_TGI

      public static List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId)
      Returns all the depot entry group rels where searchable = ? and toGroupId = ?.
      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      Returns:
      the matching depot entry group rels
    • findByS_TGI

      public static List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId, int start, int end)
      Returns a range of all the depot entry group rels where searchable = ? and toGroupId = ?.

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

      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      Returns:
      the range of matching depot entry group rels
    • findByS_TGI

      public static List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns an ordered range of all the depot entry group rels where searchable = ? and toGroupId = ?.

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

      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching depot entry group rels
    • findByS_TGI

      public static List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the depot entry group rels where searchable = ? and toGroupId = ?.

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

      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry 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 depot entry group rels
    • findByS_TGI_First

      public static DepotEntryGroupRel findByS_TGI_First(boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the first depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByS_TGI_First

      public static DepotEntryGroupRel fetchByS_TGI_First(boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the first depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByS_TGI_Last

      public static DepotEntryGroupRel findByS_TGI_Last(boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the last depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a matching depot entry group rel could not be found
      NoSuchEntryGroupRelException
    • fetchByS_TGI_Last

      public static DepotEntryGroupRel fetchByS_TGI_Last(boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns the last depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry group rel, or null if a matching depot entry group rel could not be found
    • findByS_TGI_PrevAndNext

      public static DepotEntryGroupRel[] findByS_TGI_PrevAndNext(long depotEntryGroupRelId, boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
      Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
      Parameters:
      depotEntryGroupRelId - the primary key of the current depot entry group rel
      searchable - the searchable
      toGroupId - the to group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a depot entry group rel with the primary key could not be found
      NoSuchEntryGroupRelException
    • removeByS_TGI

      public static void removeByS_TGI(boolean searchable, long toGroupId)
      Removes all the depot entry group rels where searchable = ? and toGroupId = ? from the database.
      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
    • countByS_TGI

      public static int countByS_TGI(boolean searchable, long toGroupId)
      Returns the number of depot entry group rels where searchable = ? and toGroupId = ?.
      Parameters:
      searchable - the searchable
      toGroupId - the to group ID
      Returns:
      the number of matching depot entry group rels
    • cacheResult

      public static void cacheResult(DepotEntryGroupRel depotEntryGroupRel)
      Caches the depot entry group rel in the entity cache if it is enabled.
      Parameters:
      depotEntryGroupRel - the depot entry group rel
    • cacheResult

      public static void cacheResult(List<DepotEntryGroupRel> depotEntryGroupRels)
      Caches the depot entry group rels in the entity cache if it is enabled.
      Parameters:
      depotEntryGroupRels - the depot entry group rels
    • create

      public static DepotEntryGroupRel create(long depotEntryGroupRelId)
      Creates a new depot entry group rel with the primary key. Does not add the depot entry group rel to the database.
      Parameters:
      depotEntryGroupRelId - the primary key for the new depot entry group rel
      Returns:
      the new depot entry group rel
    • remove

      public static DepotEntryGroupRel remove(long depotEntryGroupRelId) throws NoSuchEntryGroupRelException
      Removes the depot entry group rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      depotEntryGroupRelId - the primary key of the depot entry group rel
      Returns:
      the depot entry group rel that was removed
      Throws:
      NoSuchEntryGroupRelException - if a depot entry group rel with the primary key could not be found
      NoSuchEntryGroupRelException
    • updateImpl

      public static DepotEntryGroupRel updateImpl(DepotEntryGroupRel depotEntryGroupRel)
    • findByPrimaryKey

      public static DepotEntryGroupRel findByPrimaryKey(long depotEntryGroupRelId) throws NoSuchEntryGroupRelException
      Returns the depot entry group rel with the primary key or throws a NoSuchEntryGroupRelException if it could not be found.
      Parameters:
      depotEntryGroupRelId - the primary key of the depot entry group rel
      Returns:
      the depot entry group rel
      Throws:
      NoSuchEntryGroupRelException - if a depot entry group rel with the primary key could not be found
      NoSuchEntryGroupRelException
    • fetchByPrimaryKey

      public static DepotEntryGroupRel fetchByPrimaryKey(long depotEntryGroupRelId)
      Returns the depot entry group rel with the primary key or returns null if it could not be found.
      Parameters:
      depotEntryGroupRelId - the primary key of the depot entry group rel
      Returns:
      the depot entry group rel, or null if a depot entry group rel with the primary key could not be found
    • findAll

      public static List<DepotEntryGroupRel> findAll()
      Returns all the depot entry group rels.
      Returns:
      the depot entry group rels
    • findAll

      public static List<DepotEntryGroupRel> findAll(int start, int end)
      Returns a range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

      public static List<DepotEntryGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
      Returns an ordered range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

      public static List<DepotEntryGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the depot entry 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 DepotEntryGroupRelModelImpl.

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

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

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

      public static DepotEntryGroupRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DepotEntryGroupRelPersistence persistence)