Class RedirectEntryUtil

java.lang.Object
com.liferay.redirect.service.persistence.RedirectEntryUtil

public class RedirectEntryUtil extends Object
The persistence utility for the redirect entry service. This utility wraps com.liferay.redirect.service.persistence.impl.RedirectEntryPersistenceImpl 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

    • RedirectEntryUtil

      public RedirectEntryUtil()
  • Method Details

    • cacheResult

      public static void cacheResult(List<RedirectEntry> redirectEntries)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(RedirectEntry redirectEntry)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • clearCache

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

      public static void clearCache(RedirectEntry redirectEntry)
      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,RedirectEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

      public static List<RedirectEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (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 redirect entries
    • findByUuid_First

      public static RedirectEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the first redirect entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching redirect entry
    • fetchByUuid_First

      public static RedirectEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns the first redirect entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching redirect entry, or null if a matching redirect entry could not be found
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the redirect entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of redirect entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching redirect entries
    • findByUUID_G

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

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

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

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

      public static List<RedirectEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

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

      public static RedirectEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the first redirect entry 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 redirect entry
    • fetchByUuid_C_First

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

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

      public static List<RedirectEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

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

      public static RedirectEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the first redirect entry 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 redirect entry
    • fetchByGroupId_First

      public static RedirectEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns the first redirect entry 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 redirect entry, or null if a matching redirect entry could not be found
    • filterFindByGroupId

      public static List<RedirectEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns an ordered range of all the redirect entries that the user has permissions to view 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching redirect entries that the user has permission to view
    • removeByGroupId

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

      public static int countByGroupId(long groupId)
      Returns the number of redirect entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching redirect entries
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of redirect entries that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching redirect entries that the user has permission to view
    • findByG_D

      public static List<RedirectEntry> findByG_D(long groupId, String destinationURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the redirect entries where groupId = ? and destinationURL = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (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 redirect entries
    • findByG_D_First

      public static RedirectEntry findByG_D_First(long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the first redirect entry in the ordered set where groupId = ? and destinationURL = ?.
      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching redirect entry
    • fetchByG_D_First

      public static RedirectEntry fetchByG_D_First(long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns the first redirect entry in the ordered set where groupId = ? and destinationURL = ?.
      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching redirect entry, or null if a matching redirect entry could not be found
    • filterFindByG_D

      public static List<RedirectEntry> filterFindByG_D(long groupId, String destinationURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns an ordered range of all the redirect entries that the user has permissions to view where groupId = ? and destinationURL = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching redirect entries that the user has permission to view
    • removeByG_D

      public static void removeByG_D(long groupId, String destinationURL)
      Removes all the redirect entries where groupId = ? and destinationURL = ? from the database.
      Parameters:
      groupId - the group ID
      destinationURL - the destination url
    • countByG_D

      public static int countByG_D(long groupId, String destinationURL)
      Returns the number of redirect entries where groupId = ? and destinationURL = ?.
      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      Returns:
      the number of matching redirect entries
    • filterCountByG_D

      public static int filterCountByG_D(long groupId, String destinationURL)
      Returns the number of redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.
      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      Returns:
      the number of matching redirect entries that the user has permission to view
    • findByG_S

      public static RedirectEntry findByG_S(long groupId, String sourceURL) throws NoSuchEntryException
      Returns the redirect entry where groupId = ? and sourceURL = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      groupId - the group ID
      sourceURL - the source url
      Returns:
      the matching redirect entry
    • fetchByG_S

      public static RedirectEntry fetchByG_S(long groupId, String sourceURL, boolean useFinderCache)
      Returns the redirect entry where groupId = ? and sourceURL = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      sourceURL - the source url
      useFinderCache - whether to use the finder cache
      Returns:
      the matching redirect entry, or null if a matching redirect entry could not be found
    • removeByG_S

      public static RedirectEntry removeByG_S(long groupId, String sourceURL) throws NoSuchEntryException
      Removes the redirect entry where groupId = ? and sourceURL = ? from the database.
      Parameters:
      groupId - the group ID
      sourceURL - the source url
      Returns:
      the redirect entry that was removed
      Throws:
      NoSuchEntryException
    • countByG_S

      public static int countByG_S(long groupId, String sourceURL)
      Returns the number of redirect entries where groupId = ? and sourceURL = ?.
      Parameters:
      groupId - the group ID
      sourceURL - the source url
      Returns:
      the number of matching redirect entries
    • create

      public static RedirectEntry create(long redirectEntryId)
      Creates a new redirect entry with the primary key. Does not add the redirect entry to the database.
      Parameters:
      redirectEntryId - the primary key for the new redirect entry
      Returns:
      the new redirect entry
    • remove

      public static RedirectEntry remove(long redirectEntryId) throws NoSuchEntryException
      Removes the redirect entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      redirectEntryId - the primary key of the redirect entry
      Returns:
      the redirect entry that was removed
    • updateImpl

      public static RedirectEntry updateImpl(RedirectEntry redirectEntry)
    • findByPrimaryKey

      public static RedirectEntry findByPrimaryKey(long redirectEntryId) throws NoSuchEntryException
      Returns the redirect entry with the primary key or throws a NoSuchEntryException if it could not be found.
      Parameters:
      redirectEntryId - the primary key of the redirect entry
      Returns:
      the redirect entry
    • fetchByPrimaryKey

      public static RedirectEntry fetchByPrimaryKey(long redirectEntryId)
      Returns the redirect entry with the primary key or returns null if it could not be found.
      Parameters:
      redirectEntryId - the primary key of the redirect entry
      Returns:
      the redirect entry, or null if a redirect entry with the primary key could not be found
    • fetchByUUID_G

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

      public static RedirectEntry fetchByG_S(long groupId, String sourceURL)
      Returns the redirect entry where groupId = ? and sourceURL = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      sourceURL - the source url
      Returns:
      the matching redirect entry, or null if a matching redirect entry could not be found
    • findByUuid

      public static List<RedirectEntry> findByUuid(String uuid)
      Returns all the redirect entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching redirect entries
    • findByUuid

      public static List<RedirectEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      Returns:
      the range of matching redirect entries
    • findByUuid

      public static List<RedirectEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns an ordered range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching redirect entries
    • findByUuid_C

      public static List<RedirectEntry> findByUuid_C(String uuid, long companyId)
      Returns all the redirect entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching redirect entries
    • findByUuid_C

      public static List<RedirectEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      Returns:
      the range of matching redirect entries
    • findByUuid_C

      public static List<RedirectEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns an ordered range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching redirect entries
    • findByGroupId

      public static List<RedirectEntry> findByGroupId(long groupId)
      Returns all the redirect entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching redirect entries
    • findByGroupId

      public static List<RedirectEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

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

      public static List<RedirectEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns an ordered range of all the redirect entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

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

      public static List<RedirectEntry> filterFindByGroupId(long groupId)
      Returns all the redirect entries that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching redirect entries that the user has permission to view
    • filterFindByGroupId

      public static List<RedirectEntry> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the redirect entries that the user has permission to view 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      Returns:
      the range of matching redirect entries that the user has permission to view
    • findByG_D

      public static List<RedirectEntry> findByG_D(long groupId, String destinationURL)
      Returns all the redirect entries where groupId = ? and destinationURL = ?.
      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      Returns:
      the matching redirect entries
    • findByG_D

      public static List<RedirectEntry> findByG_D(long groupId, String destinationURL, int start, int end)
      Returns a range of all the redirect entries where groupId = ? and destinationURL = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      Returns:
      the range of matching redirect entries
    • findByG_D

      public static List<RedirectEntry> findByG_D(long groupId, String destinationURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns an ordered range of all the redirect entries where groupId = ? and destinationURL = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching redirect entries
    • filterFindByG_D

      public static List<RedirectEntry> filterFindByG_D(long groupId, String destinationURL)
      Returns all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.
      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      Returns:
      the matching redirect entries that the user has permission to view
    • filterFindByG_D

      public static List<RedirectEntry> filterFindByG_D(long groupId, String destinationURL, int start, int end)
      Returns a range of all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.redirect.model.impl.RedirectEntryModelImpl.

      Parameters:
      groupId - the group ID
      destinationURL - the destination url
      start - the lower bound of the range of redirect entries
      end - the upper bound of the range of redirect entries (not inclusive)
      Returns:
      the range of matching redirect entries that the user has permission to view
    • getPersistence

      public static RedirectEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(RedirectEntryPersistence persistence)