Interface FriendlyURLEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<FriendlyURLEntry>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FriendlyURLEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(FriendlyURLEntry friendlyURLEntry) Caches the friendly url entry in the entity cache if it is enabled.void
cacheResult
(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
countByC_C
(long companyId, long classNameId) Returns the number of friendly url entries where companyId = ? and classNameId = ?.int
countByG_C
(long groupId, long classNameId) Returns the number of friendly url entries where groupId = ? and classNameId = ?.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
(String uuid) Returns the number of friendly url entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of friendly url entries where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of friendly url entries where uuid = ? and groupId = ?.create
(long friendlyURLEntryId) Creates a new friendly url entry with the primary key.fetchByC_C_First
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where companyId = ? and classNameId = ?.fetchByC_C_Last
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where companyId = ? and classNameId = ?.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 = ?.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 = ?.fetchByG_C_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ?.fetchByG_C_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ?.fetchByPrimaryKey
(long friendlyURLEntryId) Returns the friendly url entry with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the friendly url entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the friendly url entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where uuid = ?.findAll()
Returns all the friendly url entries.findAll
(int start, int end) Returns a range of all the friendly url entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns an ordered range of all the friendly url entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries.findByC_C
(long companyId, long classNameId) Returns all the friendly url entries where companyId = ? and classNameId = ?.findByC_C
(long companyId, long classNameId, int start, int end) Returns a range of all the friendly url entries where companyId = ? and classNameId = ?.findByC_C
(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns an ordered range of all the friendly url entries where companyId = ? and classNameId = ?.findByC_C
(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where companyId = ? and classNameId = ?.findByC_C_First
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where companyId = ? and classNameId = ?.findByC_C_Last
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where companyId = ? and classNameId = ?.findByC_C_PrevAndNext
(long friendlyURLEntryId, long companyId, long classNameId, 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 companyId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId) Returns all the friendly url entries where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end) Returns a range of all the friendly url entries where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, 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 = ?.findByG_C
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where groupId = ? and classNameId = ?.findByG_C_C
(long groupId, long classNameId, long classPK) Returns all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.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 = ?.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 = ?.findByG_C_C
(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.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 = ?.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 = ?.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 = ?.findByG_C_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ?.findByG_C_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ?.findByG_C_PrevAndNext
(long friendlyURLEntryId, long groupId, long classNameId, 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 = ?.findByPrimaryKey
(long friendlyURLEntryId) Returns the friendly url entry with the primary key or throws aNoSuchFriendlyURLEntryException
if it could not be found.findByUuid
(String uuid) Returns all the friendly url entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the friendly url entries where uuid = ?.findByUuid
(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 = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the friendly url entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the friendly url entries where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where uuid = ? and companyId = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long friendlyURLEntryId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the friendly url entry where uuid = ? and groupId = ? or throws aNoSuchFriendlyURLEntryException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long friendlyURLEntryId, 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 = ?.remove
(long friendlyURLEntryId) Removes the friendly url entry with the primary key from the database.void
Removes all the friendly url entries from the database.void
removeByC_C
(long companyId, long classNameId) Removes all the friendly url entries where companyId = ? and classNameId = ? from the database.void
removeByG_C
(long groupId, long classNameId) Removes all the friendly url entries where groupId = ? and classNameId = ? 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
(String uuid) Removes all the friendly url entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the friendly url entries where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the friendly url entry where uuid = ? and groupId = ? from the database.updateImpl
(FriendlyURLEntry friendlyURLEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the friendly url entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching friendly url entries
-
findByUuid
Returns a range of all the friendly url entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching friendly url entries
-
findByUuid
List<FriendlyURLEntry> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching friendly url entries
-
findByUuid
List<FriendlyURLEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching friendly url entries
-
findByUuid_First
FriendlyURLEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the first friendly url entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByUuid_First
FriendlyURLEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByUuid_Last
FriendlyURLEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the last friendly url entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByUuid_Last
FriendlyURLEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByUuid_PrevAndNext
FriendlyURLEntry[] findByUuid_PrevAndNext(long friendlyURLEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the friendly url entries before and after the current friendly url entry in the ordered set where uuid = ?.- Parameters:
friendlyURLEntryId
- the primary key of the current friendly url entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be found
-
removeByUuid
Removes all the friendly url entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of friendly url entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching friendly url entries
-
findByUUID_G
Returns the friendly url entry where uuid = ? and groupId = ? or throws aNoSuchFriendlyURLEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByUUID_G
Returns the friendly url entry where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
fetchByUUID_G
Returns the friendly url entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
removeByUUID_G
Removes the friendly url entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the friendly url entry that was removed
- Throws:
NoSuchFriendlyURLEntryException
-
countByUUID_G
Returns the number of friendly url entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching friendly url entries
-
findByUuid_C
Returns all the friendly url entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching friendly url entries
-
findByUuid_C
Returns a range of all the friendly url entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching friendly url entries
-
findByUuid_C
List<FriendlyURLEntry> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching friendly url entries
-
findByUuid_C
List<FriendlyURLEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching friendly url entries
-
findByUuid_C_First
FriendlyURLEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the first friendly url entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByUuid_C_First
FriendlyURLEntry fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByUuid_C_Last
FriendlyURLEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the last friendly url entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByUuid_C_Last
FriendlyURLEntry fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByUuid_C_PrevAndNext
FriendlyURLEntry[] findByUuid_C_PrevAndNext(long friendlyURLEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the friendly url entries before and after the current friendly url entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
friendlyURLEntryId
- the primary key of the current friendly url entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be found
-
removeByUuid_C
Removes all the friendly url entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of friendly url entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching friendly url entries
-
findByG_C
Returns all the friendly url entries where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the matching friendly url entries
-
findByG_C
Returns a range of all the friendly url entries where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)- Returns:
- the range of matching friendly url entries
-
findByG_C
List<FriendlyURLEntry> findByG_C(long groupId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name 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 (optionallynull
)- Returns:
- the ordered range of matching friendly url entries
-
findByG_C
List<FriendlyURLEntry> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching friendly url entries
-
findByG_C_First
FriendlyURLEntry findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByG_C_First
FriendlyURLEntry fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByG_C_Last
FriendlyURLEntry findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByG_C_Last
FriendlyURLEntry fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByG_C_PrevAndNext
FriendlyURLEntry[] findByG_C_PrevAndNext(long friendlyURLEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the friendly url entries before and after the current friendly url entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
friendlyURLEntryId
- the primary key of the current friendly url entrygroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be found
-
removeByG_C
void removeByG_C(long groupId, long classNameId) Removes all the friendly url entries where groupId = ? and classNameId = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name ID
-
countByG_C
int countByG_C(long groupId, long classNameId) Returns the number of friendly url entries where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the number of matching friendly url entries
-
findByC_C
Returns all the friendly url entries where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name ID- Returns:
- the matching friendly url entries
-
findByC_C
Returns a range of all the friendly url entries where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)- Returns:
- the range of matching friendly url entries
-
findByC_C
List<FriendlyURLEntry> findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns an ordered range of all the friendly url entries where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name 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 (optionallynull
)- Returns:
- the ordered range of matching friendly url entries
-
findByC_C
List<FriendlyURLEntry> findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching friendly url entries
-
findByC_C_First
FriendlyURLEntry findByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the first friendly url entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByC_C_First
FriendlyURLEntry fetchByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByC_C_Last
FriendlyURLEntry findByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the last friendly url entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByC_C_Last
FriendlyURLEntry fetchByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByC_C_PrevAndNext
FriendlyURLEntry[] findByC_C_PrevAndNext(long friendlyURLEntryId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the friendly url entries before and after the current friendly url entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
friendlyURLEntryId
- the primary key of the current friendly url entrycompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be found
-
removeByC_C
void removeByC_C(long companyId, long classNameId) Removes all the friendly url entries where companyId = ? and classNameId = ? from the database.- Parameters:
companyId
- the company IDclassNameId
- the class name ID
-
countByC_C
int countByC_C(long companyId, long classNameId) Returns the number of friendly url entries where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name ID- Returns:
- the number of matching friendly url entries
-
findByG_C_C
Returns all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching friendly url entries
-
findByG_C_C
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching friendly url entries
-
findByG_C_C
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching friendly url entries
-
findByG_C_C
List<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching friendly url entries
-
findByG_C_C_First
FriendlyURLEntry findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByG_C_C_First
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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByG_C_C_Last
FriendlyURLEntry findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be found
-
fetchByG_C_C_Last
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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching friendly url entry, or
null
if a matching friendly url entry could not be found
-
findByG_C_C_PrevAndNext
FriendlyURLEntry[] findByG_C_C_PrevAndNext(long friendlyURLEntryId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException Returns the friendly url entries before and after the current friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be found
-
removeByG_C_C
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.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk
-
countByG_C_C
int countByG_C_C(long groupId, long classNameId, long classPK) Returns the number of friendly url entries where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching friendly url entries
-
cacheResult
Caches the friendly url entry in the entity cache if it is enabled.- Parameters:
friendlyURLEntry
- the friendly url entry
-
cacheResult
Caches the friendly url entries in the entity cache if it is enabled.- Parameters:
friendlyURLEntries
- the friendly url entries
-
create
Creates a new friendly url entry with the primary key. Does not add the friendly url entry to the database.- Parameters:
friendlyURLEntryId
- the primary key for the new friendly url entry- Returns:
- the new friendly url entry
-
remove
Removes the friendly url entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
friendlyURLEntryId
- the primary key of the friendly url entry- Returns:
- the friendly url entry that was removed
- Throws:
NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the friendly url entry with the primary key or throws aNoSuchFriendlyURLEntryException
if it could not be found.- Parameters:
friendlyURLEntryId
- the primary key of the friendly url entry- Returns:
- the friendly url entry
- Throws:
NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the friendly url entry with the primary key or returnsnull
if it could not be found.- Parameters:
friendlyURLEntryId
- the primary key of the friendly url entry- Returns:
- the friendly url entry, or
null
if a friendly url entry with the primary key could not be found
-
findAll
List<FriendlyURLEntry> findAll()Returns all the friendly url entries.- Returns:
- the friendly url entries
-
findAll
Returns a range of all the friendly url entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
start
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)- Returns:
- the range of friendly url entries
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of friendly url entries
-
findAll
List<FriendlyURLEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the friendly url entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFriendlyURLEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of friendly url entries
-
removeAll
void removeAll()Removes all the friendly url entries from the database. -
countAll
int countAll()Returns the number of friendly url entries.- Returns:
- the number of friendly url entries
-