public class CommerceAccountUserRelLocalServiceUtil
extends java.lang.Object
com.liferay.commerce.account.service.impl.CommerceAccountUserRelLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.CommerceAccountUserRelLocalService
Constructor and Description |
---|
CommerceAccountUserRelLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceAccountUserRel |
addCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel) |
static CommerceAccountUserRel |
addCommerceAccountUserRel(long commerceAccountId,
long commerceAccountUserId,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceAccountUserRel |
addCommerceAccountUserRel(long commerceAccountId,
long commerceAccountUserId,
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 |
addDefaultRoles(long userId) |
static CommerceAccountUserRel |
createCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
static CommerceAccountUserRel |
deleteCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel) |
static CommerceAccountUserRel |
deleteCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
static void |
deleteCommerceAccountUserRels(long commerceAccountId,
long[] userIds) |
static void |
deleteCommerceAccountUserRelsByCommerceAccountId(long commerceAccountId) |
static void |
deleteCommerceAccountUserRelsByCommerceAccountUserId(long userId) |
static CommerceAccountUserRel |
fetchCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
static CommerceAccountUserRel |
getCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
static java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels(int start,
int end) |
static java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels(long commerceAccountId) |
static java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels(long commerceAccountId,
int start,
int end) |
static java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRelsByCommerceAccountUserId(long commerceAccountUserId) |
static int |
getCommerceAccountUserRelsCount() |
static int |
getCommerceAccountUserRelsCount(long commerceAccountId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceAccountUserRelLocalService |
getService() |
static CommerceAccountUserRel |
inviteUser(long commerceAccountId,
java.lang.String emailAddress,
long[] roleIds,
java.lang.String userExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceAccountUserRel |
updateCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel) |
public CommerceAccountUserRelLocalServiceUtil()
public static CommerceAccountUserRel addCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
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 CommerceAccountUserRel addCommerceAccountUserRel(long commerceAccountId, long commerceAccountUserId, 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 addDefaultRoles(long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountUserRel createCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK)
public static CommerceAccountUserRel deleteCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
public static CommerceAccountUserRel deleteCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) 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 void deleteCommerceAccountUserRelsByCommerceAccountId(long commerceAccountId)
public static void deleteCommerceAccountUserRelsByCommerceAccountUserId(long userId)
public static CommerceAccountUserRel fetchCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK)
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(int start, int end)
public static java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels(long commerceAccountId)
public static java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels(long commerceAccountId, int start, int end)
public static java.util.List<CommerceAccountUserRel> getCommerceAccountUserRelsByCommerceAccountUserId(long commerceAccountUserId)
public static int getCommerceAccountUserRelsCount()
public static int getCommerceAccountUserRelsCount(long commerceAccountId)
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 CommerceAccountUserRel updateCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
public static CommerceAccountUserRelLocalService getService()