Interface CPCompareContentHelper
@ProviderType
public interface CPCompareContentHelper
-
Method Summary
Modifier and TypeMethodDescriptionSet<com.liferay.commerce.product.model.CPSpecificationOption>
getCategorizedCPSpecificationOptions
(com.liferay.commerce.product.data.source.CPDataSourceResult cpDataSourceResult) getCompareProductsURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) List<com.liferay.commerce.product.catalog.CPCatalogEntry>
getCPCatalogEntries
(long groupId, long commerceAccountId, javax.servlet.http.HttpServletRequest httpServletRequest) getCPDefinitionOptionRelNames
(com.liferay.commerce.product.data.source.CPDataSourceResult cpDataSourceResult, Locale locale) getCPDefinitionOptionValueRels
(com.liferay.commerce.product.catalog.CPCatalogEntry cpCatalogEntry, String cpDefinitionOptionRelName, Locale locale) getCPDefinitionSpecificationOptionValue
(long cpDefinitionId, long cpSpecificationOptionId, Locale locale) List<com.liferay.commerce.product.model.CPOptionCategory>
getCPOptionCategories
(long groupId) Set<com.liferay.commerce.product.model.CPSpecificationOption>
getCPSpecificationOptions
(com.liferay.commerce.product.data.source.CPDataSourceResult cpDataSourceResult) getDefaultImageFileURL
(long commerceAccountId, long cpDefinitionId) getDeleteCompareProductURL
(long cpDefinitionId, javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse) getDimensionCPMeasurementUnitName
(long groupId, Locale locale) int
getProductsLimit
(com.liferay.portal.kernel.theme.PortletDisplay portletDisplay) boolean
hasCategorizedCPDefinitionSpecificationOptionValues
(com.liferay.commerce.product.data.source.CPDataSourceResult cpDataSourceResult, long cpOptionCategoryId)
-
Method Details
-
getCategorizedCPSpecificationOptions
Set<com.liferay.commerce.product.model.CPSpecificationOption> getCategorizedCPSpecificationOptions(com.liferay.commerce.product.data.source.CPDataSourceResult cpDataSourceResult) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompareContentPortletNamespace
String getCompareContentPortletNamespace() -
getCompareProductsURL
String getCompareProductsURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPCatalogEntries
List<com.liferay.commerce.product.catalog.CPCatalogEntry> getCPCatalogEntries(long groupId, long commerceAccountId, javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionOptionRelNames
Set<String> getCPDefinitionOptionRelNames(com.liferay.commerce.product.data.source.CPDataSourceResult cpDataSourceResult, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionOptionValueRels
String getCPDefinitionOptionValueRels(com.liferay.commerce.product.catalog.CPCatalogEntry cpCatalogEntry, String cpDefinitionOptionRelName, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionSpecificationOptionValue
-
getCPOptionCategories
-
getCPSpecificationOptions
Set<com.liferay.commerce.product.model.CPSpecificationOption> getCPSpecificationOptions(com.liferay.commerce.product.data.source.CPDataSourceResult cpDataSourceResult) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultImageFileURL
String getDefaultImageFileURL(long commerceAccountId, long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDeleteCompareProductURL
String getDeleteCompareProductURL(long cpDefinitionId, javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse) -
getDimensionCPMeasurementUnitName
-
getProductsLimit
int getProductsLimit(com.liferay.portal.kernel.theme.PortletDisplay portletDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasCategorizedCPDefinitionSpecificationOptionValues
boolean hasCategorizedCPDefinitionSpecificationOptionValues(com.liferay.commerce.product.data.source.CPDataSourceResult cpDataSourceResult, long cpOptionCategoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-