Interface RedirectNotFoundEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<RedirectNotFoundEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByG_U(long groupId, String url) Returns the number of redirect not found entries where groupId = ? and url = ?.intcountByGroupId(long groupId) Returns the number of redirect not found entries where groupId = ?.create(long redirectNotFoundEntryId) Creates a new redirect not found entry with the primary key.default RedirectNotFoundEntryfetchByG_U(long groupId, String url) Returns the redirect not found entry where groupId = ? and url = ? or returnsnullif it could not be found.fetchByG_U(long groupId, String url, boolean useFinderCache) Returns the redirect not found entry where groupId = ? and url = ? or returnsnullif it could not be found, optionally using the finder cache.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 = ?.fetchByPrimaryKey(long redirectNotFoundEntryId) Returns the redirect not found entry with the primary key or returnsnullif it could not be found.Returns the redirect not found entry where groupId = ? and url = ? or throws aNoSuchNotFoundEntryExceptionif it could not be found.default List<RedirectNotFoundEntry> findByGroupId(long groupId) Returns all the redirect not found entries where groupId = ?.default List<RedirectNotFoundEntry> findByGroupId(long groupId, int start, int end) Returns a range of all the redirect not found entries where groupId = ?.default 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 = ?.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 = ?.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 = ?.findByPrimaryKey(long redirectNotFoundEntryId) Returns the redirect not found entry with the primary key or throws aNoSuchNotFoundEntryExceptionif it could not be found.remove(long redirectNotFoundEntryId) Removes the redirect not found entry with the primary key from the database.removeByG_U(long groupId, String url) Removes the redirect not found entry where groupId = ? and url = ? from the database.voidremoveByGroupId(long groupId) Removes all the redirect not found entries where groupId = ? from the database.updateImpl(RedirectNotFoundEntry redirectNotFoundEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.redirect.model.impl.RedirectNotFoundEntryModelImpl.- Parameters:
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 (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching redirect not found entry, or
nullif a matching redirect not found entry 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
Returns the redirect not found entry where groupId = ? and url = ? or throws aNoSuchNotFoundEntryExceptionif it could not be found.- Parameters:
groupId- the group IDurl- the url- Returns:
- the matching redirect not found entry
- Throws:
NoSuchNotFoundEntryException- if a matching redirect not found entry could not be found
-
fetchByG_U
Returns the redirect not found entry where groupId = ? and url = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDurl- the urluseFinderCache- whether to use the finder cache- Returns:
- the matching redirect not found entry, or
nullif a matching redirect not found entry could not be found
-
removeByG_U
Removes the redirect not found entry where groupId = ? and url = ? from the database.- Parameters:
groupId- the group IDurl- the url- Returns:
- the redirect not found entry that was removed
- Throws:
NoSuchNotFoundEntryException
-
countByG_U
Returns the number of redirect not found entries where groupId = ? and url = ?.- Parameters:
groupId- the group IDurl- the url- Returns:
- the number of matching redirect not found entries
-
create
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
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
-
findByPrimaryKey
RedirectNotFoundEntry findByPrimaryKey(long redirectNotFoundEntryId) throws NoSuchNotFoundEntryException Returns the redirect not found entry with the primary key or throws aNoSuchNotFoundEntryExceptionif 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
Returns the redirect not found entry with the primary key or returnsnullif it could not be found.- Parameters:
redirectNotFoundEntryId- the primary key of the redirect not found entry- Returns:
- the redirect not found entry, or
nullif a redirect not found entry with the primary key could not be found
-
fetchByG_U
Returns the redirect not found entry where groupId = ? and url = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDurl- the url- Returns:
- the matching redirect not found entry, or
nullif a matching redirect not found entry could not be found
-
findByGroupId
Returns all the redirect not found entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching redirect not found entries
-
findByGroupId
Returns a range of all the redirect not found entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.redirect.model.impl.RedirectNotFoundEntryModelImpl.- Parameters:
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)- Returns:
- the range of matching redirect not found entries
-
findByGroupId
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.redirect.model.impl.RedirectNotFoundEntryModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching redirect not found entries
-