Class CPDefinitionServiceWrapper

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

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

    • CPDefinitionServiceWrapper

      public CPDefinitionServiceWrapper()
    • CPDefinitionServiceWrapper

      public CPDefinitionServiceWrapper(CPDefinitionService cpDefinitionService)
  • Method Details

    • addCPDefinition

      public CPDefinition addCPDefinition(String externalReferenceCode, long groupId, Map<Locale,String> nameMap, Map<Locale,String> shortDescriptionMap, Map<Locale,String> descriptionMap, Map<Locale,String> urlTitleMap, Map<Locale,String> metaTitleMap, Map<Locale,String> metaDescriptionMap, Map<Locale,String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, long deliveryMaxSubscriptionCycles, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCPDefinition

      public CPDefinition addCPDefinition(String externalReferenceCode, long groupId, Map<Locale,String> nameMap, Map<Locale,String> shortDescriptionMap, Map<Locale,String> descriptionMap, Map<Locale,String> urlTitleMap, Map<Locale,String> metaTitleMap, Map<Locale,String> metaDescriptionMap, Map<Locale,String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCPDefinition

      public CPDefinition addOrUpdateCPDefinition(String externalReferenceCode, long groupId, Map<Locale,String> nameMap, Map<Locale,String> shortDescriptionMap, Map<Locale,String> descriptionMap, Map<Locale,String> urlTitleMap, Map<Locale,String> metaTitleMap, Map<Locale,String> metaDescriptionMap, Map<Locale,String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, long deliveryMaxSubscriptionCycles, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOrUpdateCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCPDefinition

      public CPDefinition addOrUpdateCPDefinition(String externalReferenceCode, long groupId, Map<Locale,String> nameMap, Map<Locale,String> shortDescriptionMap, Map<Locale,String> descriptionMap, Map<Locale,String> urlTitleMap, Map<Locale,String> metaTitleMap, Map<Locale,String> metaDescriptionMap, Map<Locale,String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOrUpdateCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • cloneCPDefinition

      public CPDefinition cloneCPDefinition(long cpDefinitionId, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      cloneCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • copyCPDefinition

      public CPDefinition copyCPDefinition(long sourceCPDefinitionId, long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      copyCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAssetCategoryCPDefinition

      public void deleteAssetCategoryCPDefinition(long cpDefinitionId, long categoryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteAssetCategoryCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPDefinition

      public void deleteCPDefinition(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPDefinition

      public CPDefinition fetchCPDefinition(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPDefinitionByCProductExternalReferenceCode

      public CPDefinition fetchCPDefinitionByCProductExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCPDefinitionByCProductExternalReferenceCode in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPDefinitionByCProductId

      public CPDefinition fetchCPDefinitionByCProductId(long cProductId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCPDefinitionByCProductId in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinition

      public CPDefinition getCPDefinition(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitions

      public List<CPDefinition> getCPDefinitions(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPDefinitions in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionsCount

      public int getCPDefinitionsCount(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPDefinitionsCount in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCProductCPDefinition

      public CPDefinition getCProductCPDefinition(long cProductId, int version) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCProductCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCProductCPDefinitions

      public List<CPDefinition> getCProductCPDefinitions(long cProductId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCProductCPDefinitions in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefaultImageCPAttachmentFileEntry

      public CPAttachmentFileEntry getDefaultImageCPAttachmentFileEntry(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDefaultImageCPAttachmentFileEntry in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      public Map<Locale,String> getUrlTitleMap(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getUrlTitleMap in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUrlTitleMapAsXML

      public String getUrlTitleMapAsXML(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getUrlTitleMapAsXML in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCPDefinitions

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitions(long companyId, String keywords, int status, boolean ignoreCommerceAccountGroup, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCPDefinitions in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCPDefinitions

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitions(long companyId, String keywords, String filterFields, String filterValues, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCPDefinitions in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCPDefinitionsByChannelGroupId

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitionsByChannelGroupId(long companyId, long commerceChannelGroupId, String keywords, int status, boolean ignoreCommerceAccountGroup, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCPDefinitionsByChannelGroupId in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPDefinition

      public CPDefinition updateCPDefinition(long cpDefinitionId, Map<Locale,String> nameMap, Map<Locale,String> shortDescriptionMap, Map<Locale,String> descriptionMap, Map<Locale,String> urlTitleMap, Map<Locale,String> metaTitleMap, Map<Locale,String> metaDescriptionMap, Map<Locale,String> metaKeywordsMap, boolean ignoreSKUCombinations, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCPDefinition in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPDefinitionAccountGroupFilter

      public CPDefinition updateCPDefinitionAccountGroupFilter(long cpDefinitionId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCPDefinitionAccountGroupFilter in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPDefinitionCategorization

      public CPDefinition updateCPDefinitionCategorization(long cpDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCPDefinitionCategorization in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPDefinitionChannelFilter

      public CPDefinition updateCPDefinitionChannelFilter(long cpDefinitionId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCPDefinitionChannelFilter in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public CPDefinition updateExternalReferenceCode(String externalReferenceCode, long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateExternalReferenceCode in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateShippingInfo

      public CPDefinition updateShippingInfo(long cpDefinitionId, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateShippingInfo in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      public CPDefinition updateStatus(long cpDefinitionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String,Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateStatus in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSubscriptionInfo

      public CPDefinition updateSubscriptionInfo(long cpDefinitionId, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, long deliveryMaxSubscriptionCycles) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateSubscriptionInfo in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateTaxCategoryInfo

      public CPDefinition updateTaxCategoryInfo(long cpDefinitionId, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateTaxCategoryInfo in interface CPDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

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

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