public class BaseCommerceContextHttp extends java.lang.Object implements CommerceContext
Constructor and Description |
---|
BaseCommerceContextHttp(javax.servlet.http.HttpServletRequest httpServletRequest,
CommerceAccountHelper commerceAccountHelper,
CommerceChannelLocalService commerceChannelLocalService,
CommerceCurrencyLocalService commerceCurrencyLocalService,
CommerceOrderHttpHelper commerceOrderHttpHelper,
com.liferay.portal.kernel.module.configuration.ConfigurationProvider configurationProvider,
com.liferay.portal.kernel.util.Portal portal) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAccountEntryAllowedTypes() |
CommerceAccount |
getCommerceAccount() |
long[] |
getCommerceAccountGroupIds() |
long |
getCommerceChannelGroupId() |
long |
getCommerceChannelId() |
CommerceCurrency |
getCommerceCurrency() |
CommerceOrder |
getCommerceOrder() |
int |
getCommerceSiteType() |
public BaseCommerceContextHttp(javax.servlet.http.HttpServletRequest httpServletRequest, CommerceAccountHelper commerceAccountHelper, CommerceChannelLocalService commerceChannelLocalService, CommerceCurrencyLocalService commerceCurrencyLocalService, CommerceOrderHttpHelper commerceOrderHttpHelper, com.liferay.portal.kernel.module.configuration.ConfigurationProvider configurationProvider, com.liferay.portal.kernel.util.Portal portal)
public java.lang.String[] getAccountEntryAllowedTypes() throws com.liferay.portal.kernel.exception.PortalException
getAccountEntryAllowedTypes
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount getCommerceAccount() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public long[] getCommerceAccountGroupIds() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroupIds
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public long getCommerceChannelGroupId() throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelGroupId
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public long getCommerceChannelId() throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelId
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder getCommerceOrder() throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrder
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public int getCommerceSiteType()
getCommerceSiteType
in interface CommerceContext