public class RedirectEntryUtil
extends java.lang.Object
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
RedirectEntryPersistence
Constructor and Description |
---|
RedirectEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<RedirectEntry> redirectEntries)
Caches the redirect entries in the entity cache if it is enabled.
|
static void |
cacheResult(RedirectEntry redirectEntry)
Caches the redirect entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(RedirectEntry redirectEntry) |
static int |
countAll()
Returns the number of redirect entries.
|
static int |
countByG_D(long groupId,
java.lang.String destinationURL)
Returns the number of redirect entries where groupId = ? and destinationURL = ?.
|
static int |
countByG_S(long groupId,
java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of redirect entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of redirect entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of redirect entries where uuid = ?.
|
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,
java.lang.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,
java.lang.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,
java.lang.String sourceURL)
Returns the redirect entry where groupId = ? and sourceURL = ? or returns
null if it could not be found. |
static RedirectEntry |
fetchByG_S(long groupId,
java.lang.String sourceURL,
boolean useFinderCache)
Returns the redirect entry where groupId = ? and sourceURL = ? or returns
null 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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,RedirectEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static RedirectEntry |
fetchByUuid_C_First(java.lang.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(java.lang.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(java.lang.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(java.lang.String uuid,
long groupId)
Returns the redirect entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static RedirectEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the redirect entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static RedirectEntry |
fetchByUuid_Last(java.lang.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,
java.lang.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 RedirectEntry[] |
filterFindByG_D_PrevAndNext(long redirectEntryId,
long groupId,
java.lang.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 java.util.List<RedirectEntry> |
filterFindByG_D(long groupId,
java.lang.String destinationURL)
Returns all the redirect entries that the user has permission to view where groupId = ? and destinationURL = ?.
|
static java.util.List<RedirectEntry> |
filterFindByG_D(long groupId,
java.lang.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 java.util.List<RedirectEntry> |
filterFindByG_D(long groupId,
java.lang.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[] |
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 java.util.List<RedirectEntry> |
filterFindByGroupId(long groupId)
Returns all the redirect entries that the user has permission to view where groupId = ?.
|
static java.util.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 java.util.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 java.util.List<RedirectEntry> |
findAll()
Returns all the redirect entries.
|
static java.util.List<RedirectEntry> |
findAll(int start,
int end)
Returns a range of all the redirect entries.
|
static java.util.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 java.util.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 RedirectEntry |
findByG_D_First(long groupId,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<RedirectEntry> |
findByG_D(long groupId,
java.lang.String destinationURL)
Returns all the redirect entries where groupId = ? and destinationURL = ?.
|
static java.util.List<RedirectEntry> |
findByG_D(long groupId,
java.lang.String destinationURL,
int start,
int end)
Returns a range of all the redirect entries where groupId = ? and destinationURL = ?.
|
static java.util.List<RedirectEntry> |
findByG_D(long groupId,
java.lang.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 java.util.List<RedirectEntry> |
findByG_D(long groupId,
java.lang.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_S(long groupId,
java.lang.String sourceURL)
Returns the redirect entry where groupId = ? and sourceURL = ? or throws a
NoSuchEntryException if it could not be found. |
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 java.util.List<RedirectEntry> |
findByGroupId(long groupId)
Returns all the redirect entries where groupId = ?.
|
static java.util.List<RedirectEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the redirect entries where groupId = ?.
|
static java.util.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 java.util.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 |
findByPrimaryKey(long redirectEntryId)
Returns the redirect entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
static RedirectEntry |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<RedirectEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the redirect entries where uuid = ? and companyId = ?.
|
static java.util.List<RedirectEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the redirect entries where uuid = ? and companyId = ?.
|
static java.util.List<RedirectEntry> |
findByUuid_C(java.lang.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 java.util.List<RedirectEntry> |
findByUuid_C(java.lang.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_First(java.lang.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(java.lang.String uuid,
long groupId)
Returns the redirect entry where uuid = ? and groupId = ? or throws a
NoSuchEntryException if it could not be found. |
static RedirectEntry |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<RedirectEntry> |
findByUuid(java.lang.String uuid)
Returns all the redirect entries where uuid = ?.
|
static java.util.List<RedirectEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the redirect entries where uuid = ?.
|
static java.util.List<RedirectEntry> |
findByUuid(java.lang.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 java.util.List<RedirectEntry> |
findByUuid(java.lang.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 java.util.List<RedirectEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<RedirectEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.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 |
getPersistence() |
static RedirectEntry |
remove(long redirectEntryId)
Removes the redirect entry with the primary key from the database.
|
static void |
removeAll()
Removes all the redirect entries from the database.
|
static void |
removeByG_D(long groupId,
java.lang.String destinationURL)
Removes all the redirect entries where groupId = ? and destinationURL = ? from the database.
|
static RedirectEntry |
removeByG_S(long groupId,
java.lang.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_C(java.lang.String uuid,
long companyId)
Removes all the redirect entries where uuid = ? and companyId = ? from the database.
|
static RedirectEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the redirect entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the redirect entries where uuid = ? from the database.
|
static RedirectEntry |
update(RedirectEntry redirectEntry) |
static RedirectEntry |
update(RedirectEntry redirectEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static RedirectEntry |
updateImpl(RedirectEntry redirectEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(RedirectEntry redirectEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,RedirectEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<RedirectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<RedirectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<RedirectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static RedirectEntry update(RedirectEntry redirectEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static RedirectEntry update(RedirectEntry redirectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<RedirectEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<RedirectEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)public static java.util.List<RedirectEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)public static java.util.List<RedirectEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static RedirectEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching redirect entry could not be foundpublic static RedirectEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching redirect entry could not be foundpublic static RedirectEntry[] findByUuid_PrevAndNext(long redirectEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
redirectEntryId
- the primary key of the current redirect entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a redirect entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static RedirectEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching redirect entry could not be foundpublic static RedirectEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching redirect entry could not be foundpublic static RedirectEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
uuid
- the uuidgroupId
- the group IDNoSuchEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<RedirectEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<RedirectEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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)public static java.util.List<RedirectEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)public static java.util.List<RedirectEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static RedirectEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching redirect entry could not be foundpublic static RedirectEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching redirect entry could not be foundpublic static RedirectEntry[] findByUuid_C_PrevAndNext(long redirectEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
redirectEntryId
- the primary key of the current redirect entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a redirect entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<RedirectEntry> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<RedirectEntry> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)public static java.util.List<RedirectEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)public static java.util.List<RedirectEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static RedirectEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching redirect entry could not be foundpublic static RedirectEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching redirect entry could not be foundpublic static RedirectEntry[] findByGroupId_PrevAndNext(long redirectEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
redirectEntryId
- the primary key of the current redirect entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a redirect entry with the primary key could not be foundpublic static java.util.List<RedirectEntry> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<RedirectEntry> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)public static java.util.List<RedirectEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)public static RedirectEntry[] filterFindByGroupId_PrevAndNext(long redirectEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
redirectEntryId
- the primary key of the current redirect entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a redirect entry with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<RedirectEntry> findByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urlpublic static java.util.List<RedirectEntry> findByG_D(long groupId, java.lang.String destinationURL, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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)public static java.util.List<RedirectEntry> findByG_D(long groupId, java.lang.String destinationURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)public static java.util.List<RedirectEntry> findByG_D(long groupId, java.lang.String destinationURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static RedirectEntry findByG_D_First(long groupId, java.lang.String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByG_D_First(long groupId, java.lang.String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
groupId
- the group IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching redirect entry could not be foundpublic static RedirectEntry findByG_D_Last(long groupId, java.lang.String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByG_D_Last(long groupId, java.lang.String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
groupId
- the group IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching redirect entry could not be foundpublic static RedirectEntry[] findByG_D_PrevAndNext(long redirectEntryId, long groupId, java.lang.String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
redirectEntryId
- the primary key of the current redirect entrygroupId
- the group IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a redirect entry with the primary key could not be foundpublic static java.util.List<RedirectEntry> filterFindByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urlpublic static java.util.List<RedirectEntry> filterFindByG_D(long groupId, java.lang.String destinationURL, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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)public static java.util.List<RedirectEntry> filterFindByG_D(long groupId, java.lang.String destinationURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)public static RedirectEntry[] filterFindByG_D_PrevAndNext(long redirectEntryId, long groupId, java.lang.String destinationURL, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws NoSuchEntryException
redirectEntryId
- the primary key of the current redirect entrygroupId
- the group IDdestinationURL
- the destination urlorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a redirect entry with the primary key could not be foundpublic static void removeByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urlpublic static int countByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urlpublic static int filterCountByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urlpublic static RedirectEntry findByG_S(long groupId, java.lang.String sourceURL) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.groupId
- the group IDsourceURL
- the source urlNoSuchEntryException
- if a matching redirect entry could not be foundpublic static RedirectEntry fetchByG_S(long groupId, java.lang.String sourceURL)
null
if it could not be found. Uses the finder cache.groupId
- the group IDsourceURL
- the source urlnull
if a matching redirect entry could not be foundpublic static RedirectEntry fetchByG_S(long groupId, java.lang.String sourceURL, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDsourceURL
- the source urluseFinderCache
- whether to use the finder cachenull
if a matching redirect entry could not be foundpublic static RedirectEntry removeByG_S(long groupId, java.lang.String sourceURL) throws NoSuchEntryException
groupId
- the group IDsourceURL
- the source urlNoSuchEntryException
public static int countByG_S(long groupId, java.lang.String sourceURL)
groupId
- the group IDsourceURL
- the source urlpublic static void cacheResult(RedirectEntry redirectEntry)
redirectEntry
- the redirect entrypublic static void cacheResult(java.util.List<RedirectEntry> redirectEntries)
redirectEntries
- the redirect entriespublic static RedirectEntry create(long redirectEntryId)
redirectEntryId
- the primary key for the new redirect entrypublic static RedirectEntry remove(long redirectEntryId) throws NoSuchEntryException
redirectEntryId
- the primary key of the redirect entryNoSuchEntryException
- if a redirect entry with the primary key could not be foundpublic static RedirectEntry updateImpl(RedirectEntry redirectEntry)
public static RedirectEntry findByPrimaryKey(long redirectEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.redirectEntryId
- the primary key of the redirect entryNoSuchEntryException
- if a redirect entry with the primary key could not be foundpublic static RedirectEntry fetchByPrimaryKey(long redirectEntryId)
null
if it could not be found.redirectEntryId
- the primary key of the redirect entrynull
if a redirect entry with the primary key could not be foundpublic static java.util.List<RedirectEntry> findAll()
public static java.util.List<RedirectEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
start
- the lower bound of the range of redirect entriesend
- the upper bound of the range of redirect entries (not inclusive)public static java.util.List<RedirectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)public static java.util.List<RedirectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from RedirectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static RedirectEntryPersistence getPersistence()