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 TypeMethodDescriptionintcountByG_D(long groupId, String destinationURL) Returns the number of redirect entries where groupId = ? and destinationURL = ?.intcountByG_S(long groupId, String sourceURL) Returns the number of redirect entries where groupId = ? and sourceURL = ?.intcountByGroupId(long groupId) Returns the number of redirect entries where groupId = ?.intcountByUuid(String uuid) Returns the number of redirect entries where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of redirect entries where uuid = ? and companyId = ?.intcountByUUID_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 = ?.default RedirectEntryfetchByG_S(long groupId, String sourceURL) Returns the redirect entry where groupId = ? and sourceURL = ? or returnsnullif it could not be found.fetchByG_S(long groupId, String sourceURL, boolean useFinderCache) Returns the redirect entry where groupId = ? and sourceURL = ? or returnsnullif 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 = ?.fetchByPrimaryKey(long redirectEntryId) Returns the redirect entry with the primary key or returnsnullif 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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the first redirect entry in the ordered set where uuid = ?.default RedirectEntryfetchByUUID_G(String uuid, long groupId) Returns the redirect entry where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the redirect entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.intfilterCountByG_D(long groupId, String destinationURL) Returns the number of redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.intfilterCountByGroupId(long groupId) Returns the number of redirect entries that the user has permission to view where groupId = ?.default List<RedirectEntry> filterFindByG_D(long groupId, String destinationURL) Returns all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.default List<RedirectEntry> filterFindByG_D(long groupId, String destinationURL, int start, int end) Returns a range of all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.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 = ?.default List<RedirectEntry> filterFindByGroupId(long groupId) Returns all the redirect entries that the user has permission to view where groupId = ?.default List<RedirectEntry> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the redirect entries that the user has permission to view where groupId = ?.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 = ?.default List<RedirectEntry> Returns all the redirect entries where groupId = ? and destinationURL = ?.default List<RedirectEntry> Returns a range of all the redirect entries where groupId = ? and destinationURL = ?.default 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 = ?.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 = ?.Returns the redirect entry where groupId = ? and sourceURL = ? or throws aNoSuchEntryExceptionif it could not be found.default List<RedirectEntry> findByGroupId(long groupId) Returns all the redirect entries where groupId = ?.default List<RedirectEntry> findByGroupId(long groupId, int start, int end) Returns a range of all the redirect entries where groupId = ?.default 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 = ?.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 = ?.findByPrimaryKey(long redirectEntryId) Returns the redirect entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.default List<RedirectEntry> findByUuid(String uuid) Returns all the redirect entries where uuid = ?.default List<RedirectEntry> findByUuid(String uuid, int start, int end) Returns a range of all the redirect entries where uuid = ?.default 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 = ?.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 = ?.default List<RedirectEntry> findByUuid_C(String uuid, long companyId) Returns all the redirect entries where uuid = ? and companyId = ?.default List<RedirectEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the redirect entries where uuid = ? and companyId = ?.default 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 = ?.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_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 aNoSuchEntryExceptionif it could not be found.remove(long redirectEntryId) Removes the redirect entry with the primary key from the database.voidremoveByG_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.voidremoveByGroupId(long groupId) Removes all the redirect entries where groupId = ? from the database.voidremoveByUuid(String uuid) Removes all the redirect entries where uuid = ? from the database.voidremoveByUuid_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
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
-
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 - 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.RedirectEntryModelImpl.- 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
nullif a matching redirect entry 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 aNoSuchEntryExceptionif 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 returnsnullif 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
nullif 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
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 - 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.RedirectEntryModelImpl.- 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
nullif a matching redirect entry 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
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 - 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.RedirectEntryModelImpl.- 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
nullif a matching redirect entry could not be found
-
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 - 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.RedirectEntryModelImpl.- 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
-
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
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 - 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.RedirectEntryModelImpl.- 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
nullif a matching redirect entry could not be found
-
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 - 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.RedirectEntryModelImpl.- 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
-
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 aNoSuchEntryExceptionif 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 returnsnullif 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
nullif 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
-
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 aNoSuchEntryExceptionif 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 returnsnullif it could not be found.- Parameters:
redirectEntryId- the primary key of the redirect entry- Returns:
- the redirect entry, or
nullif a redirect entry with the primary key could not be found
-
fetchByUUID_G
Returns the redirect entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching redirect entry, or
nullif a matching redirect entry could not be found
-
fetchByG_S
Returns the redirect entry where groupId = ? and sourceURL = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDsourceURL- the source url- Returns:
- the matching redirect entry, or
nullif a matching redirect entry could not be found
-
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 - 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.RedirectEntryModelImpl.- 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
default 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 - 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.RedirectEntryModelImpl.- 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_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 - 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.RedirectEntryModelImpl.- 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
default 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 - 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.RedirectEntryModelImpl.- 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
-
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 - 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.RedirectEntryModelImpl.- 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
default 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 - 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.RedirectEntryModelImpl.- 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
-
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 - 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.RedirectEntryModelImpl.- 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
-
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 - 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.RedirectEntryModelImpl.- 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
default 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 - 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.RedirectEntryModelImpl.- 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
-
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
default List<RedirectEntry> filterFindByG_D(long groupId, String destinationURL, int start, int end) Returns a range of all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.Useful when paginating results. Returns a maximum of
end - 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.RedirectEntryModelImpl.- 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
-