Class BaseCPDefinitionsDisplayContext
java.lang.Object
com.liferay.commerce.product.display.context.BaseCPDefinitionsDisplayContext
- Direct Known Subclasses:
BaseCPDefinitionsSearchContainerDisplayContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ActionHelper
protected final CPRequestHelper
protected final javax.servlet.http.HttpServletRequest
protected final com.liferay.portal.kernel.portlet.LiferayPortletRequest
protected final com.liferay.portal.kernel.portlet.LiferayPortletResponse
protected final com.liferay.portal.kernel.portlet.PortalPreferences
-
Constructor Summary
ConstructorsConstructorDescriptionBaseCPDefinitionsDisplayContext
(ActionHelper actionHelper, javax.servlet.http.HttpServletRequest httpServletRequest) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
javax.portlet.PortletURL
javax.portlet.PortletURL
long
getSku
(CPDefinition cpDefinition, Locale locale)
-
Field Details
-
actionHelper
-
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
- 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
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPType
-
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() -
getSku
-