Interface CPCompareContentHelper


@ProviderType public interface CPCompareContentHelper
  • 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

      String getCPDefinitionSpecificationOptionValue(long cpDefinitionId, long cpSpecificationOptionId, Locale locale)
    • getCPOptionCategories

      List<com.liferay.commerce.product.model.CPOptionCategory> getCPOptionCategories(long groupId)
    • 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

      String getDimensionCPMeasurementUnitName(long groupId, Locale locale)
    • 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