@ProviderType public interface CTermEntryLocalizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CTermEntryLocalization>
Caching information and settings can be found in portal.properties
CTermEntryLocalizationUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CTermEntryLocalization cTermEntryLocalization)
Caches the c term entry localization in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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_LanguageId(long commerceTermEntryId,
java.lang.String languageId)
Returns the number of c term entry localizations where commerceTermEntryId = ? and languageId = ?.
|
int |
countByCommerceTermEntryId(long commerceTermEntryId)
Returns the number of c term entry localizations where commerceTermEntryId = ?.
|
CTermEntryLocalization |
create(long cTermEntryLocalizationId)
Creates a new c term entry localization with the primary key.
|
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 = ?.
|
CTermEntryLocalization |
fetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId,
java.lang.String languageId)
Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returns
null if it could not be found. |
CTermEntryLocalization |
fetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId,
java.lang.String languageId,
boolean useFinderCache)
Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
CTermEntryLocalization |
fetchByPrimaryKey(long cTermEntryLocalizationId)
Returns the c term entry localization with the primary key or returns
null if it could not be found. |
java.util.List<CTermEntryLocalization> |
findAll()
Returns all the c term entry localizations.
|
java.util.List<CTermEntryLocalization> |
findAll(int start,
int end)
Returns a range of all the c term entry localizations.
|
java.util.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.
|
java.util.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.
|
CTermEntryLocalization |
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 = ?.
|
CTermEntryLocalization |
findByCommerceTermEntryId_LanguageId(long commerceTermEntryId,
java.lang.String languageId)
Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or throws a
NoSuchCTermEntryLocalizationException if it could not be found. |
CTermEntryLocalization |
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 = ?.
|
CTermEntryLocalization[] |
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 = ?.
|
java.util.List<CTermEntryLocalization> |
findByCommerceTermEntryId(long commerceTermEntryId)
Returns all the c term entry localizations where commerceTermEntryId = ?.
|
java.util.List<CTermEntryLocalization> |
findByCommerceTermEntryId(long commerceTermEntryId,
int start,
int end)
Returns a range of all the c term entry localizations where commerceTermEntryId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CTermEntryLocalization |
findByPrimaryKey(long cTermEntryLocalizationId)
Returns the c term entry localization with the primary key or throws a
NoSuchCTermEntryLocalizationException if it could not be found. |
CTermEntryLocalization |
remove(long cTermEntryLocalizationId)
Removes the c term entry localization with the primary key from the database.
|
void |
removeAll()
Removes all the c term entry localizations from the database.
|
CTermEntryLocalization |
removeByCommerceTermEntryId_LanguageId(long commerceTermEntryId,
java.lang.String languageId)
Removes the c term entry localization where commerceTermEntryId = ? and languageId = ? from the database.
|
void |
removeByCommerceTermEntryId(long commerceTermEntryId)
Removes all the c term entry localizations where commerceTermEntryId = ? from the database.
|
CTermEntryLocalization |
updateImpl(CTermEntryLocalization cTermEntryLocalization) |
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, setDataSource, unregisterListener, update, update
java.util.List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId)
commerceTermEntryId
- the commerce term entry IDjava.util.List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId, 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, then the query will include the default ORDER BY logic from CTermEntryLocalizationModelImpl
.
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)java.util.List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> 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, then the query will include the default ORDER BY logic from CTermEntryLocalizationModelImpl
.
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 (optionally null
)java.util.List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CTermEntryLocalizationModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTermEntryLocalization findByCommerceTermEntryId_First(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) throws NoSuchCTermEntryLocalizationException
commerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCTermEntryLocalizationException
- if a matching c term entry localization could not be foundCTermEntryLocalization fetchByCommerceTermEntryId_First(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator)
commerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching c term entry localization could not be foundCTermEntryLocalization findByCommerceTermEntryId_Last(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) throws NoSuchCTermEntryLocalizationException
commerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCTermEntryLocalizationException
- if a matching c term entry localization could not be foundCTermEntryLocalization fetchByCommerceTermEntryId_Last(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator)
commerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching c term entry localization could not be foundCTermEntryLocalization[] findByCommerceTermEntryId_PrevAndNext(long cTermEntryLocalizationId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator) throws NoSuchCTermEntryLocalizationException
cTermEntryLocalizationId
- the primary key of the current c term entry localizationcommerceTermEntryId
- the commerce term entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCTermEntryLocalizationException
- if a c term entry localization with the primary key could not be foundvoid removeByCommerceTermEntryId(long commerceTermEntryId)
commerceTermEntryId
- the commerce term entry IDint countByCommerceTermEntryId(long commerceTermEntryId)
commerceTermEntryId
- the commerce term entry IDCTermEntryLocalization findByCommerceTermEntryId_LanguageId(long commerceTermEntryId, java.lang.String languageId) throws NoSuchCTermEntryLocalizationException
NoSuchCTermEntryLocalizationException
if it could not be found.commerceTermEntryId
- the commerce term entry IDlanguageId
- the language IDNoSuchCTermEntryLocalizationException
- if a matching c term entry localization could not be foundCTermEntryLocalization fetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.commerceTermEntryId
- the commerce term entry IDlanguageId
- the language IDnull
if a matching c term entry localization could not be foundCTermEntryLocalization fetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceTermEntryId
- the commerce term entry IDlanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching c term entry localization could not be foundCTermEntryLocalization removeByCommerceTermEntryId_LanguageId(long commerceTermEntryId, java.lang.String languageId) throws NoSuchCTermEntryLocalizationException
commerceTermEntryId
- the commerce term entry IDlanguageId
- the language IDNoSuchCTermEntryLocalizationException
int countByCommerceTermEntryId_LanguageId(long commerceTermEntryId, java.lang.String languageId)
commerceTermEntryId
- the commerce term entry IDlanguageId
- the language IDvoid cacheResult(CTermEntryLocalization cTermEntryLocalization)
cTermEntryLocalization
- the c term entry localizationvoid cacheResult(java.util.List<CTermEntryLocalization> cTermEntryLocalizations)
cTermEntryLocalizations
- the c term entry localizationsCTermEntryLocalization create(long cTermEntryLocalizationId)
cTermEntryLocalizationId
- the primary key for the new c term entry localizationCTermEntryLocalization remove(long cTermEntryLocalizationId) throws NoSuchCTermEntryLocalizationException
cTermEntryLocalizationId
- the primary key of the c term entry localizationNoSuchCTermEntryLocalizationException
- if a c term entry localization with the primary key could not be foundCTermEntryLocalization updateImpl(CTermEntryLocalization cTermEntryLocalization)
CTermEntryLocalization findByPrimaryKey(long cTermEntryLocalizationId) throws NoSuchCTermEntryLocalizationException
NoSuchCTermEntryLocalizationException
if it could not be found.cTermEntryLocalizationId
- the primary key of the c term entry localizationNoSuchCTermEntryLocalizationException
- if a c term entry localization with the primary key could not be foundCTermEntryLocalization fetchByPrimaryKey(long cTermEntryLocalizationId)
null
if it could not be found.cTermEntryLocalizationId
- the primary key of the c term entry localizationnull
if a c term entry localization with the primary key could not be foundjava.util.List<CTermEntryLocalization> findAll()
java.util.List<CTermEntryLocalization> 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, then the query will include the default ORDER BY logic from CTermEntryLocalizationModelImpl
.
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)java.util.List<CTermEntryLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> 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, then the query will include the default ORDER BY logic from CTermEntryLocalizationModelImpl
.
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 (optionally null
)java.util.List<CTermEntryLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTermEntryLocalization> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CTermEntryLocalizationModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()