@ProviderType public interface RedirectNotFoundEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<RedirectNotFoundEntry>
Caching information and settings can be found in portal.properties
RedirectNotFoundEntryUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(java.util.List<RedirectNotFoundEntry> redirectNotFoundEntries)
Caches the redirect not found entries in the entity cache if it is enabled.
|
void |
cacheResult(RedirectNotFoundEntry redirectNotFoundEntry)
Caches the redirect not found entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of redirect not found entries.
|
int |
countByG_U(long groupId,
java.lang.String url)
Returns the number of redirect not found entries where groupId = ? and url = ?.
|
int |
countByGroupId(long groupId)
Returns the number of redirect not found entries where groupId = ?.
|
RedirectNotFoundEntry |
create(long redirectNotFoundEntryId)
Creates a new redirect not found entry with the primary key.
|
RedirectNotFoundEntry |
fetchByG_U(long groupId,
java.lang.String url)
Returns the redirect not found entry where groupId = ? and url = ? or returns
null if it could not be found. |
RedirectNotFoundEntry |
fetchByG_U(long groupId,
java.lang.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. |
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 = ?.
|
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 = ?.
|
RedirectNotFoundEntry |
fetchByPrimaryKey(long redirectNotFoundEntryId)
Returns the redirect not found entry with the primary key or returns
null if it could not be found. |
java.util.List<RedirectNotFoundEntry> |
findAll()
Returns all the redirect not found entries.
|
java.util.List<RedirectNotFoundEntry> |
findAll(int start,
int end)
Returns a range of all the redirect not found entries.
|
java.util.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.
|
java.util.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.
|
RedirectNotFoundEntry |
findByG_U(long groupId,
java.lang.String url)
Returns the redirect not found entry where groupId = ? and url = ? or throws a
NoSuchNotFoundEntryException if it could not be found. |
RedirectNotFoundEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
Returns the first redirect not found entry in the ordered set where groupId = ?.
|
RedirectNotFoundEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
Returns the last redirect not found entry in the ordered set where groupId = ?.
|
RedirectNotFoundEntry[] |
findByGroupId_PrevAndNext(long redirectNotFoundEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
Returns the redirect not found entries before and after the current redirect not found entry in the ordered set where groupId = ?.
|
java.util.List<RedirectNotFoundEntry> |
findByGroupId(long groupId)
Returns all the redirect not found entries where groupId = ?.
|
java.util.List<RedirectNotFoundEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the redirect not found entries where groupId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
RedirectNotFoundEntry |
findByPrimaryKey(long redirectNotFoundEntryId)
Returns the redirect not found entry with the primary key or throws a
NoSuchNotFoundEntryException if it could not be found. |
RedirectNotFoundEntry |
remove(long redirectNotFoundEntryId)
Removes the redirect not found entry with the primary key from the database.
|
void |
removeAll()
Removes all the redirect not found entries from the database.
|
RedirectNotFoundEntry |
removeByG_U(long groupId,
java.lang.String url)
Removes the redirect not found entry where groupId = ? and url = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the redirect not found entries where groupId = ? from the database.
|
RedirectNotFoundEntry |
updateImpl(RedirectNotFoundEntry redirectNotFoundEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<RedirectNotFoundEntry> findByGroupId(long groupId)
groupId - the group IDjava.util.List<RedirectNotFoundEntry> findByGroupId(long groupId, int start, int end)
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.
groupId - the group IDstart - the lower bound of the range of redirect not found entriesend - the upper bound of the range of redirect not found entries (not inclusive)java.util.List<RedirectNotFoundEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
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.
groupId - the group IDstart - the lower bound of the range of redirect not found entriesend - the upper bound of the range of redirect not found entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<RedirectNotFoundEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator, boolean useFinderCache)
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.
groupId - the group IDstart - the lower bound of the range of redirect not found entriesend - 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 cacheRedirectNotFoundEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator) throws NoSuchNotFoundEntryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchNotFoundEntryException - if a matching redirect not found entry could not be foundRedirectNotFoundEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching redirect not found entry could not be foundRedirectNotFoundEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator) throws NoSuchNotFoundEntryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchNotFoundEntryException - if a matching redirect not found entry could not be foundRedirectNotFoundEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching redirect not found entry could not be foundRedirectNotFoundEntry[] findByGroupId_PrevAndNext(long redirectNotFoundEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator) throws NoSuchNotFoundEntryException
redirectNotFoundEntryId - the primary key of the current redirect not found entrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchNotFoundEntryException - if a redirect not found entry with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDRedirectNotFoundEntry findByG_U(long groupId, java.lang.String url) throws NoSuchNotFoundEntryException
NoSuchNotFoundEntryException if it could not be found.groupId - the group IDurl - the urlNoSuchNotFoundEntryException - if a matching redirect not found entry could not be foundRedirectNotFoundEntry fetchByG_U(long groupId, java.lang.String url)
null if it could not be found. Uses the finder cache.groupId - the group IDurl - the urlnull if a matching redirect not found entry could not be foundRedirectNotFoundEntry fetchByG_U(long groupId, java.lang.String url, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.groupId - the group IDurl - the urluseFinderCache - whether to use the finder cachenull if a matching redirect not found entry could not be foundRedirectNotFoundEntry removeByG_U(long groupId, java.lang.String url) throws NoSuchNotFoundEntryException
groupId - the group IDurl - the urlNoSuchNotFoundEntryExceptionint countByG_U(long groupId,
java.lang.String url)
groupId - the group IDurl - the urlvoid cacheResult(RedirectNotFoundEntry redirectNotFoundEntry)
redirectNotFoundEntry - the redirect not found entryvoid cacheResult(java.util.List<RedirectNotFoundEntry> redirectNotFoundEntries)
redirectNotFoundEntries - the redirect not found entriesRedirectNotFoundEntry create(long redirectNotFoundEntryId)
redirectNotFoundEntryId - the primary key for the new redirect not found entryRedirectNotFoundEntry remove(long redirectNotFoundEntryId) throws NoSuchNotFoundEntryException
redirectNotFoundEntryId - the primary key of the redirect not found entryNoSuchNotFoundEntryException - if a redirect not found entry with the primary key could not be foundRedirectNotFoundEntry updateImpl(RedirectNotFoundEntry redirectNotFoundEntry)
RedirectNotFoundEntry findByPrimaryKey(long redirectNotFoundEntryId) throws NoSuchNotFoundEntryException
NoSuchNotFoundEntryException if it could not be found.redirectNotFoundEntryId - the primary key of the redirect not found entryNoSuchNotFoundEntryException - if a redirect not found entry with the primary key could not be foundRedirectNotFoundEntry fetchByPrimaryKey(long redirectNotFoundEntryId)
null if it could not be found.redirectNotFoundEntryId - the primary key of the redirect not found entrynull if a redirect not found entry with the primary key could not be foundjava.util.List<RedirectNotFoundEntry> findAll()
java.util.List<RedirectNotFoundEntry> findAll(int start, int end)
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.
start - the lower bound of the range of redirect not found entriesend - the upper bound of the range of redirect not found entries (not inclusive)java.util.List<RedirectNotFoundEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator)
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.
start - the lower bound of the range of redirect not found entriesend - the upper bound of the range of redirect not found entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<RedirectNotFoundEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectNotFoundEntry> orderByComparator, boolean useFinderCache)
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.
start - the lower bound of the range of redirect not found entriesend - 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 cachevoid removeAll()
int countAll()