com.liferay.portal.kernel.service
Class UserGroupRoleServiceUtil
java.lang.Object
com.liferay.portal.kernel.service.UserGroupRoleServiceUtil
@ProviderType
public class UserGroupRoleServiceUtil
- extends Object
Provides the remote service utility for UserGroupRole. This utility wraps
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.
- See Also:
UserGroupRoleService,
com.liferay.portal.service.base.UserGroupRoleServiceBaseImpl,
com.liferay.portal.service.impl.UserGroupRoleServiceImpl- {$generated.description}
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGroupRoleServiceUtil
public UserGroupRoleServiceUtil()
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
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
updateUserGroupRoles
public static void updateUserGroupRoles(long userId,
long groupId,
long[] addedRoleIds,
long[] deletedRoleIds)
throws PortalException
- Throws:
PortalException
getService
public static UserGroupRoleService getService()