public class CommerceAccountUserRelServiceUtil
extends java.lang.Object
com.liferay.commerce.account.service.impl.CommerceAccountUserRelServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.CommerceAccountUserRelService
Constructor and Description |
---|
CommerceAccountUserRelServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceAccountUserRel |
addCommerceAccountUserRel(long commerceAccountId,
long commerceAccountUserId,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
addCommerceAccountUserRels(long commerceAccountId,
long[] userIds,
java.lang.String[] emailAddresses,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceAccountUserRel(long commerceAccountId,
long userId) |
static void |
deleteCommerceAccountUserRels(long commerceAccountId) |
static void |
deleteCommerceAccountUserRels(long commerceAccountId,
long[] userIds) |
static CommerceAccountUserRel |
fetchCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
static CommerceAccountUserRel |
getCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
static java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels(long commerceAccountId,
int start,
int end) |
static int |
getCommerceAccountUserRelsCount(long commerceAccountId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceAccountUserRelService |
getService() |
static CommerceAccountUserRel |
inviteUser(long commerceAccountId,
java.lang.String emailAddress,
long[] roleIds,
java.lang.String userExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static 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
public static 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
public static void deleteCommerceAccountUserRel(long commerceAccountId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceAccountUserRels(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceAccountUserRels(long commerceAccountId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountUserRel fetchCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountUserRel getCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels(long commerceAccountId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceAccountUserRelsCount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static 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
public static CommerceAccountUserRelService getService()