Interface CTermEntryLocalizationPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTermEntryLocalization>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CTermEntryLocalization cTermEntryLocalization) Caches the c term entry localization in the entity cache if it is enabled.void
cacheResult
(List<CTermEntryLocalization> cTermEntryLocalizations) Caches the c term entry localizations in the entity cache if it is enabled.int
countAll()
Returns the number of c term entry localizations.int
countByCommerceTermEntryId
(long commerceTermEntryId) Returns the number of c term entry localizations where commerceTermEntryId = ?.int
countByCommerceTermEntryId_LanguageId
(long commerceTermEntryId, String languageId) Returns the number of c term entry localizations where commerceTermEntryId = ? and languageId = ?.create
(long cTermEntryLocalizationId) Creates a new c term entry localization with the primary key.fetchByCommerceTermEntryId_First
(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns the first c term entry localization in the ordered set where commerceTermEntryId = ?.fetchByCommerceTermEntryId_LanguageId
(long commerceTermEntryId, String languageId) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returnsnull
if it could not be found.fetchByCommerceTermEntryId_LanguageId
(long commerceTermEntryId, String languageId, boolean useFinderCache) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCommerceTermEntryId_Last
(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns the last c term entry localization in the ordered set where commerceTermEntryId = ?.fetchByPrimaryKey
(long cTermEntryLocalizationId) Returns the c term entry localization with the primary key or returnsnull
if it could not be found.findAll()
Returns all the c term entry localizations.findAll
(int start, int end) Returns a range of all the c term entry localizations.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns an ordered range of all the c term entry localizations.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the c term entry localizations.findByCommerceTermEntryId
(long commerceTermEntryId) Returns all the c term entry localizations where commerceTermEntryId = ?.findByCommerceTermEntryId
(long commerceTermEntryId, int start, int end) Returns a range of all the c term entry localizations where commerceTermEntryId = ?.findByCommerceTermEntryId
(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns an ordered range of all the c term entry localizations where commerceTermEntryId = ?.findByCommerceTermEntryId
(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the c term entry localizations where commerceTermEntryId = ?.findByCommerceTermEntryId_First
(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns the first c term entry localization in the ordered set where commerceTermEntryId = ?.findByCommerceTermEntryId_LanguageId
(long commerceTermEntryId, String languageId) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or throws aNoSuchCTermEntryLocalizationException
if it could not be found.findByCommerceTermEntryId_Last
(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns the last c term entry localization in the ordered set where commerceTermEntryId = ?.findByCommerceTermEntryId_PrevAndNext
(long cTermEntryLocalizationId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns the c term entry localizations before and after the current c term entry localization in the ordered set where commerceTermEntryId = ?.findByPrimaryKey
(long cTermEntryLocalizationId) Returns the c term entry localization with the primary key or throws aNoSuchCTermEntryLocalizationException
if it could not be found.remove
(long cTermEntryLocalizationId) Removes the c term entry localization with the primary key from the database.void
Removes all the c term entry localizations from the database.void
removeByCommerceTermEntryId
(long commerceTermEntryId) Removes all the c term entry localizations where commerceTermEntryId = ? from the database.removeByCommerceTermEntryId_LanguageId
(long commerceTermEntryId, String languageId) Removes the c term entry localization where commerceTermEntryId = ? and languageId = ? from the database.updateImpl
(CTermEntryLocalization cTermEntryLocalization) 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
-
findByCommerceTermEntryId
Returns all the c term entry localizations where commerceTermEntryId = ?.- Parameters:
commerceTermEntryId
- the commerce term entry ID- Returns:
- the matching c term entry localizations
-
findByCommerceTermEntryId
List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end) Returns a range of all the c term entry localizations where commerceTermEntryId = ?.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 fromCTermEntryLocalizationModelImpl
.- Parameters:
commerceTermEntryId
- the commerce term entry IDstart
- the lower bound of the range of c term entry localizationsend
- the upper bound of the range of c term entry localizations (not inclusive)- Returns:
- the range of matching c term entry localizations
-
findByCommerceTermEntryId
List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns an ordered range of all the c term entry localizations where commerceTermEntryId = ?.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 fromCTermEntryLocalizationModelImpl
.- Parameters:
commerceTermEntryId
- the commerce term entry IDstart
- the lower bound of the range of c term entry localizationsend
- the upper bound of the range of c term entry localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching c term entry localizations
-
findByCommerceTermEntryId
List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the c term entry localizations where commerceTermEntryId = ?.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 fromCTermEntryLocalizationModelImpl
.- Parameters:
commerceTermEntryId
- the commerce term entry IDstart
- the lower bound of the range of c term entry localizationsend
- the upper bound of the range of c term entry localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching c term entry localizations
-
findByCommerceTermEntryId_First
CTermEntryLocalization findByCommerceTermEntryId_First(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) throws NoSuchCTermEntryLocalizationException Returns the first c term entry localization in the ordered set where commerceTermEntryId = ?.- Parameters:
commerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching c term entry localization
- Throws:
NoSuchCTermEntryLocalizationException
- if a matching c term entry localization could not be found
-
fetchByCommerceTermEntryId_First
CTermEntryLocalization fetchByCommerceTermEntryId_First(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns the first c term entry localization in the ordered set where commerceTermEntryId = ?.- Parameters:
commerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching c term entry localization, or
null
if a matching c term entry localization could not be found
-
findByCommerceTermEntryId_Last
CTermEntryLocalization findByCommerceTermEntryId_Last(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) throws NoSuchCTermEntryLocalizationException Returns the last c term entry localization in the ordered set where commerceTermEntryId = ?.- Parameters:
commerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching c term entry localization
- Throws:
NoSuchCTermEntryLocalizationException
- if a matching c term entry localization could not be found
-
fetchByCommerceTermEntryId_Last
CTermEntryLocalization fetchByCommerceTermEntryId_Last(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns the last c term entry localization in the ordered set where commerceTermEntryId = ?.- Parameters:
commerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching c term entry localization, or
null
if a matching c term entry localization could not be found
-
findByCommerceTermEntryId_PrevAndNext
CTermEntryLocalization[] findByCommerceTermEntryId_PrevAndNext(long cTermEntryLocalizationId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) throws NoSuchCTermEntryLocalizationException Returns the c term entry localizations before and after the current c term entry localization in the ordered set where commerceTermEntryId = ?.- Parameters:
cTermEntryLocalizationId
- the primary key of the current c term entry localizationcommerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next c term entry localization
- Throws:
NoSuchCTermEntryLocalizationException
- if a c term entry localization with the primary key could not be found
-
removeByCommerceTermEntryId
void removeByCommerceTermEntryId(long commerceTermEntryId) Removes all the c term entry localizations where commerceTermEntryId = ? from the database.- Parameters:
commerceTermEntryId
- the commerce term entry ID
-
countByCommerceTermEntryId
int countByCommerceTermEntryId(long commerceTermEntryId) Returns the number of c term entry localizations where commerceTermEntryId = ?.- Parameters:
commerceTermEntryId
- the commerce term entry ID- Returns:
- the number of matching c term entry localizations
-
findByCommerceTermEntryId_LanguageId
CTermEntryLocalization findByCommerceTermEntryId_LanguageId(long commerceTermEntryId, String languageId) throws NoSuchCTermEntryLocalizationException Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or throws aNoSuchCTermEntryLocalizationException
if it could not be found.- Parameters:
commerceTermEntryId
- the commerce term entry IDlanguageId
- the language ID- Returns:
- the matching c term entry localization
- Throws:
NoSuchCTermEntryLocalizationException
- if a matching c term entry localization could not be found
-
fetchByCommerceTermEntryId_LanguageId
CTermEntryLocalization fetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId, String languageId) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
commerceTermEntryId
- the commerce term entry IDlanguageId
- the language ID- Returns:
- the matching c term entry localization, or
null
if a matching c term entry localization could not be found
-
fetchByCommerceTermEntryId_LanguageId
CTermEntryLocalization fetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId, String languageId, boolean useFinderCache) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
commerceTermEntryId
- the commerce term entry IDlanguageId
- the language IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching c term entry localization, or
null
if a matching c term entry localization could not be found
-
removeByCommerceTermEntryId_LanguageId
CTermEntryLocalization removeByCommerceTermEntryId_LanguageId(long commerceTermEntryId, String languageId) throws NoSuchCTermEntryLocalizationException Removes the c term entry localization where commerceTermEntryId = ? and languageId = ? from the database.- Parameters:
commerceTermEntryId
- the commerce term entry IDlanguageId
- the language ID- Returns:
- the c term entry localization that was removed
- Throws:
NoSuchCTermEntryLocalizationException
-
countByCommerceTermEntryId_LanguageId
Returns the number of c term entry localizations where commerceTermEntryId = ? and languageId = ?.- Parameters:
commerceTermEntryId
- the commerce term entry IDlanguageId
- the language ID- Returns:
- the number of matching c term entry localizations
-
cacheResult
Caches the c term entry localization in the entity cache if it is enabled.- Parameters:
cTermEntryLocalization
- the c term entry localization
-
cacheResult
Caches the c term entry localizations in the entity cache if it is enabled.- Parameters:
cTermEntryLocalizations
- the c term entry localizations
-
create
Creates a new c term entry localization with the primary key. Does not add the c term entry localization to the database.- Parameters:
cTermEntryLocalizationId
- the primary key for the new c term entry localization- Returns:
- the new c term entry localization
-
remove
CTermEntryLocalization remove(long cTermEntryLocalizationId) throws NoSuchCTermEntryLocalizationException Removes the c term entry localization with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
cTermEntryLocalizationId
- the primary key of the c term entry localization- Returns:
- the c term entry localization that was removed
- Throws:
NoSuchCTermEntryLocalizationException
- if a c term entry localization with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CTermEntryLocalization findByPrimaryKey(long cTermEntryLocalizationId) throws NoSuchCTermEntryLocalizationException Returns the c term entry localization with the primary key or throws aNoSuchCTermEntryLocalizationException
if it could not be found.- Parameters:
cTermEntryLocalizationId
- the primary key of the c term entry localization- Returns:
- the c term entry localization
- Throws:
NoSuchCTermEntryLocalizationException
- if a c term entry localization with the primary key could not be found
-
fetchByPrimaryKey
Returns the c term entry localization with the primary key or returnsnull
if it could not be found.- Parameters:
cTermEntryLocalizationId
- the primary key of the c term entry localization- Returns:
- the c term entry localization, or
null
if a c term entry localization with the primary key could not be found
-
findAll
List<CTermEntryLocalization> findAll()Returns all the c term entry localizations.- Returns:
- the c term entry localizations
-
findAll
Returns a range of all the c term entry localizations.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 fromCTermEntryLocalizationModelImpl
.- Parameters:
start
- the lower bound of the range of c term entry localizationsend
- the upper bound of the range of c term entry localizations (not inclusive)- Returns:
- the range of c term entry localizations
-
findAll
List<CTermEntryLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) Returns an ordered range of all the c term entry localizations.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 fromCTermEntryLocalizationModelImpl
.- Parameters:
start
- the lower bound of the range of c term entry localizationsend
- the upper bound of the range of c term entry localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of c term entry localizations
-
findAll
List<CTermEntryLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the c term entry localizations.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 fromCTermEntryLocalizationModelImpl
.- Parameters:
start
- the lower bound of the range of c term entry localizationsend
- the upper bound of the range of c term entry localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of c term entry localizations
-
removeAll
void removeAll()Removes all the c term entry localizations from the database. -
countAll
int countAll()Returns the number of c term entry localizations.- Returns:
- the number of c term entry localizations
-