public interface CommerceAccountHelper
| Modifier and Type | Method and Description |
|---|---|
com.liferay.account.model.AccountEntryUserRel |
addAccountEntryUserRel(long accountEntryId,
long userId,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.account.model.AccountEntryUserRel |
addAccountEntryUserRel(long commerceAccountId,
long commerceAccountUserId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addAccountEntryUserRels(long accountEntryId,
long[] userIds,
java.lang.String[] emailAddresses,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addDefaultRoles(long userId) |
int |
countUserCommerceAccounts(long userId,
long commerceChannelGroupId) |
java.lang.String[] |
getAccountEntryTypes(long commerceChannelGroupId) |
java.lang.String |
getAccountManagementPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
long[] |
getCommerceAccountGroupIds(long commerceAccountId) |
int |
getCommerceSiteType(long commerceChannelGroupId) |
com.liferay.account.model.AccountEntry |
getCurrentAccountEntry(long groupId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
long[] |
getUserCommerceAccountIds(long userId,
long commerceChannelGroupId) |
void |
setCurrentCommerceAccount(javax.servlet.http.HttpServletRequest httpServletRequest,
long groupId,
long commerceAccountId) |
java.lang.Integer |
toAccountEntryStatus(java.lang.Boolean commerceAccountActive) |
java.lang.String |
toAccountEntryType(int commerceAccountType) |
java.lang.String[] |
toAccountEntryTypes(int commerceSiteType) |
com.liferay.account.model.AccountEntryUserRel addAccountEntryUserRel(long accountEntryId,
long userId,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.account.model.AccountEntryUserRel addAccountEntryUserRel(long commerceAccountId,
long commerceAccountUserId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid addAccountEntryUserRels(long accountEntryId,
long[] userIds,
java.lang.String[] emailAddresses,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid addDefaultRoles(long userId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionint countUserCommerceAccounts(long userId,
long commerceChannelGroupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String[] getAccountEntryTypes(long commerceChannelGroupId)
throws com.liferay.portal.kernel.module.configuration.ConfigurationException
com.liferay.portal.kernel.module.configuration.ConfigurationExceptionjava.lang.String getAccountManagementPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionlong[] getCommerceAccountGroupIds(long commerceAccountId)
int getCommerceSiteType(long commerceChannelGroupId)
throws com.liferay.portal.kernel.module.configuration.ConfigurationException
com.liferay.portal.kernel.module.configuration.ConfigurationExceptioncom.liferay.account.model.AccountEntry getCurrentAccountEntry(long groupId,
javax.servlet.http.HttpServletRequest httpServletRequest)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionlong[] getUserCommerceAccountIds(long userId,
long commerceChannelGroupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid setCurrentCommerceAccount(javax.servlet.http.HttpServletRequest httpServletRequest,
long groupId,
long commerceAccountId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.Integer toAccountEntryStatus(java.lang.Boolean commerceAccountActive)
java.lang.String toAccountEntryType(int commerceAccountType)
java.lang.String[] toAccountEntryTypes(int commerceSiteType)