public class BaseCommerceContextHttp extends java.lang.Object implements CommerceContext
Constructor and Description |
---|
BaseCommerceContextHttp(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.account.service.AccountGroupLocalService accountGroupLocalService,
CommerceAccountHelper commerceAccountHelper,
com.liferay.commerce.product.service.CommerceChannelAccountEntryRelLocalService commerceChannelAccountEntryRelLocalService,
com.liferay.commerce.product.service.CommerceChannelLocalService commerceChannelLocalService,
com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService,
CommerceOrderHttpHelper commerceOrderHttpHelper,
com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider,
com.liferay.portal.kernel.util.Portal portal) |
Modifier and Type | Method and Description |
---|---|
com.liferay.account.model.AccountEntry |
getAccountEntry() |
java.lang.String[] |
getAccountEntryAllowedTypes() |
long[] |
getCommerceAccountGroupIds() |
long |
getCommerceChannelGroupId() |
long |
getCommerceChannelId() |
com.liferay.commerce.currency.model.CommerceCurrency |
getCommerceCurrency() |
CommerceOrder |
getCommerceOrder() |
int |
getCommerceSiteType() |
public BaseCommerceContextHttp(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.account.service.AccountGroupLocalService accountGroupLocalService, CommerceAccountHelper commerceAccountHelper, com.liferay.commerce.product.service.CommerceChannelAccountEntryRelLocalService commerceChannelAccountEntryRelLocalService, com.liferay.commerce.product.service.CommerceChannelLocalService commerceChannelLocalService, com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService, CommerceOrderHttpHelper commerceOrderHttpHelper, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.portal.kernel.util.Portal portal)
public com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException
getAccountEntry
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public java.lang.String[] getAccountEntryAllowedTypes() throws com.liferay.portal.kernel.exception.PortalException
getAccountEntryAllowedTypes
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 com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder getCommerceOrder()
getCommerceOrder
in interface CommerceContext
public int getCommerceSiteType()
getCommerceSiteType
in interface CommerceContext