Interface RedirectEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<RedirectEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(RedirectEntry redirectEntry) Caches the redirect entry in the entity cache if it is enabled.void
cacheResult
(List<RedirectEntry> redirectEntries) Caches the redirect entries in the entity cache if it is enabled.int
countAll()
Returns the number of redirect entries.int
countByG_D
(long groupId, String destinationURL) Returns the number of redirect entries where groupId = ? and destinationURL = ?.int
countByG_S
(long groupId, String sourceURL) Returns the number of redirect entries where groupId = ? and sourceURL = ?.int
countByGroupId
(long groupId) Returns the number of redirect entries where groupId = ?.int
countByUuid
(String uuid) Returns the number of redirect entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of redirect entries where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of redirect entries where uuid = ? and groupId = ?.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 returnsnull
if it could not be found.fetchByG_S
(long groupId, String sourceURL, boolean useFinderCache) Returns the redirect entry where groupId = ? and sourceURL = ? or returnsnull
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 returnsnull
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 returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the redirect entry where uuid = ? and groupId = ? or returnsnull
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 = ?.int
filterCountByG_D
(long groupId, String destinationURL) Returns the number of redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.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 = ?.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 = ?.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 = ?.findAll()
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.Returns all the redirect entries where groupId = ? and destinationURL = ?.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 = ?.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 = ?.Returns the redirect entry where groupId = ? and sourceURL = ? or throws aNoSuchEntryException
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 = ?.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 aNoSuchEntryException
if it could not be found.findByUuid
(String uuid) 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 = ?.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 aNoSuchEntryException
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 = ?.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 = ?.remove
(long redirectEntryId) Removes the redirect entry with the primary key from the database.void
Removes all the redirect entries from the database.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.void
removeByGroupId
(long groupId) Removes all the redirect entries where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the redirect entries where uuid = ? from the database.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.updateImpl
(RedirectEntry redirectEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the redirect entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching redirect entries
-
findByUuid
Returns a range of all the redirect entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)- Returns:
- the range of matching redirect entries
-
findByUuid
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching redirect entries
-
findByUuid
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect 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 entries
-
findByUuid_First
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByUuid_First
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching redirect entry, or
null
if a matching redirect entry could not be found
-
findByUuid_Last
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByUuid_Last
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching redirect entry, or
null
if a matching redirect entry could not be found
-
findByUuid_PrevAndNext
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 entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next redirect entry
- Throws:
NoSuchEntryException
- if a redirect entry with the primary key could not be found
-
removeByUuid
Removes all the redirect entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of redirect entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching redirect entries
-
findByUUID_G
Returns the redirect entry where uuid = ? and groupId = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByUUID_G
Returns the redirect entry where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching redirect entry, or
null
if a matching redirect entry could not be found
-
fetchByUUID_G
Returns the redirect entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching redirect entry, or
null
if a matching redirect entry could not be found
-
removeByUUID_G
Removes the redirect entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the redirect entry that was removed
- Throws:
NoSuchEntryException
-
countByUUID_G
Returns the number of redirect entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching redirect entries
-
findByUuid_C
Returns all the redirect entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching redirect entries
-
findByUuid_C
Returns a range of all the redirect entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)- Returns:
- the range of matching redirect entries
-
findByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching redirect entries
-
findByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect 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 entries
-
findByUuid_C_First
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByUuid_C_First
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching redirect entry, or
null
if a matching redirect entry could not be found
-
findByUuid_C_Last
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByUuid_C_Last
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching redirect entry, or
null
if a matching redirect entry could not be found
-
findByUuid_C_PrevAndNext
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 entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next redirect entry
- Throws:
NoSuchEntryException
- if a redirect entry with the primary key could not be found
-
removeByUuid_C
Removes all the redirect entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of redirect entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching redirect entries
-
findByGroupId
Returns all the redirect entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching redirect entries
-
findByGroupId
Returns a range of all the redirect entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)- Returns:
- the range of matching redirect entries
-
findByGroupId
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching redirect entries
-
findByGroupId
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect 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 entries
-
findByGroupId_First
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByGroupId_First
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching redirect entry, or
null
if a matching redirect entry could not be found
-
findByGroupId_Last
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByGroupId_Last
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching redirect entry, or
null
if a matching redirect entry could not be found
-
findByGroupId_PrevAndNext
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 entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next redirect entry
- Throws:
NoSuchEntryException
- if a redirect entry with the primary key could not be found
-
filterFindByGroupId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of redirect entriesend
- 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching redirect entries that the user has permission to view
-
filterFindByGroupId_PrevAndNext
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 entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next redirect entry
- Throws:
NoSuchEntryException
- if a redirect entry with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the redirect entries where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
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
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
Returns all the redirect entries where groupId = ? and destinationURL = ?.- Parameters:
groupId
- the group IDdestinationURL
- the destination url- Returns:
- the matching redirect entries
-
findByG_D
Returns a range of all the redirect entries where groupId = ? and destinationURL = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDdestinationURL
- the destination urlstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)- Returns:
- the range of matching redirect entries
-
findByG_D
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDdestinationURL
- the destination urlstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching redirect entries
-
findByG_D
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDdestinationURL
- the destination urlstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect 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 entries
-
findByG_D_First
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 IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByG_D_First
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 IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching redirect entry, or
null
if a matching redirect entry could not be found
-
findByG_D_Last
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 IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByG_D_Last
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 IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching redirect entry, or
null
if a matching redirect entry could not be found
-
findByG_D_PrevAndNext
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 entrygroupId
- the group IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next redirect entry
- Throws:
NoSuchEntryException
- if a redirect entry with the primary key could not be found
-
filterFindByG_D
Returns all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.- Parameters:
groupId
- the group IDdestinationURL
- the destination url- Returns:
- the matching redirect entries that the user has permission to view
-
filterFindByG_D
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDdestinationURL
- the destination urlstart
- the lower bound of the range of redirect entriesend
- 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
groupId
- the group IDdestinationURL
- the destination urlstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching redirect entries that the user has permission to view
-
filterFindByG_D_PrevAndNext
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 entrygroupId
- the group IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next redirect entry
- Throws:
NoSuchEntryException
- if a redirect entry with the primary key could not be found
-
removeByG_D
Removes all the redirect entries where groupId = ? and destinationURL = ? from the database.- Parameters:
groupId
- the group IDdestinationURL
- the destination url
-
countByG_D
Returns the number of redirect entries where groupId = ? and destinationURL = ?.- Parameters:
groupId
- the group IDdestinationURL
- the destination url- Returns:
- the number of matching redirect entries
-
filterCountByG_D
Returns the number of redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.- Parameters:
groupId
- the group IDdestinationURL
- the destination url- Returns:
- the number of matching redirect entries that the user has permission to view
-
findByG_S
Returns the redirect entry where groupId = ? and sourceURL = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
groupId
- the group IDsourceURL
- the source url- Returns:
- the matching redirect entry
- Throws:
NoSuchEntryException
- if a matching redirect entry could not be found
-
fetchByG_S
Returns the redirect entry where groupId = ? and sourceURL = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDsourceURL
- the source url- Returns:
- the matching redirect entry, or
null
if a matching redirect entry could not be found
-
fetchByG_S
Returns the redirect entry where groupId = ? and sourceURL = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDsourceURL
- the source urluseFinderCache
- whether to use the finder cache- Returns:
- the matching redirect entry, or
null
if a matching redirect entry could not be found
-
removeByG_S
Removes the redirect entry where groupId = ? and sourceURL = ? from the database.- Parameters:
groupId
- the group IDsourceURL
- the source url- Returns:
- the redirect entry that was removed
- Throws:
NoSuchEntryException
-
countByG_S
Returns the number of redirect entries where groupId = ? and sourceURL = ?.- Parameters:
groupId
- the group IDsourceURL
- the source url- Returns:
- the number of matching redirect entries
-
cacheResult
Caches the redirect entry in the entity cache if it is enabled.- Parameters:
redirectEntry
- the redirect entry
-
cacheResult
Caches the redirect entries in the entity cache if it is enabled.- Parameters:
redirectEntries
- the redirect entries
-
create
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
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
-
updateImpl
-
findByPrimaryKey
Returns the redirect entry with the primary key or throws aNoSuchEntryException
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
-
fetchByPrimaryKey
Returns the redirect entry with the primary key or returnsnull
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
List<RedirectEntry> findAll()Returns all the redirect entries.- Returns:
- the redirect entries
-
findAll
Returns a range of all the redirect entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
start
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)- Returns:
- the range of redirect entries
-
findAll
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
start
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of redirect entries
-
findAll
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRedirectEntryModelImpl
.- Parameters:
start
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of redirect entries
-
removeAll
void removeAll()Removes all the redirect entries from the database. -
countAll
int countAll()Returns the number of redirect entries.- Returns:
- the number of redirect entries
-