@ProviderType
public class FriendlyURLEntryLocalizationUtil
extends java.lang.Object
com.liferay.friendly.url.service.persistence.impl.FriendlyURLEntryLocalizationPersistenceImpl
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
FriendlyURLEntryLocalizationPersistence
,
com.liferay.friendly.url.service.persistence.impl.FriendlyURLEntryLocalizationPersistenceImpl
Constructor and Description |
---|
FriendlyURLEntryLocalizationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
Caches the friendly url entry localization in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<FriendlyURLEntryLocalization> friendlyURLEntryLocalizations)
Caches the friendly url entry localizations in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(FriendlyURLEntryLocalization friendlyURLEntryLocalization) |
static int |
countAll()
Returns the number of friendly url entry localizations.
|
static int |
countByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId,
java.lang.String languageId)
Returns the number of friendly url entry localizations where friendlyURLEntryId = ? and languageId = ?.
|
static int |
countByFriendlyURLEntryId(long friendlyURLEntryId)
Returns the number of friendly url entry localizations where friendlyURLEntryId = ?.
|
static int |
countByG_C_U(long groupId,
long classNameId,
java.lang.String urlTitle)
Returns the number of friendly url entry localizations where groupId = ? and classNameId = ? and urlTitle = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static FriendlyURLEntryLocalization |
create(long friendlyURLEntryLocalizationId)
Creates a new friendly url entry localization with the primary key.
|
static FriendlyURLEntryLocalization |
fetchByFriendlyURLEntryId_First(long friendlyURLEntryId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Returns the first friendly url entry localization in the ordered set where friendlyURLEntryId = ?.
|
static FriendlyURLEntryLocalization |
fetchByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId,
java.lang.String languageId)
Returns the friendly url entry localization where friendlyURLEntryId = ? and languageId = ? or returns
null if it could not be found. |
static FriendlyURLEntryLocalization |
fetchByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId,
java.lang.String languageId,
boolean retrieveFromCache)
Returns the friendly url entry localization where friendlyURLEntryId = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
static FriendlyURLEntryLocalization |
fetchByFriendlyURLEntryId_Last(long friendlyURLEntryId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Returns the last friendly url entry localization in the ordered set where friendlyURLEntryId = ?.
|
static FriendlyURLEntryLocalization |
fetchByG_C_U(long groupId,
long classNameId,
java.lang.String urlTitle)
Returns the friendly url entry localization where groupId = ? and classNameId = ? and urlTitle = ? or returns
null if it could not be found. |
static FriendlyURLEntryLocalization |
fetchByG_C_U(long groupId,
long classNameId,
java.lang.String urlTitle,
boolean retrieveFromCache)
Returns the friendly url entry localization where groupId = ? and classNameId = ? and urlTitle = ? or returns
null if it could not be found, optionally using the finder cache. |
static FriendlyURLEntryLocalization |
fetchByPrimaryKey(long friendlyURLEntryLocalizationId)
Returns the friendly url entry localization with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,FriendlyURLEntryLocalization> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<FriendlyURLEntryLocalization> |
findAll()
Returns all the friendly url entry localizations.
|
static java.util.List<FriendlyURLEntryLocalization> |
findAll(int start,
int end)
Returns a range of all the friendly url entry localizations.
|
static java.util.List<FriendlyURLEntryLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Returns an ordered range of all the friendly url entry localizations.
|
static java.util.List<FriendlyURLEntryLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entry localizations.
|
static FriendlyURLEntryLocalization |
findByFriendlyURLEntryId_First(long friendlyURLEntryId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Returns the first friendly url entry localization in the ordered set where friendlyURLEntryId = ?.
|
static FriendlyURLEntryLocalization |
findByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId,
java.lang.String languageId)
Returns the friendly url entry localization where friendlyURLEntryId = ? and languageId = ? or throws a
NoSuchFriendlyURLEntryLocalizationException if it could not be found. |
static FriendlyURLEntryLocalization |
findByFriendlyURLEntryId_Last(long friendlyURLEntryId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Returns the last friendly url entry localization in the ordered set where friendlyURLEntryId = ?.
|
static FriendlyURLEntryLocalization[] |
findByFriendlyURLEntryId_PrevAndNext(long friendlyURLEntryLocalizationId,
long friendlyURLEntryId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Returns the friendly url entry localizations before and after the current friendly url entry localization in the ordered set where friendlyURLEntryId = ?.
|
static java.util.List<FriendlyURLEntryLocalization> |
findByFriendlyURLEntryId(long friendlyURLEntryId)
Returns all the friendly url entry localizations where friendlyURLEntryId = ?.
|
static java.util.List<FriendlyURLEntryLocalization> |
findByFriendlyURLEntryId(long friendlyURLEntryId,
int start,
int end)
Returns a range of all the friendly url entry localizations where friendlyURLEntryId = ?.
|
static java.util.List<FriendlyURLEntryLocalization> |
findByFriendlyURLEntryId(long friendlyURLEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Returns an ordered range of all the friendly url entry localizations where friendlyURLEntryId = ?.
|
static java.util.List<FriendlyURLEntryLocalization> |
findByFriendlyURLEntryId(long friendlyURLEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entry localizations where friendlyURLEntryId = ?.
|
static FriendlyURLEntryLocalization |
findByG_C_U(long groupId,
long classNameId,
java.lang.String urlTitle)
Returns the friendly url entry localization where groupId = ? and classNameId = ? and urlTitle = ? or throws a
NoSuchFriendlyURLEntryLocalizationException if it could not be found. |
static FriendlyURLEntryLocalization |
findByPrimaryKey(long friendlyURLEntryLocalizationId)
Returns the friendly url entry localization with the primary key or throws a
NoSuchFriendlyURLEntryLocalizationException if it could not be found. |
static java.util.List<FriendlyURLEntryLocalization> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<FriendlyURLEntryLocalization> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<FriendlyURLEntryLocalization> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator) |
static FriendlyURLEntryLocalizationPersistence |
getPersistence() |
static FriendlyURLEntryLocalization |
remove(long friendlyURLEntryLocalizationId)
Removes the friendly url entry localization with the primary key from the database.
|
static void |
removeAll()
Removes all the friendly url entry localizations from the database.
|
static FriendlyURLEntryLocalization |
removeByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId,
java.lang.String languageId)
Removes the friendly url entry localization where friendlyURLEntryId = ? and languageId = ? from the database.
|
static void |
removeByFriendlyURLEntryId(long friendlyURLEntryId)
Removes all the friendly url entry localizations where friendlyURLEntryId = ? from the database.
|
static FriendlyURLEntryLocalization |
removeByG_C_U(long groupId,
long classNameId,
java.lang.String urlTitle)
Removes the friendly url entry localization where groupId = ? and classNameId = ? and urlTitle = ? from the database.
|
static FriendlyURLEntryLocalization |
update(FriendlyURLEntryLocalization friendlyURLEntryLocalization) |
static FriendlyURLEntryLocalization |
update(FriendlyURLEntryLocalization friendlyURLEntryLocalization,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FriendlyURLEntryLocalization |
updateImpl(FriendlyURLEntryLocalization friendlyURLEntryLocalization) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<FriendlyURLEntryLocalization> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<FriendlyURLEntryLocalization> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<FriendlyURLEntryLocalization> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static FriendlyURLEntryLocalization update(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static FriendlyURLEntryLocalization update(FriendlyURLEntryLocalization friendlyURLEntryLocalization, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<FriendlyURLEntryLocalization> findByFriendlyURLEntryId(long friendlyURLEntryId)
friendlyURLEntryId
- the friendly url entry IDpublic static java.util.List<FriendlyURLEntryLocalization> findByFriendlyURLEntryId(long friendlyURLEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryLocalizationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
friendlyURLEntryId
- the friendly url entry IDstart
- the lower bound of the range of friendly url entry localizationsend
- the upper bound of the range of friendly url entry localizations (not inclusive)public static java.util.List<FriendlyURLEntryLocalization> findByFriendlyURLEntryId(long friendlyURLEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryLocalizationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
friendlyURLEntryId
- the friendly url entry IDstart
- the lower bound of the range of friendly url entry localizationsend
- the upper bound of the range of friendly url entry localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FriendlyURLEntryLocalization> findByFriendlyURLEntryId(long friendlyURLEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryLocalizationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
friendlyURLEntryId
- the friendly url entry IDstart
- the lower bound of the range of friendly url entry localizationsend
- the upper bound of the range of friendly url entry localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static FriendlyURLEntryLocalization findByFriendlyURLEntryId_First(long friendlyURLEntryId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator) throws NoSuchFriendlyURLEntryLocalizationException
friendlyURLEntryId
- the friendly url entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryLocalizationException
- if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization fetchByFriendlyURLEntryId_First(long friendlyURLEntryId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
friendlyURLEntryId
- the friendly url entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization findByFriendlyURLEntryId_Last(long friendlyURLEntryId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator) throws NoSuchFriendlyURLEntryLocalizationException
friendlyURLEntryId
- the friendly url entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryLocalizationException
- if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization fetchByFriendlyURLEntryId_Last(long friendlyURLEntryId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
friendlyURLEntryId
- the friendly url entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization[] findByFriendlyURLEntryId_PrevAndNext(long friendlyURLEntryLocalizationId, long friendlyURLEntryId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator) throws NoSuchFriendlyURLEntryLocalizationException
friendlyURLEntryLocalizationId
- the primary key of the current friendly url entry localizationfriendlyURLEntryId
- the friendly url entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryLocalizationException
- if a friendly url entry localization with the primary key could not be foundpublic static void removeByFriendlyURLEntryId(long friendlyURLEntryId)
friendlyURLEntryId
- the friendly url entry IDpublic static int countByFriendlyURLEntryId(long friendlyURLEntryId)
friendlyURLEntryId
- the friendly url entry IDpublic static FriendlyURLEntryLocalization findByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId, java.lang.String languageId) throws NoSuchFriendlyURLEntryLocalizationException
NoSuchFriendlyURLEntryLocalizationException
if it could not be found.friendlyURLEntryId
- the friendly url entry IDlanguageId
- the language IDNoSuchFriendlyURLEntryLocalizationException
- if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization fetchByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.friendlyURLEntryId
- the friendly url entry IDlanguageId
- the language IDnull
if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization fetchByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId, java.lang.String languageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.friendlyURLEntryId
- the friendly url entry IDlanguageId
- the language IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization removeByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId, java.lang.String languageId) throws NoSuchFriendlyURLEntryLocalizationException
friendlyURLEntryId
- the friendly url entry IDlanguageId
- the language IDNoSuchFriendlyURLEntryLocalizationException
public static int countByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId, java.lang.String languageId)
friendlyURLEntryId
- the friendly url entry IDlanguageId
- the language IDpublic static FriendlyURLEntryLocalization findByG_C_U(long groupId, long classNameId, java.lang.String urlTitle) throws NoSuchFriendlyURLEntryLocalizationException
NoSuchFriendlyURLEntryLocalizationException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDurlTitle
- the url titleNoSuchFriendlyURLEntryLocalizationException
- if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization fetchByG_C_U(long groupId, long classNameId, java.lang.String urlTitle)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDurlTitle
- the url titlenull
if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization fetchByG_C_U(long groupId, long classNameId, java.lang.String urlTitle, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDurlTitle
- the url titleretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching friendly url entry localization could not be foundpublic static FriendlyURLEntryLocalization removeByG_C_U(long groupId, long classNameId, java.lang.String urlTitle) throws NoSuchFriendlyURLEntryLocalizationException
groupId
- the group IDclassNameId
- the class name IDurlTitle
- the url titleNoSuchFriendlyURLEntryLocalizationException
public static int countByG_C_U(long groupId, long classNameId, java.lang.String urlTitle)
groupId
- the group IDclassNameId
- the class name IDurlTitle
- the url titlepublic static void cacheResult(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
friendlyURLEntryLocalization
- the friendly url entry localizationpublic static void cacheResult(java.util.List<FriendlyURLEntryLocalization> friendlyURLEntryLocalizations)
friendlyURLEntryLocalizations
- the friendly url entry localizationspublic static FriendlyURLEntryLocalization create(long friendlyURLEntryLocalizationId)
friendlyURLEntryLocalizationId
- the primary key for the new friendly url entry localizationpublic static FriendlyURLEntryLocalization remove(long friendlyURLEntryLocalizationId) throws NoSuchFriendlyURLEntryLocalizationException
friendlyURLEntryLocalizationId
- the primary key of the friendly url entry localizationNoSuchFriendlyURLEntryLocalizationException
- if a friendly url entry localization with the primary key could not be foundpublic static FriendlyURLEntryLocalization updateImpl(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
public static FriendlyURLEntryLocalization findByPrimaryKey(long friendlyURLEntryLocalizationId) throws NoSuchFriendlyURLEntryLocalizationException
NoSuchFriendlyURLEntryLocalizationException
if it could not be found.friendlyURLEntryLocalizationId
- the primary key of the friendly url entry localizationNoSuchFriendlyURLEntryLocalizationException
- if a friendly url entry localization with the primary key could not be foundpublic static FriendlyURLEntryLocalization fetchByPrimaryKey(long friendlyURLEntryLocalizationId)
null
if it could not be found.friendlyURLEntryLocalizationId
- the primary key of the friendly url entry localizationnull
if a friendly url entry localization with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,FriendlyURLEntryLocalization> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<FriendlyURLEntryLocalization> findAll()
public static java.util.List<FriendlyURLEntryLocalization> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryLocalizationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of friendly url entry localizationsend
- the upper bound of the range of friendly url entry localizations (not inclusive)public static java.util.List<FriendlyURLEntryLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryLocalizationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of friendly url entry localizationsend
- the upper bound of the range of friendly url entry localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FriendlyURLEntryLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryLocalization> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FriendlyURLEntryLocalizationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of friendly url entry localizationsend
- the upper bound of the range of friendly url entry localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static FriendlyURLEntryLocalizationPersistence getPersistence()