Class CPOptionValueServiceWrapper

java.lang.Object
com.liferay.commerce.product.service.CPOptionValueServiceWrapper
All Implemented Interfaces:
CPOptionValueService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.ServiceWrapper<CPOptionValueService>

public class CPOptionValueServiceWrapper extends Object implements CPOptionValueService, com.liferay.portal.kernel.service.ServiceWrapper<CPOptionValueService>
Provides a wrapper for CPOptionValueService.
See Also:
Generated:
  • Constructor Details

    • CPOptionValueServiceWrapper

      public CPOptionValueServiceWrapper()
    • CPOptionValueServiceWrapper

      public CPOptionValueServiceWrapper(CPOptionValueService cpOptionValueService)
  • Method Details

    • addCPOptionValue

      public CPOptionValue addCPOptionValue(long cpOptionId, Map<Locale,String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCPOptionValue in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCPOptionValue

      public CPOptionValue addOrUpdateCPOptionValue(String externalReferenceCode, long cpOptionId, Map<Locale,String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOrUpdateCPOptionValue in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPOptionValue

      public void deleteCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCPOptionValue in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOptionValue

      public CPOptionValue fetchCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCPOptionValue in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOptionValueByExternalReferenceCode

      public CPOptionValue fetchCPOptionValueByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCPOptionValueByExternalReferenceCode in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOptionValue

      public CPOptionValue getCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPOptionValue in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOptionValues

      public List<CPOptionValue> getCPOptionValues(long cpOptionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPOptionValues in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOptionValuesCount

      public int getCPOptionValuesCount(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPOptionValuesCount in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CPOptionValueService
      Returns:
      the OSGi service identifier
    • searchCPOptionValues

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionValue> searchCPOptionValues(long companyId, long cpOptionId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCPOptionValues in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCPOptionValuesCount

      public int searchCPOptionValuesCount(long companyId, long cpOptionId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCPOptionValuesCount in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPOptionValue

      public CPOptionValue updateCPOptionValue(long cpOptionValueId, Map<Locale,String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCPOptionValue in interface CPOptionValueService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public CPOptionValueService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CPOptionValueService>
    • setWrappedService

      public void setWrappedService(CPOptionValueService cpOptionValueService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CPOptionValueService>