@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceAccountUserRelService
extends com.liferay.portal.kernel.service.BaseService
CommerceAccountUserRelServiceUtil
Modifier and Type | Method and Description |
---|---|
CommerceAccountUserRel |
addCommerceAccountUserRel(long commerceAccountId,
long commerceAccountUserId,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addCommerceAccountUserRels(long commerceAccountId,
long[] userIds,
java.lang.String[] emailAddresses,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCommerceAccountUserRel(long commerceAccountId,
long userId) |
void |
deleteCommerceAccountUserRels(long commerceAccountId) |
void |
deleteCommerceAccountUserRels(long commerceAccountId,
long[] userIds) |
CommerceAccountUserRel |
fetchCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
CommerceAccountUserRel |
getCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels(long commerceAccountId,
int start,
int end) |
int |
getCommerceAccountUserRelsCount(long commerceAccountId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceAccountUserRel |
inviteUser(long commerceAccountId,
java.lang.String emailAddress,
long[] roleIds,
java.lang.String userExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAccountUserRel addCommerceAccountUserRel(long commerceAccountId, long commerceAccountUserId, long[] roleIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void addCommerceAccountUserRels(long commerceAccountId, 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 deleteCommerceAccountUserRel(long commerceAccountId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCommerceAccountUserRels(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCommerceAccountUserRels(long commerceAccountId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceAccountUserRel fetchCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceAccountUserRel getCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels(long commerceAccountId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceAccountUserRelsCount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
CommerceAccountUserRel inviteUser(long commerceAccountId, java.lang.String emailAddress, long[] roleIds, java.lang.String userExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException