@ProviderType public interface RedirectEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<RedirectEntry>
Caching information and settings can be found in portal.properties
RedirectEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<RedirectEntry> redirectEntries)
Caches the redirect entries in the entity cache if it is enabled.
|
void |
cacheResult(RedirectEntry redirectEntry)
Caches the redirect entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of redirect entries.
|
int |
countByG_D(long groupId,
java.lang.String destinationURL)
Returns the number of redirect entries where groupId = ? and destinationURL = ?.
|
int |
countByG_S(long groupId,
java.lang.String sourceURL)
Returns the number of redirect entries where groupId = ? and sourceURL = ?.
|
int |
countByGroupId(long groupId)
Returns the number of redirect entries where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of redirect entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of redirect entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of redirect entries where uuid = ?.
|
RedirectEntry |
create(long redirectEntryId)
Creates a new redirect entry with the primary key.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
RedirectEntry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Returns the first redirect entry in the ordered set where groupId = ?.
|
RedirectEntry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Returns the last redirect entry in the ordered set where groupId = ?.
|
RedirectEntry |
fetchByPrimaryKey(long redirectEntryId)
Returns the redirect entry with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
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 = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of redirect entries that the user has permission to view where groupId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<RedirectEntry> |
filterFindByGroupId(long groupId)
Returns all the redirect entries that the user has permission to view where groupId = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<RedirectEntry> |
findAll()
Returns all the redirect entries.
|
java.util.List<RedirectEntry> |
findAll(int start,
int end)
Returns a range of all the redirect entries.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<RedirectEntry> |
findByG_D(long groupId,
java.lang.String destinationURL)
Returns all the redirect entries where groupId = ? and destinationURL = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
RedirectEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Returns the first redirect entry in the ordered set where groupId = ?.
|
RedirectEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator)
Returns the last redirect entry in the ordered set where groupId = ?.
|
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 = ?.
|
java.util.List<RedirectEntry> |
findByGroupId(long groupId)
Returns all the redirect entries where groupId = ?.
|
java.util.List<RedirectEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the redirect entries where groupId = ?.
|
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 = ?.
|
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 = ?.
|
RedirectEntry |
findByPrimaryKey(long redirectEntryId)
Returns the redirect entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<RedirectEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the redirect entries where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<RedirectEntry> |
findByUuid(java.lang.String uuid)
Returns all the redirect entries where uuid = ?.
|
java.util.List<RedirectEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the redirect entries where uuid = ?.
|
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 = ?.
|
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 = ?.
|
RedirectEntry |
remove(long redirectEntryId)
Removes the redirect entry with the primary key from the database.
|
void |
removeAll()
Removes all the redirect entries from the database.
|
void |
removeByG_D(long groupId,
java.lang.String destinationURL)
Removes all the redirect entries where groupId = ? and destinationURL = ? from the database.
|
RedirectEntry |
removeByG_S(long groupId,
java.lang.String sourceURL)
Removes the redirect entry where groupId = ? and sourceURL = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the redirect entries where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the redirect entries where uuid = ? and companyId = ? from the database.
|
RedirectEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the redirect entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the redirect entries where uuid = ? from the database.
|
RedirectEntry |
updateImpl(RedirectEntry redirectEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<RedirectEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
uuid
- the uuidgroupId
- the group IDNoSuchEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<RedirectEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<RedirectEntry> findByGroupId(long groupId)
groupId
- the group IDjava.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)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
)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 cacheRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry[] 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 foundjava.util.List<RedirectEntry> filterFindByGroupId(long groupId)
groupId
- the group IDjava.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)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
)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 foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long groupId)
groupId
- the group IDjava.util.List<RedirectEntry> findByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urljava.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)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
)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 cacheRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry[] 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 foundjava.util.List<RedirectEntry> filterFindByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urljava.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)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
)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 foundvoid removeByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urlint countByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urlint filterCountByG_D(long groupId, java.lang.String destinationURL)
groupId
- the group IDdestinationURL
- the destination urlRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry 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 foundRedirectEntry removeByG_S(long groupId, java.lang.String sourceURL) throws NoSuchEntryException
groupId
- the group IDsourceURL
- the source urlNoSuchEntryException
int countByG_S(long groupId, java.lang.String sourceURL)
groupId
- the group IDsourceURL
- the source urlvoid cacheResult(RedirectEntry redirectEntry)
redirectEntry
- the redirect entryvoid cacheResult(java.util.List<RedirectEntry> redirectEntries)
redirectEntries
- the redirect entriesRedirectEntry create(long redirectEntryId)
redirectEntryId
- the primary key for the new redirect entryRedirectEntry remove(long redirectEntryId) throws NoSuchEntryException
redirectEntryId
- the primary key of the redirect entryNoSuchEntryException
- if a redirect entry with the primary key could not be foundRedirectEntry updateImpl(RedirectEntry redirectEntry)
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 foundRedirectEntry 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 foundjava.util.List<RedirectEntry> findAll()
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)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
)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 cachevoid removeAll()
int countAll()