Interface CPOptionService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
CPOptionServiceWrapper

@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface CPOptionService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CPOption. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Method Details

    • addCPOption

      CPOption addCPOption(Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCPOption

      CPOption addOrUpdateCPOption(String externalReferenceCode, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPOption

      void deleteCPOption(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOption

      @Transactional(propagation=SUPPORTS, readOnly=true) CPOption fetchCPOption(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOption

      @Transactional(propagation=SUPPORTS, readOnly=true) CPOption fetchCPOption(long companyId, String key) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOptionByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) CPOption fetchCPOptionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • findCPOptionByCompanyId

      List<CPOption> findCPOptionByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOption> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOption

      @Transactional(propagation=SUPPORTS, readOnly=true) CPOption getCPOption(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • searchCPOptions

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CPOption> searchCPOptions(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPOption

      CPOption updateCPOption(long cpOptionId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPOptionExternalReferenceCode

      CPOption updateCPOptionExternalReferenceCode(String externalReferenceCode, long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException