public class UserGroupRoleServiceUtil
extends Object
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.UserGroupRoleService
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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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
UserGroupRoleServiceUtil
to access the user group role remote service. Add custom service methods to com.liferay.portal.service.impl.UserGroupRoleServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.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()