Liferay 7.0-ce-b4

com.liferay.portal.service
Interface UserGroupRoleService

All Superinterfaces:
BaseService
All Known Implementing Classes:
UserGroupRoleServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface UserGroupRoleService
extends BaseService

Provides the remote service interface for UserGroupRole. 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:
UserGroupRoleServiceUtil, UserGroupRoleServiceBaseImpl, com.liferay.portal.service.impl.UserGroupRoleServiceImpl

Method Summary
 void addUserGroupRoles(long[] userIds, long groupId, long roleId)
           
 void addUserGroupRoles(long userId, long groupId, long[] roleIds)
           
 void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
           
 void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 

Method Detail

addUserGroupRoles

void addUserGroupRoles(long userId,
                       long groupId,
                       long[] roleIds)
                       throws PortalException
Throws:
PortalException

addUserGroupRoles

void addUserGroupRoles(long[] userIds,
                       long groupId,
                       long roleId)
                       throws PortalException
Throws:
PortalException

deleteUserGroupRoles

void deleteUserGroupRoles(long userId,
                          long groupId,
                          long[] roleIds)
                          throws PortalException
Throws:
PortalException

deleteUserGroupRoles

void deleteUserGroupRoles(long[] userIds,
                          long groupId,
                          long roleId)
                          throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

Liferay 7.0-ce-b4