Interface CPInstanceHelper
@ProviderType
public interface CPInstanceHelper
-
Method Summary
Modifier and TypeMethodDescriptionfetchCPInstance
(long cpDefinitionId, com.liferay.portal.kernel.json.JSONArray jsonArray) fetchCPInstance
(long cpDefinitionId, String serializedFormFieldValues) fetchCPInstanceUnitPrice
(CPInstance cpInstance) fetchCPInstanceUnitPromoPrice
(CPInstance cpInstance) fetchFirstAvailableReplacementCPInstance
(long accountEntryId, long commerceChannelGroupId, long commerceOrderTypeId, long cpInstanceId) fetchReplacementCPInstance
(long cProductId, String cpInstanceUuid) filterCPDefinitionOptionValueRels
(long cpDefinitionOptionRelId, List<Long> skuCombinationCPDefinitionOptionValueRelIds) getCPAttachmentFileEntries
(long commerceAccountId, long commerceChannelGroupId, long cpDefinitionId, String serializedFormFieldValues, int type) getCPAttachmentFileEntries
(long commerceAccountId, long commerceChannelGroupId, long cpDefinitionId, String serializedFormFieldValues, int type, int start, int end) getCPDefinitionOptionValueRelsMap
(long cpDefinitionId, boolean skuContributor, boolean publicStore) getCPDefinitionOptionValueRelsMap
(long cpDefinitionId, String json) getCPInstanceAdaptiveMediaImageHTMLTag
(long commerceAccountId, long companyId, long cpInstanceId) getCPInstanceCDNURL
(long commerceAccountId, long cpInstanceId) getCPInstanceCPDefinitionOptionRelsMap
(long cpInstanceId) getCPInstanceCPDefinitionOptionValueRels
(long cpDefinitionId, long cpDefinitionOptionRelId) getCPInstanceCPInstanceOptionValueRels
(long cpInstanceId) com.liferay.portal.kernel.repository.model.FileVersion
getCPInstanceImageFileVersion
(long commerceAccountId, long companyId, long cpInstanceId) getCPInstanceThumbnailSrc
(long commerceAccountId, long cpInstanceId) getDefaultCPInstance
(long cpDefinitionId) getDefaultCPSku
(CPCatalogEntry cpCatalogEntry) List<com.liferay.portal.kernel.util.KeyValuePair>
getKeyValuePairs
(long cpDefinitionId, String json, Locale locale) toCPSku
(CPInstance cpInstance)
-
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
-
fetchCPInstanceUnitPromoPrice
-
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
- 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
-
getCPInstanceImageFileVersion
com.liferay.portal.kernel.repository.model.FileVersion getCPInstanceImageFileVersion(long commerceAccountId, long companyId, long cpInstanceId) throws Exception - Throws:
Exception
-
getCPInstanceThumbnailSrc
- Throws:
Exception
-
getDefaultCPInstance
CPInstance getDefaultCPInstance(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultCPSku
- 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
-