Interface RedirectNotFoundEntryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<RedirectNotFoundEntry>

@ProviderType public interface RedirectNotFoundEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<RedirectNotFoundEntry>
The persistence interface for the redirect not found entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByGroupId

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

      List<RedirectNotFoundEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the redirect not found 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 RedirectNotFoundEntryModelImpl.

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

      List<RedirectNotFoundEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
      Returns an ordered range of all the redirect not found 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 RedirectNotFoundEntryModelImpl.

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

      List<RedirectNotFoundEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the redirect not found 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 RedirectNotFoundEntryModelImpl.

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

      RedirectNotFoundEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator) throws NoSuchNotFoundEntryException
      Returns the first redirect not found 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 not found entry
      Throws:
      NoSuchNotFoundEntryException - if a matching redirect not found entry could not be found
    • fetchByGroupId_First

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

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

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

      RedirectNotFoundEntry[] findByGroupId_PrevAndNext(long redirectNotFoundEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator) throws NoSuchNotFoundEntryException
      Returns the redirect not found entries before and after the current redirect not found entry in the ordered set where groupId = ?.
      Parameters:
      redirectNotFoundEntryId - the primary key of the current redirect not found entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next redirect not found entry
      Throws:
      NoSuchNotFoundEntryException - if a redirect not found entry with the primary key could not be found
    • removeByGroupId

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

      int countByGroupId(long groupId)
      Returns the number of redirect not found entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching redirect not found entries
    • findByG_U

      RedirectNotFoundEntry findByG_U(long groupId, String url) throws NoSuchNotFoundEntryException
      Returns the redirect not found entry where groupId = ? and url = ? or throws a NoSuchNotFoundEntryException if it could not be found.
      Parameters:
      groupId - the group ID
      url - the url
      Returns:
      the matching redirect not found entry
      Throws:
      NoSuchNotFoundEntryException - if a matching redirect not found entry could not be found
    • fetchByG_U

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

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

      RedirectNotFoundEntry removeByG_U(long groupId, String url) throws NoSuchNotFoundEntryException
      Removes the redirect not found entry where groupId = ? and url = ? from the database.
      Parameters:
      groupId - the group ID
      url - the url
      Returns:
      the redirect not found entry that was removed
      Throws:
      NoSuchNotFoundEntryException
    • countByG_U

      int countByG_U(long groupId, String url)
      Returns the number of redirect not found entries where groupId = ? and url = ?.
      Parameters:
      groupId - the group ID
      url - the url
      Returns:
      the number of matching redirect not found entries
    • cacheResult

      void cacheResult(RedirectNotFoundEntry redirectNotFoundEntry)
      Caches the redirect not found entry in the entity cache if it is enabled.
      Parameters:
      redirectNotFoundEntry - the redirect not found entry
    • cacheResult

      void cacheResult(List<RedirectNotFoundEntry> redirectNotFoundEntries)
      Caches the redirect not found entries in the entity cache if it is enabled.
      Parameters:
      redirectNotFoundEntries - the redirect not found entries
    • create

      RedirectNotFoundEntry create(long redirectNotFoundEntryId)
      Creates a new redirect not found entry with the primary key. Does not add the redirect not found entry to the database.
      Parameters:
      redirectNotFoundEntryId - the primary key for the new redirect not found entry
      Returns:
      the new redirect not found entry
    • remove

      RedirectNotFoundEntry remove(long redirectNotFoundEntryId) throws NoSuchNotFoundEntryException
      Removes the redirect not found entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      redirectNotFoundEntryId - the primary key of the redirect not found entry
      Returns:
      the redirect not found entry that was removed
      Throws:
      NoSuchNotFoundEntryException - if a redirect not found entry with the primary key could not be found
    • updateImpl

      RedirectNotFoundEntry updateImpl(RedirectNotFoundEntry redirectNotFoundEntry)
    • findByPrimaryKey

      RedirectNotFoundEntry findByPrimaryKey(long redirectNotFoundEntryId) throws NoSuchNotFoundEntryException
      Returns the redirect not found entry with the primary key or throws a NoSuchNotFoundEntryException if it could not be found.
      Parameters:
      redirectNotFoundEntryId - the primary key of the redirect not found entry
      Returns:
      the redirect not found entry
      Throws:
      NoSuchNotFoundEntryException - if a redirect not found entry with the primary key could not be found
    • fetchByPrimaryKey

      RedirectNotFoundEntry fetchByPrimaryKey(long redirectNotFoundEntryId)
      Returns the redirect not found entry with the primary key or returns null if it could not be found.
      Parameters:
      redirectNotFoundEntryId - the primary key of the redirect not found entry
      Returns:
      the redirect not found entry, or null if a redirect not found entry with the primary key could not be found
    • findAll

      Returns all the redirect not found entries.
      Returns:
      the redirect not found entries
    • findAll

      List<RedirectNotFoundEntry> findAll(int start, int end)
      Returns a range of all the redirect not found 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 RedirectNotFoundEntryModelImpl.

      Parameters:
      start - the lower bound of the range of redirect not found entries
      end - the upper bound of the range of redirect not found entries (not inclusive)
      Returns:
      the range of redirect not found entries
    • findAll

      List<RedirectNotFoundEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
      Returns an ordered range of all the redirect not found 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 RedirectNotFoundEntryModelImpl.

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

      List<RedirectNotFoundEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the redirect not found 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 RedirectNotFoundEntryModelImpl.

      Parameters:
      start - the lower bound of the range of redirect not found entries
      end - the upper bound of the range of redirect not found 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 not found entries
    • removeAll

      void removeAll()
      Removes all the redirect not found entries from the database.
    • countAll

      int countAll()
      Returns the number of redirect not found entries.
      Returns:
      the number of redirect not found entries