Class UserGroupRoleServiceUtil
Object
com.liferay.portal.kernel.service.UserGroupRoleServiceUtil
Provides the remote service utility for UserGroupRole. This utility wraps
com.liferay.portal.service.impl.UserGroupRoleServiceImpl
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.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
Returns the OSGi service identifier.static UserGroupRoleService
static void
setService
(UserGroupRoleService service) static void
updateUserGroupRoles
(long userId, long groupId, long[] addedRoleIds, long[] deletedRoleIds)
-
Constructor Details
-
UserGroupRoleServiceUtil
public UserGroupRoleServiceUtil()
-
-
Method Details
-
addUserGroupRoles
public static void addUserGroupRoles(long userId, long groupId, long[] roleIds) throws PortalException - Throws:
PortalException
-
addUserGroupRoles
public static void addUserGroupRoles(long[] userIds, long groupId, long roleId) throws PortalException - Throws:
PortalException
-
deleteUserGroupRoles
public static void deleteUserGroupRoles(long userId, long groupId, long[] roleIds) throws PortalException - Throws:
PortalException
-
deleteUserGroupRoles
public static void deleteUserGroupRoles(long[] userIds, long groupId, long roleId) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateUserGroupRoles
public static void updateUserGroupRoles(long userId, long groupId, long[] addedRoleIds, long[] deletedRoleIds) throws PortalException - Throws:
PortalException
-
getService
-
setService
-