@ProviderType
public class UserGroupRoleServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.UserGroupRoleServiceImpl and is the
primary 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.UserGroupRoleService,
com.liferay.portal.service.base.UserGroupRoleServiceBaseImpl,
com.liferay.portal.service.impl.UserGroupRoleServiceImpl| Constructor and Description |
|---|
UserGroupRoleServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addUserGroupRoles(long[] userIds,
long groupId,
long roleId) |
static void |
addUserGroupRoles(long userId,
long groupId,
long[] roleIds) |
static void |
deleteUserGroupRoles(long[] userIds,
long groupId,
long roleId) |
static void |
deleteUserGroupRoles(long userId,
long groupId,
long[] roleIds) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static UserGroupRoleService |
getService() |
public static void addUserGroupRoles(long userId,
long groupId,
long[] roleIds)
throws PortalException
PortalExceptionpublic static void addUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws PortalException
PortalExceptionpublic static void deleteUserGroupRoles(long userId,
long groupId,
long[] roleIds)
throws PortalException
PortalExceptionpublic static void deleteUserGroupRoles(long[] userIds,
long groupId,
long roleId)
throws PortalException
PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static UserGroupRoleService getService()