Class FriendlyURLEntryUtil
com.liferay.friendly.url.service.persistence.impl.FriendlyURLEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(FriendlyURLEntry friendlyURLEntry) Caches the friendly url entry in the entity cache if it is enabled.static void
cacheResult
(List<FriendlyURLEntry> friendlyURLEntries) Caches the friendly url entries in the entity cache if it is enabled.static void
static void
clearCache
(FriendlyURLEntry friendlyURLEntry) static int
countAll()
Returns the number of friendly url entries.static int
countByC_C
(long companyId, long classNameId) Returns the number of friendly url entries where companyId = ? and classNameId = ?.static int
countByG_C
(long groupId, long classNameId) Returns the number of friendly url entries where groupId = ? and classNameId = ?.static int
countByG_C_C
(long groupId, long classNameId, long classPK) Returns the number of friendly url entries where groupId = ? and classNameId = ? and classPK = ?.static int
countByUuid
(String uuid) Returns the number of friendly url entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of friendly url entries where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of friendly url entries where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static FriendlyURLEntry
create
(long friendlyURLEntryId) Creates a new friendly url entry with the primary key.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static FriendlyURLEntry
fetchByPrimaryKey
(long friendlyURLEntryId) Returns the friendly url entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
FriendlyURLEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static 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 = ?.static FriendlyURLEntry
fetchByUUID_G
(String uuid, long groupId) Returns the friendly url entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.static FriendlyURLEntry
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.static 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 = ?.static List<FriendlyURLEntry>
findAll()
Returns all the friendly url entries.static List<FriendlyURLEntry>
findAll
(int start, int end) Returns a range of all the friendly url entries.static 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.static 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.static List<FriendlyURLEntry>
findByC_C
(long companyId, long classNameId) Returns all the friendly url entries where companyId = ? and classNameId = ?.static List<FriendlyURLEntry>
findByC_C
(long companyId, long classNameId, int start, int end) Returns a range of all the friendly url entries where companyId = ? and classNameId = ?.static 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 = ?.static 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 = ?.static FriendlyURLEntry
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 = ?.static FriendlyURLEntry
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 = ?.static FriendlyURLEntry[]
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 = ?.static List<FriendlyURLEntry>
findByG_C
(long groupId, long classNameId) Returns all the friendly url entries where groupId = ? and classNameId = ?.static List<FriendlyURLEntry>
findByG_C
(long groupId, long classNameId, int start, int end) Returns a range of all the friendly url entries where groupId = ? and classNameId = ?.static 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 = ?.static 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 = ?.static List<FriendlyURLEntry>
findByG_C_C
(long groupId, long classNameId, long classPK) Returns all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static FriendlyURLEntry
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 = ?.static FriendlyURLEntry
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 = ?.static FriendlyURLEntry[]
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 = ?.static FriendlyURLEntry
findByPrimaryKey
(long friendlyURLEntryId) Returns the friendly url entry with the primary key or throws aNoSuchFriendlyURLEntryException
if it could not be found.static List<FriendlyURLEntry>
findByUuid
(String uuid) Returns all the friendly url entries where uuid = ?.static List<FriendlyURLEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the friendly url entries where uuid = ?.static 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 = ?.static 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 = ?.static List<FriendlyURLEntry>
findByUuid_C
(String uuid, long companyId) Returns all the friendly url entries where uuid = ? and companyId = ?.static List<FriendlyURLEntry>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the friendly url entries where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static FriendlyURLEntry
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 = ?.static FriendlyURLEntry
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 = ?.static FriendlyURLEntry[]
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 = ?.static FriendlyURLEntry
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the first friendly url entry in the ordered set where uuid = ?.static FriendlyURLEntry
findByUUID_G
(String uuid, long groupId) Returns the friendly url entry where uuid = ? and groupId = ? or throws aNoSuchFriendlyURLEntryException
if it could not be found.static FriendlyURLEntry
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) Returns the last friendly url entry in the ordered set where uuid = ?.static FriendlyURLEntry[]
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 = ?.static List<FriendlyURLEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<FriendlyURLEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<FriendlyURLEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) static FriendlyURLEntryPersistence
static FriendlyURLEntry
remove
(long friendlyURLEntryId) Removes the friendly url entry with the primary key from the database.static void
Removes all the friendly url entries from the database.static void
removeByC_C
(long companyId, long classNameId) Removes all the friendly url entries where companyId = ? and classNameId = ? from the database.static void
removeByG_C
(long groupId, long classNameId) Removes all the friendly url entries where groupId = ? and classNameId = ? from the database.static 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.static void
removeByUuid
(String uuid) Removes all the friendly url entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the friendly url entries where uuid = ? and companyId = ? from the database.static FriendlyURLEntry
removeByUUID_G
(String uuid, long groupId) Removes the friendly url entry where uuid = ? and groupId = ? from the database.static void
setPersistence
(FriendlyURLEntryPersistence persistence) static FriendlyURLEntry
update
(FriendlyURLEntry friendlyURLEntry) static FriendlyURLEntry
update
(FriendlyURLEntry friendlyURLEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FriendlyURLEntry
updateImpl
(FriendlyURLEntry friendlyURLEntry)
-
Constructor Details
-
FriendlyURLEntryUtil
public FriendlyURLEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<FriendlyURLEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<FriendlyURLEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<FriendlyURLEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static FriendlyURLEntry update(FriendlyURLEntry friendlyURLEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
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
public static FriendlyURLEntry findByUUID_G(String uuid, long groupId) throws NoSuchFriendlyURLEntryException 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 foundNoSuchFriendlyURLEntryException
-
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
public static FriendlyURLEntry removeByUUID_G(String uuid, long groupId) throws NoSuchFriendlyURLEntryException 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
public static 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
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
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
public static 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
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByG_C_First
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByG_C_Last
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
removeByG_C
public static 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
public static 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
public static List<FriendlyURLEntry> findByC_C(long companyId, long classNameId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByC_C_First
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByC_C_Last
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
removeByC_C
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByG_C_C_First
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
fetchByG_C_C_Last
public static 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
public static 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 foundNoSuchFriendlyURLEntryException
-
removeByG_C_C
public static 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
public static 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
public static FriendlyURLEntry remove(long friendlyURLEntryId) throws NoSuchFriendlyURLEntryException 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 foundNoSuchFriendlyURLEntryException
-
updateImpl
-
findByPrimaryKey
public static FriendlyURLEntry findByPrimaryKey(long friendlyURLEntryId) throws NoSuchFriendlyURLEntryException 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 foundNoSuchFriendlyURLEntryException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the friendly url entries from the database. -
countAll
public static int countAll()Returns the number of friendly url entries.- Returns:
- the number of friendly url entries
-
getPersistence
-
setPersistence
-