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) |
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[] |
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.PortalException
com.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.PortalException
void 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.PortalException
void addDefaultRoles(long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
int countUserCommerceAccounts(long userId, long commerceChannelGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String[] getAccountEntryTypes(long commerceChannelGroupId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
com.liferay.portal.kernel.module.configuration.ConfigurationException
java.lang.String getAccountManagementPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
int getCommerceSiteType(long commerceChannelGroupId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
com.liferay.portal.kernel.module.configuration.ConfigurationException
com.liferay.account.model.AccountEntry getCurrentAccountEntry(long groupId, javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
long[] getUserCommerceAccountIds(long userId, long commerceChannelGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void setCurrentCommerceAccount(javax.servlet.http.HttpServletRequest httpServletRequest, long groupId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.Integer toAccountEntryStatus(java.lang.Boolean commerceAccountActive)
java.lang.String[] toAccountEntryTypes(int commerceSiteType)