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 TypeMethodDescriptionintcountByCommerceTermEntryId(long commerceTermEntryId) Returns the number of c term entry localizations where commerceTermEntryId = ?.intcountByCommerceTermEntryId_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 = ?.default CTermEntryLocalizationfetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId, String languageId) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returnsnullif it could not be found.fetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId, String languageId, boolean useFinderCache) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long cTermEntryLocalizationId) Returns the c term entry localization with the primary key or returnsnullif it could not be found.default List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId) Returns all the c term entry localizations where commerceTermEntryId = ?.default List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end) Returns a range of all the c term entry localizations where commerceTermEntryId = ?.default 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 = ?.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 aNoSuchCTermEntryLocalizationExceptionif it could not be found.findByPrimaryKey(long cTermEntryLocalizationId) Returns the c term entry localization with the primary key or throws aNoSuchCTermEntryLocalizationExceptionif it could not be found.remove(long cTermEntryLocalizationId) Removes the c term entry localization with the primary key from the database.voidremoveByCommerceTermEntryId(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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.term.model.impl.CTermEntryLocalizationModelImpl.- 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
nullif a matching c term entry localization 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 aNoSuchCTermEntryLocalizationExceptionif 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, boolean useFinderCache) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returnsnullif 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
nullif 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
-
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 aNoSuchCTermEntryLocalizationExceptionif 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 returnsnullif it could not be found.- Parameters:
cTermEntryLocalizationId- the primary key of the c term entry localization- Returns:
- the c term entry localization, or
nullif a c term entry localization with the primary key could not be found
-
fetchByCommerceTermEntryId_LanguageId
default CTermEntryLocalization fetchByCommerceTermEntryId_LanguageId(long commerceTermEntryId, String languageId) Returns the c term entry localization where commerceTermEntryId = ? and languageId = ? or returnsnullif 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
nullif a matching c term entry localization could not be found
-
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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.term.model.impl.CTermEntryLocalizationModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.term.model.impl.CTermEntryLocalizationModelImpl.- 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
-