public abstract class BaseCPDefinitionsDisplayContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ActionHelper |
actionHelper |
protected CPRequestHelper |
cpRequestHelper |
protected javax.servlet.http.HttpServletRequest |
httpServletRequest |
protected com.liferay.portal.kernel.portlet.LiferayPortletRequest |
liferayPortletRequest |
protected com.liferay.portal.kernel.portlet.LiferayPortletResponse |
liferayPortletResponse |
protected com.liferay.portal.kernel.portlet.PortalPreferences |
portalPreferences |
Constructor and Description |
---|
BaseCPDefinitionsDisplayContext(ActionHelper actionHelper,
javax.servlet.http.HttpServletRequest httpServletRequest) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogDefaultLanguageId() |
CommerceCatalog |
getCommerceCatalog() |
long |
getCommerceCatalogId() |
CPDefinition |
getCPDefinition() |
long |
getCPDefinitionId() |
CPType |
getCPType() |
CPType |
getCPType(java.lang.String name) |
java.util.List<CPType> |
getCPTypes() |
javax.portlet.PortletURL |
getEditProductDefinitionURL() |
javax.portlet.PortletURL |
getPortletURL() |
long |
getScopeGroupId() |
java.lang.String |
getScreenNavigationCategoryKey() |
java.lang.String |
getSelectedScreenNavigationCategoryKey() |
java.lang.String |
getSku(CPDefinition cpDefinition,
java.util.Locale locale) |
protected final ActionHelper actionHelper
protected final CPRequestHelper cpRequestHelper
protected final javax.servlet.http.HttpServletRequest httpServletRequest
protected final com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest
protected final com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse
protected final com.liferay.portal.kernel.portlet.PortalPreferences portalPreferences
public BaseCPDefinitionsDisplayContext(ActionHelper actionHelper, javax.servlet.http.HttpServletRequest httpServletRequest)
public java.lang.String getCatalogDefaultLanguageId() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public CommerceCatalog getCommerceCatalog() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public long getCommerceCatalogId() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public long getCPDefinitionId() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public CPType getCPType() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public CPType getCPType(java.lang.String name)
public java.util.List<CPType> getCPTypes()
public javax.portlet.PortletURL getEditProductDefinitionURL() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public javax.portlet.PortletURL getPortletURL() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public long getScopeGroupId()
public java.lang.String getScreenNavigationCategoryKey()
public java.lang.String getSelectedScreenNavigationCategoryKey()
public java.lang.String getSku(CPDefinition cpDefinition, java.util.Locale locale)