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