Liferay 7.0-ga1 portal-kernel

com.liferay.portal.kernel.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, com.liferay.portal.service.base.UserGroupRoleServiceBaseImpl, com.liferay.portal.service.impl.UserGroupRoleServiceImpl
{$generated.description}

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.
 void updateUserGroupRoles(long userId, long groupId, long[] addedRoleIds, long[] deletedRoleIds)
           
 

Method Detail

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

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

updateUserGroupRoles

void updateUserGroupRoles(long userId,
                          long groupId,
                          long[] addedRoleIds,
                          long[] deletedRoleIds)
                          throws PortalException
Throws:
PortalException

Liferay 7.0-ga1 portal-kernel