Class RedirectEntryUtil
com.liferay.redirect.service.persistence.impl.RedirectEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(RedirectEntry redirectEntry) Caches the redirect entry in the entity cache if it is enabled.static void
cacheResult
(List<RedirectEntry> redirectEntries) Caches the redirect entries in the entity cache if it is enabled.static void
static void
clearCache
(RedirectEntry redirectEntry) static int
countAll()
Returns the number of redirect entries.static int
countByG_D
(long groupId, String destinationURL) Returns the number of redirect entries where groupId = ? and destinationURL = ?.static int
countByG_S
(long groupId, String sourceURL) Returns the number of redirect entries where groupId = ? and sourceURL = ?.static int
countByGroupId
(long groupId) Returns the number of redirect entries where groupId = ?.static int
countByUuid
(String uuid) Returns the number of redirect entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of redirect entries where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of redirect entries where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static RedirectEntry
create
(long redirectEntryId) Creates a new redirect entry with the primary key.static 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 = ?.static 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 = ?.static RedirectEntry
fetchByG_S
(long groupId, String sourceURL) Returns the redirect entry where groupId = ? and sourceURL = ? or returnsnull
if it could not be found.static RedirectEntry
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.static RedirectEntry
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the first redirect entry in the ordered set where groupId = ?.static RedirectEntry
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the last redirect entry in the ordered set where groupId = ?.static RedirectEntry
fetchByPrimaryKey
(long redirectEntryId) Returns the redirect entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
RedirectEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static RedirectEntry
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the first redirect entry in the ordered set where uuid = ?.static RedirectEntry
fetchByUUID_G
(String uuid, long groupId) Returns the redirect entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.static RedirectEntry
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.static RedirectEntry
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the last redirect entry in the ordered set where uuid = ?.static int
filterCountByG_D
(long groupId, String destinationURL) Returns the number of redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.static int
filterCountByGroupId
(long groupId) Returns the number of redirect entries that the user has permission to view where groupId = ?.static List<RedirectEntry>
filterFindByG_D
(long groupId, String destinationURL) Returns all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.static 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 = ?.static 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 = ?.static RedirectEntry[]
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 = ?.static List<RedirectEntry>
filterFindByGroupId
(long groupId) Returns all the redirect entries that the user has permission to view where groupId = ?.static 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 = ?.static 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 = ?.static RedirectEntry[]
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 = ?.static List<RedirectEntry>
findAll()
Returns all the redirect entries.static List<RedirectEntry>
findAll
(int start, int end) Returns a range of all the redirect entries.static List<RedirectEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns an ordered range of all the redirect entries.static 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.static List<RedirectEntry>
Returns all the redirect entries where groupId = ? and destinationURL = ?.static List<RedirectEntry>
Returns a range of all the redirect entries where groupId = ? and destinationURL = ?.static 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 = ?.static 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 = ?.static RedirectEntry
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 = ?.static RedirectEntry
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 = ?.static RedirectEntry[]
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 = ?.static RedirectEntry
Returns the redirect entry where groupId = ? and sourceURL = ? or throws aNoSuchEntryException
if it could not be found.static List<RedirectEntry>
findByGroupId
(long groupId) Returns all the redirect entries where groupId = ?.static List<RedirectEntry>
findByGroupId
(long groupId, int start, int end) Returns a range of all the redirect entries where groupId = ?.static 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 = ?.static 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 = ?.static RedirectEntry
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the first redirect entry in the ordered set where groupId = ?.static RedirectEntry
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the last redirect entry in the ordered set where groupId = ?.static RedirectEntry[]
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 = ?.static RedirectEntry
findByPrimaryKey
(long redirectEntryId) Returns the redirect entry with the primary key or throws aNoSuchEntryException
if it could not be found.static List<RedirectEntry>
findByUuid
(String uuid) Returns all the redirect entries where uuid = ?.static List<RedirectEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the redirect entries where uuid = ?.static 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 = ?.static 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 = ?.static List<RedirectEntry>
findByUuid_C
(String uuid, long companyId) Returns all the redirect entries where uuid = ? and companyId = ?.static List<RedirectEntry>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the redirect entries where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static RedirectEntry
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 = ?.static RedirectEntry
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 = ?.static RedirectEntry[]
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 = ?.static RedirectEntry
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the first redirect entry in the ordered set where uuid = ?.static RedirectEntry
findByUUID_G
(String uuid, long groupId) Returns the redirect entry where uuid = ? and groupId = ? or throws aNoSuchEntryException
if it could not be found.static RedirectEntry
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) Returns the last redirect entry in the ordered set where uuid = ?.static RedirectEntry[]
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 = ?.static List<RedirectEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<RedirectEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<RedirectEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) static RedirectEntryPersistence
static RedirectEntry
remove
(long redirectEntryId) Removes the redirect entry with the primary key from the database.static void
Removes all the redirect entries from the database.static void
removeByG_D
(long groupId, String destinationURL) Removes all the redirect entries where groupId = ? and destinationURL = ? from the database.static RedirectEntry
removeByG_S
(long groupId, String sourceURL) Removes the redirect entry where groupId = ? and sourceURL = ? from the database.static void
removeByGroupId
(long groupId) Removes all the redirect entries where groupId = ? from the database.static void
removeByUuid
(String uuid) Removes all the redirect entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the redirect entries where uuid = ? and companyId = ? from the database.static RedirectEntry
removeByUUID_G
(String uuid, long groupId) Removes the redirect entry where uuid = ? and groupId = ? from the database.static void
setPersistence
(RedirectEntryPersistence persistence) static RedirectEntry
update
(RedirectEntry redirectEntry) static RedirectEntry
update
(RedirectEntry redirectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static RedirectEntry
updateImpl
(RedirectEntry redirectEntry)
-
Constructor Details
-
RedirectEntryUtil
public RedirectEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<RedirectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<RedirectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<RedirectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static RedirectEntry update(RedirectEntry redirectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchEntryException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchEntryException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchEntryException
-
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 foundNoSuchEntryException
-
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
public static 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
public static 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
public static 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 foundNoSuchEntryException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchEntryException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchEntryException
-
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
public static 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
public static 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
public static 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 foundNoSuchEntryException
-
fetchByGroupId_First
public static 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
public static 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 foundNoSuchEntryException
-
fetchByGroupId_Last
public static 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
public static 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 foundNoSuchEntryException
-
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
public static 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
public static 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 foundNoSuchEntryException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the redirect entries where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static 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
public static 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
public static List<RedirectEntry> findByG_D(long groupId, String destinationURL, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchEntryException
-
fetchByG_D_First
public static 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
public static 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 foundNoSuchEntryException
-
fetchByG_D_Last
public static 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
public static 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 foundNoSuchEntryException
-
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
public static 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 - 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
public static 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
public static 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 foundNoSuchEntryException
-
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 foundNoSuchEntryException
-
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 foundNoSuchEntryException
-
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 foundNoSuchEntryException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the redirect entries from the database. -
countAll
public static int countAll()Returns the number of redirect entries.- Returns:
- the number of redirect entries
-
getPersistence
-
setPersistence
-