@ProviderType public interface FriendlyURLEntryLocalizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<FriendlyURLEntryLocalization>
Caching information and settings can be found in portal.properties
com.liferay.friendly.url.service.persistence.impl.FriendlyURLEntryLocalizationPersistenceImpl
,
FriendlyURLEntryLocalizationUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
Caches the friendly url entry localization in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<FriendlyURLEntryLocalization> friendlyURLEntryLocalizations)
Caches the friendly url entry localizations in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of friendly url entry localizations.
|
int |
countByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId,
java.lang.String languageId)
Returns the number of friendly url entry localizations where friendlyURLEntryId = ? and languageId = ?.
|
int |
countByFriendlyURLEntryId(long friendlyURLEntryId)
Returns the number of friendly url entry localizations where friendlyURLEntryId = ?.
|
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 = ?.
|
FriendlyURLEntryLocalization |
create(long friendlyURLEntryLocalizationId)
Creates a new friendly url entry localization with the primary key.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
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. |
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. |
FriendlyURLEntryLocalization |
fetchByPrimaryKey(long friendlyURLEntryLocalizationId)
Returns the friendly url entry localization with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,FriendlyURLEntryLocalization> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<FriendlyURLEntryLocalization> |
findAll()
Returns all the friendly url entry localizations.
|
java.util.List<FriendlyURLEntryLocalization> |
findAll(int start,
int end)
Returns a range of all the friendly url entry localizations.
|
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.
|
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.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<FriendlyURLEntryLocalization> |
findByFriendlyURLEntryId(long friendlyURLEntryId)
Returns all the friendly url entry localizations where friendlyURLEntryId = ?.
|
java.util.List<FriendlyURLEntryLocalization> |
findByFriendlyURLEntryId(long friendlyURLEntryId,
int start,
int end)
Returns a range of all the friendly url entry localizations where friendlyURLEntryId = ?.
|
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 = ?.
|
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 = ?.
|
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. |
FriendlyURLEntryLocalization |
findByPrimaryKey(long friendlyURLEntryLocalizationId)
Returns the friendly url entry localization with the primary key or throws a
NoSuchFriendlyURLEntryLocalizationException if it could not be found. |
FriendlyURLEntryLocalization |
remove(long friendlyURLEntryLocalizationId)
Removes the friendly url entry localization with the primary key from the database.
|
void |
removeAll()
Removes all the friendly url entry localizations from the database.
|
FriendlyURLEntryLocalization |
removeByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId,
java.lang.String languageId)
Removes the friendly url entry localization where friendlyURLEntryId = ? and languageId = ? from the database.
|
void |
removeByFriendlyURLEntryId(long friendlyURLEntryId)
Removes all the friendly url entry localizations where friendlyURLEntryId = ? from the database.
|
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.
|
FriendlyURLEntryLocalization |
updateImpl(FriendlyURLEntryLocalization friendlyURLEntryLocalization) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<FriendlyURLEntryLocalization> findByFriendlyURLEntryId(long friendlyURLEntryId)
friendlyURLEntryId
- the friendly url entry IDjava.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)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
)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 cacheFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization[] 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 foundvoid removeByFriendlyURLEntryId(long friendlyURLEntryId)
friendlyURLEntryId
- the friendly url entry IDint countByFriendlyURLEntryId(long friendlyURLEntryId)
friendlyURLEntryId
- the friendly url entry IDFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization removeByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId, java.lang.String languageId) throws NoSuchFriendlyURLEntryLocalizationException
friendlyURLEntryId
- the friendly url entry IDlanguageId
- the language IDNoSuchFriendlyURLEntryLocalizationException
int countByFriendlyURLEntryId_LanguageId(long friendlyURLEntryId, java.lang.String languageId)
friendlyURLEntryId
- the friendly url entry IDlanguageId
- the language IDFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization removeByG_C_U(long groupId, long classNameId, java.lang.String urlTitle) throws NoSuchFriendlyURLEntryLocalizationException
groupId
- the group IDclassNameId
- the class name IDurlTitle
- the url titleNoSuchFriendlyURLEntryLocalizationException
int countByG_C_U(long groupId, long classNameId, java.lang.String urlTitle)
groupId
- the group IDclassNameId
- the class name IDurlTitle
- the url titlevoid cacheResult(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
friendlyURLEntryLocalization
- the friendly url entry localizationvoid cacheResult(java.util.List<FriendlyURLEntryLocalization> friendlyURLEntryLocalizations)
friendlyURLEntryLocalizations
- the friendly url entry localizationsFriendlyURLEntryLocalization create(long friendlyURLEntryLocalizationId)
friendlyURLEntryLocalizationId
- the primary key for the new friendly url entry localizationFriendlyURLEntryLocalization 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 foundFriendlyURLEntryLocalization updateImpl(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
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 foundFriendlyURLEntryLocalization 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 foundjava.util.Map<java.io.Serializable,FriendlyURLEntryLocalization> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<FriendlyURLEntryLocalization>
java.util.List<FriendlyURLEntryLocalization> findAll()
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)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
)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 cachevoid removeAll()
int countAll()