@ProviderType
public class UserGroupRoleServiceUtil
extends Object
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
,
UserGroupRoleServiceBaseImpl
,
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 String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static UserGroupRoleService |
getService() |
static void |
updateUserGroupRoles(long userId,
long groupId,
long[] addedRoleIds,
long[] deletedRoleIds) |
public static void addUserGroupRoles(long userId, long groupId, long[] roleIds) throws PortalException
PortalException
public static void addUserGroupRoles(long[] userIds, long groupId, long roleId) throws PortalException
PortalException
public static void deleteUserGroupRoles(long userId, long groupId, long[] roleIds) throws PortalException
PortalException
public static void deleteUserGroupRoles(long[] userIds, long groupId, long roleId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static void updateUserGroupRoles(long userId, long groupId, long[] addedRoleIds, long[] deletedRoleIds) throws PortalException
PortalException
public static UserGroupRoleService getService()