Interface CPInstanceHelper


@ProviderType public interface CPInstanceHelper
  • Method Details

    • fetchCPInstance

      CPInstance fetchCPInstance(long cpDefinitionId, com.liferay.portal.kernel.json.JSONArray jsonArray) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPInstance

      CPInstance fetchCPInstance(long cpDefinitionId, String serializedFormFieldValues) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPInstanceUnitPrice

      BigDecimal fetchCPInstanceUnitPrice(CPInstance cpInstance)
    • fetchCPInstanceUnitPromoPrice

      BigDecimal fetchCPInstanceUnitPromoPrice(CPInstance cpInstance)
    • fetchFirstAvailableReplacementCPInstance

      CPInstance fetchFirstAvailableReplacementCPInstance(long accountEntryId, long commerceChannelGroupId, long commerceOrderTypeId, long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchReplacementCPInstance

      CPInstance fetchReplacementCPInstance(long cProductId, String cpInstanceUuid) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • filterCPDefinitionOptionValueRels

      List<CPDefinitionOptionValueRel> filterCPDefinitionOptionValueRels(long cpDefinitionOptionRelId, List<Long> skuCombinationCPDefinitionOptionValueRelIds) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPAttachmentFileEntries

      List<CPAttachmentFileEntry> getCPAttachmentFileEntries(long commerceAccountId, long commerceChannelGroupId, long cpDefinitionId, String serializedFormFieldValues, int type) throws Exception
      Throws:
      Exception
    • getCPAttachmentFileEntries

      List<CPAttachmentFileEntry> getCPAttachmentFileEntries(long commerceAccountId, long commerceChannelGroupId, long cpDefinitionId, String serializedFormFieldValues, int type, int start, int end) throws Exception
      Throws:
      Exception
    • getCPDefinitionOptionValueRelsMap

      Map<CPDefinitionOptionRel,List<CPDefinitionOptionValueRel>> getCPDefinitionOptionValueRelsMap(long cpDefinitionId, boolean skuContributor, boolean publicStore)
    • getCPDefinitionOptionValueRelsMap

      Map<CPDefinitionOptionRel,List<CPDefinitionOptionValueRel>> getCPDefinitionOptionValueRelsMap(long cpDefinitionId, String json) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPInstanceAdaptiveMediaImageHTMLTag

      String getCPInstanceAdaptiveMediaImageHTMLTag(long commerceAccountId, long companyId, long cpInstanceId) throws Exception
      Throws:
      Exception
    • getCPInstanceCDNURL

      String getCPInstanceCDNURL(long commerceAccountId, long cpInstanceId) throws Exception
      Throws:
      Exception
    • getCPInstanceCPDefinitionOptionRelsMap

      Map<CPDefinitionOptionRel,List<CPDefinitionOptionValueRel>> getCPInstanceCPDefinitionOptionRelsMap(long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPInstanceCPDefinitionOptionValueRels

      List<CPDefinitionOptionValueRel> getCPInstanceCPDefinitionOptionValueRels(long cpDefinitionId, long cpDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPInstanceCPInstanceOptionValueRels

      List<CPInstanceOptionValueRel> getCPInstanceCPInstanceOptionValueRels(long cpInstanceId)
    • getCPInstanceImageFileVersion

      com.liferay.portal.kernel.repository.model.FileVersion getCPInstanceImageFileVersion(long commerceAccountId, long companyId, long cpInstanceId) throws Exception
      Throws:
      Exception
    • getCPInstanceThumbnailSrc

      String getCPInstanceThumbnailSrc(long commerceAccountId, long cpInstanceId) throws Exception
      Throws:
      Exception
    • getDefaultCPInstance

      CPInstance getDefaultCPInstance(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefaultCPSku

      CPSku getDefaultCPSku(CPCatalogEntry cpCatalogEntry) throws Exception
      Throws:
      Exception
    • getKeyValuePairs

      List<com.liferay.portal.kernel.util.KeyValuePair> getKeyValuePairs(long cpDefinitionId, String json, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • toCPSku

      CPSku toCPSku(CPInstance cpInstance)