Interface CTermEntryLocalizationPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTermEntryLocalization>

@ProviderType public interface CTermEntryLocalizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CTermEntryLocalization>
The persistence interface for the c term entry localization service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByCommerceTermEntryId

      List<CTermEntryLocalization> findByCommerceTermEntryId(long commerceTermEntryId)
      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 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.

      Parameters:
      commerceTermEntryId - the commerce term entry ID
      start - the lower bound of the range of c term entry localizations
      end - 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 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.

      Parameters:
      commerceTermEntryId - the commerce term entry ID
      start - the lower bound of the range of c term entry localizations
      end - the upper bound of the range of c term entry localizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      commerceTermEntryId - the commerce term entry ID
      start - the lower bound of the range of c term entry localizations
      end - 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 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 localization
      commerceTermEntryId - the commerce term entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 a NoSuchCTermEntryLocalizationException if it could not be found.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
      languageId - 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
      languageId - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
      languageId - the language ID
      useFinderCache - 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 ID
      languageId - the language ID
      Returns:
      the c term entry localization that was removed
      Throws:
      NoSuchCTermEntryLocalizationException
    • countByCommerceTermEntryId_LanguageId

      int countByCommerceTermEntryId_LanguageId(long commerceTermEntryId, String languageId)
      Returns the number of c term entry localizations where commerceTermEntryId = ? and languageId = ?.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
      languageId - the language ID
      Returns:
      the number of matching c term entry localizations
    • cacheResult

      void cacheResult(CTermEntryLocalization cTermEntryLocalization)
      Caches the c term entry localization in the entity cache if it is enabled.
      Parameters:
      cTermEntryLocalization - the c term entry localization
    • cacheResult

      void cacheResult(List<CTermEntryLocalization> cTermEntryLocalizations)
      Caches the c term entry localizations in the entity cache if it is enabled.
      Parameters:
      cTermEntryLocalizations - the c term entry localizations
    • create

      CTermEntryLocalization create(long cTermEntryLocalizationId)
      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

      CTermEntryLocalization updateImpl(CTermEntryLocalization cTermEntryLocalization)
    • findByPrimaryKey

      CTermEntryLocalization findByPrimaryKey(long cTermEntryLocalizationId) throws NoSuchCTermEntryLocalizationException
      Returns the c term entry localization with the primary key or throws a NoSuchCTermEntryLocalizationException 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

      CTermEntryLocalization fetchByPrimaryKey(long cTermEntryLocalizationId)
      Returns the c term entry localization with the primary key or returns null 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

      Returns all the c term entry localizations.
      Returns:
      the c term entry localizations
    • findAll

      List<CTermEntryLocalization> findAll(int start, int end)
      Returns a range of all the c term entry localizations.

      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.

      Parameters:
      start - the lower bound of the range of c term entry localizations
      end - 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 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.

      Parameters:
      start - the lower bound of the range of c term entry localizations
      end - the upper bound of the range of c term entry localizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      start - the lower bound of the range of c term entry localizations
      end - 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 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