@ProviderType public interface FriendlyURLEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<FriendlyURLEntry>
Caching information and settings can be found in portal.properties
com.liferay.friendly.url.service.persistence.impl.FriendlyURLEntryPersistenceImpl
,
FriendlyURLEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(FriendlyURLEntry friendlyURLEntry)
Caches the friendly url entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<FriendlyURLEntry> friendlyURLEntries)
Caches the friendly url entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of friendly url entries.
|
int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of friendly url entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of friendly url entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of friendly url entries where uuid = ?.
|
FriendlyURLEntry |
create(long friendlyURLEntryId)
Creates a new friendly url entry with the primary key.
|
FriendlyURLEntry |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
FriendlyURLEntry |
fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
FriendlyURLEntry |
fetchByPrimaryKey(long friendlyURLEntryId)
Returns the friendly url entry with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,FriendlyURLEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
FriendlyURLEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
FriendlyURLEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
FriendlyURLEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where uuid = ?.
|
FriendlyURLEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the friendly url entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
FriendlyURLEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the friendly url entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
FriendlyURLEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where uuid = ?.
|
java.util.List<FriendlyURLEntry> |
findAll()
Returns all the friendly url entries.
|
java.util.List<FriendlyURLEntry> |
findAll(int start,
int end)
Returns a range of all the friendly url entries.
|
java.util.List<FriendlyURLEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns an ordered range of all the friendly url entries.
|
java.util.List<FriendlyURLEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entries.
|
FriendlyURLEntry |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
FriendlyURLEntry |
findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
FriendlyURLEntry[] |
findByG_C_C_PrevAndNext(long friendlyURLEntryId,
long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the friendly url entries before and after the current friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.List<FriendlyURLEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.List<FriendlyURLEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.List<FriendlyURLEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns an ordered range of all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.List<FriendlyURLEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
FriendlyURLEntry |
findByPrimaryKey(long friendlyURLEntryId)
Returns the friendly url entry with the primary key or throws a
NoSuchFriendlyURLEntryException if it could not be found. |
FriendlyURLEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
FriendlyURLEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
FriendlyURLEntry[] |
findByUuid_C_PrevAndNext(long friendlyURLEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the friendly url entries before and after the current friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<FriendlyURLEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the friendly url entries where uuid = ? and companyId = ?.
|
java.util.List<FriendlyURLEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the friendly url entries where uuid = ? and companyId = ?.
|
java.util.List<FriendlyURLEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns an ordered range of all the friendly url entries where uuid = ? and companyId = ?.
|
java.util.List<FriendlyURLEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entries where uuid = ? and companyId = ?.
|
FriendlyURLEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where uuid = ?.
|
FriendlyURLEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the friendly url entry where uuid = ? and groupId = ? or throws a
NoSuchFriendlyURLEntryException if it could not be found. |
FriendlyURLEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where uuid = ?.
|
FriendlyURLEntry[] |
findByUuid_PrevAndNext(long friendlyURLEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the friendly url entries before and after the current friendly url entry in the ordered set where uuid = ?.
|
java.util.List<FriendlyURLEntry> |
findByUuid(java.lang.String uuid)
Returns all the friendly url entries where uuid = ?.
|
java.util.List<FriendlyURLEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the friendly url entries where uuid = ?.
|
java.util.List<FriendlyURLEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns an ordered range of all the friendly url entries where uuid = ?.
|
java.util.List<FriendlyURLEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entries where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
FriendlyURLEntry |
remove(long friendlyURLEntryId)
Removes the friendly url entry with the primary key from the database.
|
void |
removeAll()
Removes all the friendly url entries from the database.
|
void |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes all the friendly url entries where groupId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the friendly url entries where uuid = ? and companyId = ? from the database.
|
FriendlyURLEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the friendly url entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the friendly url entries where uuid = ? from the database.
|
FriendlyURLEntry |
updateImpl(FriendlyURLEntry friendlyURLEntry) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<FriendlyURLEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<FriendlyURLEntry> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)java.util.List<FriendlyURLEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<FriendlyURLEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheFriendlyURLEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundFriendlyURLEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundFriendlyURLEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundFriendlyURLEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundFriendlyURLEntry[] findByUuid_PrevAndNext(long friendlyURLEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
friendlyURLEntryId
- the primary key of the current friendly url entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidFriendlyURLEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFriendlyURLEntryException
NoSuchFriendlyURLEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundFriendlyURLEntry 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 friendly url entry could not be foundFriendlyURLEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching friendly url entry could not be foundFriendlyURLEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFriendlyURLEntryException
uuid
- the uuidgroupId
- the group IDNoSuchFriendlyURLEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<FriendlyURLEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<FriendlyURLEntry> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)java.util.List<FriendlyURLEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<FriendlyURLEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheFriendlyURLEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundFriendlyURLEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundFriendlyURLEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundFriendlyURLEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundFriendlyURLEntry[] findByUuid_C_PrevAndNext(long friendlyURLEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
friendlyURLEntryId
- the primary key of the current friendly url entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a friendly url 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<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkjava.util.List<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)java.util.List<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheFriendlyURLEntry findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundFriendlyURLEntry fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundFriendlyURLEntry findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundFriendlyURLEntry fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundFriendlyURLEntry[] findByG_C_C_PrevAndNext(long friendlyURLEntryId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
friendlyURLEntryId
- the primary key of the current friendly url entrygroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be foundvoid removeByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkint countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkvoid cacheResult(FriendlyURLEntry friendlyURLEntry)
friendlyURLEntry
- the friendly url entryvoid cacheResult(java.util.List<FriendlyURLEntry> friendlyURLEntries)
friendlyURLEntries
- the friendly url entriesFriendlyURLEntry create(long friendlyURLEntryId)
friendlyURLEntryId
- the primary key for the new friendly url entryFriendlyURLEntry remove(long friendlyURLEntryId) throws NoSuchFriendlyURLEntryException
friendlyURLEntryId
- the primary key of the friendly url entryNoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be foundFriendlyURLEntry updateImpl(FriendlyURLEntry friendlyURLEntry)
FriendlyURLEntry findByPrimaryKey(long friendlyURLEntryId) throws NoSuchFriendlyURLEntryException
NoSuchFriendlyURLEntryException
if it could not be found.friendlyURLEntryId
- the primary key of the friendly url entryNoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be foundFriendlyURLEntry fetchByPrimaryKey(long friendlyURLEntryId)
null
if it could not be found.friendlyURLEntryId
- the primary key of the friendly url entrynull
if a friendly url entry with the primary key could not be foundjava.util.Map<java.io.Serializable,FriendlyURLEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<FriendlyURLEntry>
java.util.List<FriendlyURLEntry> findAll()
java.util.List<FriendlyURLEntry> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)java.util.List<FriendlyURLEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<FriendlyURLEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<FriendlyURLEntry>