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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(RedirectEntry redirectEntry)
    Caches the redirect entry in the entity cache if it is enabled.
    static void
    cacheResult(List<RedirectEntry> redirectEntries)
    Caches the redirect entries in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(RedirectEntry redirectEntry)
     
    static int
    Returns the number of redirect entries.
    static int
    countByG_D(long groupId, String destinationURL)
    Returns the number of redirect entries where groupId = ? and destinationURL = ?.
    static int
    countByG_S(long groupId, String sourceURL)
    Returns the number of redirect entries where groupId = ? and sourceURL = ?.
    static int
    countByGroupId(long groupId)
    Returns the number of redirect entries where groupId = ?.
    static int
    Returns the number of redirect entries where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of redirect entries where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of redirect entries where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long redirectEntryId)
    Creates a new redirect entry with the primary key.
    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 = ?.
    fetchByG_D_Last(long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the last redirect entry in the ordered set where groupId = ? and destinationURL = ?.
    fetchByG_S(long groupId, String sourceURL)
    Returns the redirect entry where groupId = ? and sourceURL = ? or returns null if it could not be found.
    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.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the first redirect entry in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the last redirect entry in the ordered set where groupId = ?.
    fetchByPrimaryKey(long redirectEntryId)
    Returns the redirect entry with the primary key or returns null if it could not be found.
     
    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 = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the last redirect entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the first redirect entry in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the redirect entry where uuid = ? and groupId = ? or returns null if it could not be found.
    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.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the last redirect entry in the ordered set where uuid = ?.
    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 = ?.
    static int
    filterCountByGroupId(long groupId)
    Returns the number of redirect entries that the user has permission to view where groupId = ?.
    filterFindByG_D(long groupId, String destinationURL)
    Returns all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.
    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 = ?.
    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 = ?.
    static RedirectEntry[]
    filterFindByG_D_PrevAndNext(long redirectEntryId, long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the redirect entries before and after the current redirect entry in the ordered set of redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.
    filterFindByGroupId(long groupId)
    Returns all the redirect entries that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the redirect entries that the user has permission to view where groupId = ?.
    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 = ?.
    static RedirectEntry[]
    filterFindByGroupId_PrevAndNext(long redirectEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the redirect entries before and after the current redirect entry in the ordered set of redirect entries that the user has permission to view where groupId = ?.
    Returns all the redirect entries.
    findAll(int start, int end)
    Returns a range of all the redirect entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns an ordered range of all the redirect entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the redirect entries.
    findByG_D(long groupId, String destinationURL)
    Returns all the redirect entries where groupId = ? and destinationURL = ?.
    findByG_D(long groupId, String destinationURL, int start, int end)
    Returns a range of all the redirect entries where groupId = ? and destinationURL = ?.
    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 = ?.
    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 = ?.
    findByG_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 = ?.
    findByG_D_Last(long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the last redirect entry in the ordered set where groupId = ? and destinationURL = ?.
    static RedirectEntry[]
    findByG_D_PrevAndNext(long redirectEntryId, long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the redirect entries before and after the current redirect entry in the ordered set where groupId = ? and destinationURL = ?.
    findByG_S(long groupId, String sourceURL)
    Returns the redirect entry where groupId = ? and sourceURL = ? or throws a NoSuchEntryException if it could not be found.
    findByGroupId(long groupId)
    Returns all the redirect entries where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the redirect entries where groupId = ?.
    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 = ?.
    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 = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the first redirect entry in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the last redirect entry in the ordered set where groupId = ?.
    static RedirectEntry[]
    findByGroupId_PrevAndNext(long redirectEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the redirect entries before and after the current redirect entry in the ordered set where groupId = ?.
    findByPrimaryKey(long redirectEntryId)
    Returns the redirect entry with the primary key or throws a NoSuchEntryException if it could not be found.
    Returns all the redirect entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the redirect entries where uuid = ?.
    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 = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the redirect entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the redirect entries where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    findByUuid_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 = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the last redirect entry in the ordered set where uuid = ? and companyId = ?.
    static RedirectEntry[]
    findByUuid_C_PrevAndNext(long redirectEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the redirect entries before and after the current redirect entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the first redirect entry in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the redirect entry where uuid = ? and groupId = ? or throws a NoSuchEntryException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the last redirect entry in the ordered set where uuid = ?.
    static RedirectEntry[]
    findByUuid_PrevAndNext(long redirectEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
    Returns the redirect entries before and after the current redirect entry in the ordered set where uuid = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
     
     
    remove(long redirectEntryId)
    Removes the redirect entry with the primary key from the database.
    static void
    Removes all the redirect entries from the database.
    static void
    removeByG_D(long groupId, String destinationURL)
    Removes all the redirect entries where groupId = ? and destinationURL = ? from the database.
    removeByG_S(long groupId, String sourceURL)
    Removes the redirect entry where groupId = ? and sourceURL = ? from the database.
    static void
    removeByGroupId(long groupId)
    Removes all the redirect entries where groupId = ? from the database.
    static void
    Removes all the redirect entries where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the redirect entries where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the redirect entry where uuid = ? and groupId = ? from the database.
    static void
     
    update(RedirectEntry redirectEntry)
     
    update(RedirectEntry redirectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(RedirectEntry redirectEntry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RedirectEntryUtil

      public RedirectEntryUtil()
  • Method Details

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

      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 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 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
      Throws:
      NoSuchEntryException - if a matching redirect entry could not be found
      NoSuchEntryException
    • 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
    • findByUuid_Last

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

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

      public static RedirectEntry[] findByUuid_PrevAndNext(long redirectEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the redirect entries before and after the current redirect entry in the ordered set where uuid = ?.
      Parameters:
      redirectEntryId - the primary key of the current redirect entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next redirect entry
      Throws:
      NoSuchEntryException - if a redirect entry with the primary key could not be found
      NoSuchEntryException
    • 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
      Throws:
      NoSuchEntryException - if a matching redirect entry could not be found
      NoSuchEntryException
    • 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
    • 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)
      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 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 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 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 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
    • 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 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 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
      Throws:
      NoSuchEntryException - if a matching redirect entry could not be found
      NoSuchEntryException
    • 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
    • findByUuid_C_Last

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

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

      public static RedirectEntry[] findByUuid_C_PrevAndNext(long redirectEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the redirect entries before and after the current redirect entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      redirectEntryId - the primary key of the current redirect entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next redirect entry
      Throws:
      NoSuchEntryException - if a redirect entry with the primary key could not be found
      NoSuchEntryException
    • 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)
      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 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 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 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 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
    • 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 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 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
      Throws:
      NoSuchEntryException - if a matching redirect entry could not be found
      NoSuchEntryException
    • 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
    • findByGroupId_Last

      public static RedirectEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the last 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 last matching redirect entry
      Throws:
      NoSuchEntryException - if a matching redirect entry could not be found
      NoSuchEntryException
    • fetchByGroupId_Last

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

      public static RedirectEntry[] findByGroupId_PrevAndNext(long redirectEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the redirect entries before and after the current redirect entry in the ordered set where groupId = ?.
      Parameters:
      redirectEntryId - the primary key of the current redirect entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next redirect entry
      Throws:
      NoSuchEntryException - if a redirect entry with the primary key could not be found
      NoSuchEntryException
    • 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 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 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
    • 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 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 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
    • filterFindByGroupId_PrevAndNext

      public static RedirectEntry[] filterFindByGroupId_PrevAndNext(long redirectEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the redirect entries before and after the current redirect entry in the ordered set of redirect entries that the user has permission to view where groupId = ?.
      Parameters:
      redirectEntryId - the primary key of the current redirect entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next redirect entry
      Throws:
      NoSuchEntryException - if a redirect entry with the primary key could not be found
      NoSuchEntryException
    • 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)
      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 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 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 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 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
    • 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 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 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
      Throws:
      NoSuchEntryException - if a matching redirect entry could not be found
      NoSuchEntryException
    • 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
    • findByG_D_Last

      public static RedirectEntry findByG_D_Last(long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the last 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 last matching redirect entry
      Throws:
      NoSuchEntryException - if a matching redirect entry could not be found
      NoSuchEntryException
    • fetchByG_D_Last

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

      public static RedirectEntry[] findByG_D_PrevAndNext(long redirectEntryId, long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the redirect entries before and after the current redirect entry in the ordered set where groupId = ? and destinationURL = ?.
      Parameters:
      redirectEntryId - the primary key of the current redirect entry
      groupId - the group ID
      destinationURL - the destination url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next redirect entry
      Throws:
      NoSuchEntryException - if a redirect entry with the primary key could not be found
      NoSuchEntryException
    • 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 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 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
    • 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 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 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
    • filterFindByG_D_PrevAndNext

      public static RedirectEntry[] filterFindByG_D_PrevAndNext(long redirectEntryId, long groupId, String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
      Returns the redirect entries before and after the current redirect entry in the ordered set of redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.
      Parameters:
      redirectEntryId - the primary key of the current redirect entry
      groupId - the group ID
      destinationURL - the destination url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next redirect entry
      Throws:
      NoSuchEntryException - if a redirect entry with the primary key could not be found
      NoSuchEntryException
    • 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
      Throws:
      NoSuchEntryException - if a matching redirect entry could not be found
      NoSuchEntryException
    • 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
    • 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
    • cacheResult

      public static void cacheResult(RedirectEntry redirectEntry)
      Caches the redirect entry in the entity cache if it is enabled.
      Parameters:
      redirectEntry - the redirect entry
    • cacheResult

      public static void cacheResult(List<RedirectEntry> redirectEntries)
      Caches the redirect entries in the entity cache if it is enabled.
      Parameters:
      redirectEntries - the 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
      Throws:
      NoSuchEntryException - if a redirect entry with the primary key could not be found
      NoSuchEntryException
    • 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
      Throws:
      NoSuchEntryException - if a redirect entry with the primary key could not be found
      NoSuchEntryException
    • 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
    • findAll

      public static List<RedirectEntry> findAll()
      Returns all the redirect entries.
      Returns:
      the redirect entries
    • findAll

      public static List<RedirectEntry> findAll(int start, int end)
      Returns a range of all the redirect entries.

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

      Parameters:
      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 redirect entries
    • findAll

      public static List<RedirectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
      Returns an ordered range of all the redirect entries.

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

      Parameters:
      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 redirect entries
    • findAll

      public static List<RedirectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the redirect entries.

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

      Parameters:
      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 redirect entries
    • removeAll

      public static void removeAll()
      Removes all the redirect entries from the database.
    • countAll

      public static int countAll()
      Returns the number of redirect entries.
      Returns:
      the number of redirect entries
    • getPersistence

      public static RedirectEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(RedirectEntryPersistence persistence)