Liferay 7.0-ce-b4

com.liferay.portal.service
Class UserGroupRoleServiceUtil

java.lang.Object
  extended by com.liferay.portal.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, UserGroupRoleServiceBaseImpl, com.liferay.portal.service.impl.UserGroupRoleServiceImpl

Constructor Summary
UserGroupRoleServiceUtil()
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupRoleServiceUtil

public UserGroupRoleServiceUtil()
Method Detail

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

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getService

public static UserGroupRoleService getService()

Liferay 7.0-ce-b4