Class BaseCPDefinitionsDisplayContext

java.lang.Object
com.liferay.commerce.product.display.context.BaseCPDefinitionsDisplayContext
Direct Known Subclasses:
BaseCPDefinitionsSearchContainerDisplayContext

public abstract class BaseCPDefinitionsDisplayContext extends Object
  • Field Details

    • actionHelper

      protected final ActionHelper actionHelper
    • cpRequestHelper

      protected final CPRequestHelper cpRequestHelper
    • httpServletRequest

      protected final javax.servlet.http.HttpServletRequest httpServletRequest
    • liferayPortletRequest

      protected final com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest
    • liferayPortletResponse

      protected final com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse
    • portalPreferences

      protected final com.liferay.portal.kernel.portlet.PortalPreferences portalPreferences
  • Constructor Details

    • BaseCPDefinitionsDisplayContext

      public BaseCPDefinitionsDisplayContext(ActionHelper actionHelper, javax.servlet.http.HttpServletRequest httpServletRequest)
  • Method Details

    • getCatalogDefaultLanguageId

      public String getCatalogDefaultLanguageId() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceCatalog

      public CommerceCatalog getCommerceCatalog() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceCatalogId

      public long getCommerceCatalogId() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinition

      public CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionId

      public long getCPDefinitionId() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPType

      public CPType getCPType() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPType

      public CPType getCPType(String name)
    • getCPTypes

      public List<CPType> getCPTypes()
    • getEditProductDefinitionURL

      public javax.portlet.PortletURL getEditProductDefinitionURL() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPortletURL

      public javax.portlet.PortletURL getPortletURL() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getScopeGroupId

      public long getScopeGroupId()
    • getScreenNavigationCategoryKey

      public String getScreenNavigationCategoryKey()
    • getSelectedScreenNavigationCategoryKey

      public String getSelectedScreenNavigationCategoryKey()
    • getSku

      public String getSku(CPDefinition cpDefinition, Locale locale)