Interface SiteFriendlyURLPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SiteFriendlyURL>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(SiteFriendlyURL siteFriendlyURL) Caches the site friendly url in the entity cache if it is enabled.voidcacheResult(List<SiteFriendlyURL> siteFriendlyURLs) Caches the site friendly urls in the entity cache if it is enabled.intcountAll()Returns the number of site friendly urls.intcountByC_F(long companyId, String friendlyURL) Returns the number of site friendly urls where companyId = ? and friendlyURL = ?.intcountByC_F_L(long companyId, String friendlyURL, String languageId) Returns the number of site friendly urls where companyId = ? and friendlyURL = ? and languageId = ?.intcountByG_C(long groupId, long companyId) Returns the number of site friendly urls where groupId = ? and companyId = ?.intcountByG_C_L(long groupId, long companyId, String languageId) Returns the number of site friendly urls where groupId = ? and companyId = ? and languageId = ?.intcountByUuid(String uuid) Returns the number of site friendly urls where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of site friendly urls where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of site friendly urls where uuid = ? and groupId = ?.create(long siteFriendlyURLId) Creates a new site friendly url with the primary key.fetchByC_F(long companyId, String friendlyURL) Returns the site friendly url where companyId = ? and friendlyURL = ? or returnsnullif it could not be found.fetchByC_F(long companyId, String friendlyURL, boolean useFinderCache) Returns the site friendly url where companyId = ? and friendlyURL = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_F_L(long companyId, String friendlyURL, String languageId) Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or returnsnullif it could not be found.fetchByC_F_L(long companyId, String friendlyURL, String languageId, boolean useFinderCache) Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url in the ordered set where groupId = ? and companyId = ?.fetchByG_C_L(long groupId, long companyId, String languageId) Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or returnsnullif it could not be found.fetchByG_C_L(long groupId, long companyId, String languageId, boolean useFinderCache) Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url in the ordered set where groupId = ? and companyId = ?.fetchByPrimaryKey(long siteFriendlyURLId) Returns the site friendly url with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url in the ordered set where uuid = ?.fetchByUUID_G(String uuid, long groupId) Returns the site friendly url where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the site friendly url where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url in the ordered set where uuid = ?.findAll()Returns all the site friendly urls.findAll(int start, int end) Returns a range of all the site friendly urls.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns an ordered range of all the site friendly urls.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site friendly urls.Returns the site friendly url where companyId = ? and friendlyURL = ? or throws aNoSuchFriendlyURLExceptionif it could not be found.findByC_F_L(long companyId, String friendlyURL, String languageId) Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or throws aNoSuchFriendlyURLExceptionif it could not be found.findByG_C(long groupId, long companyId) Returns all the site friendly urls where groupId = ? and companyId = ?.findByG_C(long groupId, long companyId, int start, int end) Returns a range of all the site friendly urls where groupId = ? and companyId = ?.findByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns an ordered range of all the site friendly urls where groupId = ? and companyId = ?.findByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site friendly urls where groupId = ? and companyId = ?.findByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url in the ordered set where groupId = ? and companyId = ?.findByG_C_L(long groupId, long companyId, String languageId) Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or throws aNoSuchFriendlyURLExceptionif it could not be found.findByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url in the ordered set where groupId = ? and companyId = ?.findByG_C_PrevAndNext(long siteFriendlyURLId, long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the site friendly urls before and after the current site friendly url in the ordered set where groupId = ? and companyId = ?.findByPrimaryKey(long siteFriendlyURLId) Returns the site friendly url with the primary key or throws aNoSuchFriendlyURLExceptionif it could not be found.findByUuid(String uuid) Returns all the site friendly urls where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the site friendly urls where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns an ordered range of all the site friendly urls where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site friendly urls where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the site friendly urls where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the site friendly urls where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns an ordered range of all the site friendly urls where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site friendly urls where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext(long siteFriendlyURLId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the site friendly url where uuid = ? and groupId = ? or throws aNoSuchFriendlyURLExceptionif it could not be found.findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url in the ordered set where uuid = ?.findByUuid_PrevAndNext(long siteFriendlyURLId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ?.remove(long siteFriendlyURLId) Removes the site friendly url with the primary key from the database.voidRemoves all the site friendly urls from the database.removeByC_F(long companyId, String friendlyURL) Removes the site friendly url where companyId = ? and friendlyURL = ? from the database.removeByC_F_L(long companyId, String friendlyURL, String languageId) Removes the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? from the database.voidremoveByG_C(long groupId, long companyId) Removes all the site friendly urls where groupId = ? and companyId = ? from the database.removeByG_C_L(long groupId, long companyId, String languageId) Removes the site friendly url where groupId = ? and companyId = ? and languageId = ? from the database.voidremoveByUuid(String uuid) Removes all the site friendly urls where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the site friendly urls where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the site friendly url where uuid = ? and groupId = ? from the database.updateImpl(SiteFriendlyURL siteFriendlyURL) 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
-
Method Details
-
findByUuid
Returns all the site friendly urls where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching site friendly urls
-
findByUuid
Returns a range of all the site friendly urls where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)- Returns:
- the range of matching site friendly urls
-
findByUuid
List<SiteFriendlyURL> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns an ordered range of all the site friendly urls where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching site friendly urls
-
findByUuid
List<SiteFriendlyURL> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site friendly urls where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching site friendly urls
-
findByUuid_First
SiteFriendlyURL findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the first site friendly url in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByUuid_First
SiteFriendlyURL fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site friendly url, or
nullif a matching site friendly url could not be found
-
findByUuid_Last
SiteFriendlyURL findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the last site friendly url in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByUuid_Last
SiteFriendlyURL fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site friendly url, or
nullif a matching site friendly url could not be found
-
findByUuid_PrevAndNext
SiteFriendlyURL[] findByUuid_PrevAndNext(long siteFriendlyURLId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ?.- Parameters:
siteFriendlyURLId- the primary key of the current site friendly urluuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next site friendly url
- Throws:
NoSuchFriendlyURLException- if a site friendly url with the primary key could not be found
-
removeByUuid
Removes all the site friendly urls where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of site friendly urls where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching site friendly urls
-
findByUUID_G
Returns the site friendly url where uuid = ? and groupId = ? or throws aNoSuchFriendlyURLExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByUUID_G
Returns the site friendly url where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching site friendly url, or
nullif a matching site friendly url could not be found
-
fetchByUUID_G
Returns the site friendly url where uuid = ? and groupId = ? or returnsnullif 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 site friendly url, or
nullif a matching site friendly url could not be found
-
removeByUUID_G
Removes the site friendly url where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the site friendly url that was removed
- Throws:
NoSuchFriendlyURLException
-
countByUUID_G
Returns the number of site friendly urls where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching site friendly urls
-
findByUuid_C
Returns all the site friendly urls where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching site friendly urls
-
findByUuid_C
Returns a range of all the site friendly urls where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)- Returns:
- the range of matching site friendly urls
-
findByUuid_C
List<SiteFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns an ordered range of all the site friendly urls where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching site friendly urls
-
findByUuid_C
List<SiteFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site friendly urls where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching site friendly urls
-
findByUuid_C_First
SiteFriendlyURL findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the first site friendly url 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 site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByUuid_C_First
SiteFriendlyURL fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url 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 site friendly url, or
nullif a matching site friendly url could not be found
-
findByUuid_C_Last
SiteFriendlyURL findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the last site friendly url 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 site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByUuid_C_Last
SiteFriendlyURL fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url 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 site friendly url, or
nullif a matching site friendly url could not be found
-
findByUuid_C_PrevAndNext
SiteFriendlyURL[] findByUuid_C_PrevAndNext(long siteFriendlyURLId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ? and companyId = ?.- Parameters:
siteFriendlyURLId- the primary key of the current site friendly urluuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next site friendly url
- Throws:
NoSuchFriendlyURLException- if a site friendly url with the primary key could not be found
-
removeByUuid_C
Removes all the site friendly urls where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of site friendly urls where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching site friendly urls
-
findByG_C
Returns all the site friendly urls where groupId = ? and companyId = ?.- Parameters:
groupId- the group IDcompanyId- the company ID- Returns:
- the matching site friendly urls
-
findByG_C
Returns a range of all the site friendly urls where groupId = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)- Returns:
- the range of matching site friendly urls
-
findByG_C
List<SiteFriendlyURL> findByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns an ordered range of all the site friendly urls where groupId = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching site friendly urls
-
findByG_C
List<SiteFriendlyURL> findByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site friendly urls where groupId = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDstart- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching site friendly urls
-
findByG_C_First
SiteFriendlyURL findByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the first site friendly url in the ordered set where groupId = ? and companyId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByG_C_First
SiteFriendlyURL fetchByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the first site friendly url in the ordered set where groupId = ? and companyId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site friendly url, or
nullif a matching site friendly url could not be found
-
findByG_C_Last
SiteFriendlyURL findByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the last site friendly url in the ordered set where groupId = ? and companyId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByG_C_Last
SiteFriendlyURL fetchByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns the last site friendly url in the ordered set where groupId = ? and companyId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site friendly url, or
nullif a matching site friendly url could not be found
-
findByG_C_PrevAndNext
SiteFriendlyURL[] findByG_C_PrevAndNext(long siteFriendlyURLId, long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException Returns the site friendly urls before and after the current site friendly url in the ordered set where groupId = ? and companyId = ?.- Parameters:
siteFriendlyURLId- the primary key of the current site friendly urlgroupId- the group IDcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next site friendly url
- Throws:
NoSuchFriendlyURLException- if a site friendly url with the primary key could not be found
-
removeByG_C
void removeByG_C(long groupId, long companyId) Removes all the site friendly urls where groupId = ? and companyId = ? from the database.- Parameters:
groupId- the group IDcompanyId- the company ID
-
countByG_C
int countByG_C(long groupId, long companyId) Returns the number of site friendly urls where groupId = ? and companyId = ?.- Parameters:
groupId- the group IDcompanyId- the company ID- Returns:
- the number of matching site friendly urls
-
findByC_F
Returns the site friendly url where companyId = ? and friendlyURL = ? or throws aNoSuchFriendlyURLExceptionif it could not be found.- Parameters:
companyId- the company IDfriendlyURL- the friendly url- Returns:
- the matching site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByC_F
Returns the site friendly url where companyId = ? and friendlyURL = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDfriendlyURL- the friendly url- Returns:
- the matching site friendly url, or
nullif a matching site friendly url could not be found
-
fetchByC_F
Returns the site friendly url where companyId = ? and friendlyURL = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDfriendlyURL- the friendly urluseFinderCache- whether to use the finder cache- Returns:
- the matching site friendly url, or
nullif a matching site friendly url could not be found
-
removeByC_F
Removes the site friendly url where companyId = ? and friendlyURL = ? from the database.- Parameters:
companyId- the company IDfriendlyURL- the friendly url- Returns:
- the site friendly url that was removed
- Throws:
NoSuchFriendlyURLException
-
countByC_F
Returns the number of site friendly urls where companyId = ? and friendlyURL = ?.- Parameters:
companyId- the company IDfriendlyURL- the friendly url- Returns:
- the number of matching site friendly urls
-
findByG_C_L
SiteFriendlyURL findByG_C_L(long groupId, long companyId, String languageId) throws NoSuchFriendlyURLException Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or throws aNoSuchFriendlyURLExceptionif it could not be found.- Parameters:
groupId- the group IDcompanyId- the company IDlanguageId- the language ID- Returns:
- the matching site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByG_C_L
Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDcompanyId- the company IDlanguageId- the language ID- Returns:
- the matching site friendly url, or
nullif a matching site friendly url could not be found
-
fetchByG_C_L
SiteFriendlyURL fetchByG_C_L(long groupId, long companyId, String languageId, boolean useFinderCache) Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDcompanyId- the company IDlanguageId- the language IDuseFinderCache- whether to use the finder cache- Returns:
- the matching site friendly url, or
nullif a matching site friendly url could not be found
-
removeByG_C_L
SiteFriendlyURL removeByG_C_L(long groupId, long companyId, String languageId) throws NoSuchFriendlyURLException Removes the site friendly url where groupId = ? and companyId = ? and languageId = ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDlanguageId- the language ID- Returns:
- the site friendly url that was removed
- Throws:
NoSuchFriendlyURLException
-
countByG_C_L
Returns the number of site friendly urls where groupId = ? and companyId = ? and languageId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDlanguageId- the language ID- Returns:
- the number of matching site friendly urls
-
findByC_F_L
SiteFriendlyURL findByC_F_L(long companyId, String friendlyURL, String languageId) throws NoSuchFriendlyURLException Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or throws aNoSuchFriendlyURLExceptionif it could not be found.- Parameters:
companyId- the company IDfriendlyURL- the friendly urllanguageId- the language ID- Returns:
- the matching site friendly url
- Throws:
NoSuchFriendlyURLException- if a matching site friendly url could not be found
-
fetchByC_F_L
Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDfriendlyURL- the friendly urllanguageId- the language ID- Returns:
- the matching site friendly url, or
nullif a matching site friendly url could not be found
-
fetchByC_F_L
SiteFriendlyURL fetchByC_F_L(long companyId, String friendlyURL, String languageId, boolean useFinderCache) Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDfriendlyURL- the friendly urllanguageId- the language IDuseFinderCache- whether to use the finder cache- Returns:
- the matching site friendly url, or
nullif a matching site friendly url could not be found
-
removeByC_F_L
SiteFriendlyURL removeByC_F_L(long companyId, String friendlyURL, String languageId) throws NoSuchFriendlyURLException Removes the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? from the database.- Parameters:
companyId- the company IDfriendlyURL- the friendly urllanguageId- the language ID- Returns:
- the site friendly url that was removed
- Throws:
NoSuchFriendlyURLException
-
countByC_F_L
Returns the number of site friendly urls where companyId = ? and friendlyURL = ? and languageId = ?.- Parameters:
companyId- the company IDfriendlyURL- the friendly urllanguageId- the language ID- Returns:
- the number of matching site friendly urls
-
cacheResult
Caches the site friendly url in the entity cache if it is enabled.- Parameters:
siteFriendlyURL- the site friendly url
-
cacheResult
Caches the site friendly urls in the entity cache if it is enabled.- Parameters:
siteFriendlyURLs- the site friendly urls
-
create
Creates a new site friendly url with the primary key. Does not add the site friendly url to the database.- Parameters:
siteFriendlyURLId- the primary key for the new site friendly url- Returns:
- the new site friendly url
-
remove
Removes the site friendly url with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
siteFriendlyURLId- the primary key of the site friendly url- Returns:
- the site friendly url that was removed
- Throws:
NoSuchFriendlyURLException- if a site friendly url with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the site friendly url with the primary key or throws aNoSuchFriendlyURLExceptionif it could not be found.- Parameters:
siteFriendlyURLId- the primary key of the site friendly url- Returns:
- the site friendly url
- Throws:
NoSuchFriendlyURLException- if a site friendly url with the primary key could not be found
-
fetchByPrimaryKey
Returns the site friendly url with the primary key or returnsnullif it could not be found.- Parameters:
siteFriendlyURLId- the primary key of the site friendly url- Returns:
- the site friendly url, or
nullif a site friendly url with the primary key could not be found
-
findAll
List<SiteFriendlyURL> findAll()Returns all the site friendly urls.- Returns:
- the site friendly urls
-
findAll
Returns a range of all the site friendly urls.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
start- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)- Returns:
- the range of site friendly urls
-
findAll
List<SiteFriendlyURL> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) Returns an ordered range of all the site friendly urls.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
start- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of site friendly urls
-
findAll
List<SiteFriendlyURL> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site friendly urls.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteFriendlyURLModelImpl.- Parameters:
start- the lower bound of the range of site friendly urlsend- the upper bound of the range of site friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of site friendly urls
-
removeAll
void removeAll()Removes all the site friendly urls from the database. -
countAll
int countAll()Returns the number of site friendly urls.- Returns:
- the number of site friendly urls
-