Liferay 6.0.5

com.liferay.portal.service
Interface UserGroupRoleService

All Known Implementing Classes:
UserGroupRoleServiceBaseImpl, UserGroupRoleServiceImpl, UserGroupRoleServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface UserGroupRoleService

The interface for the user group role remote service.

Never modify or reference this interface directly. Always use UserGroupRoleServiceUtil to access the user group role remote service. Add custom service methods to UserGroupRoleServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

This is a remote service. 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, UserGroupRoleServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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)
           
 

Method Detail

addUserGroupRoles

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

addUserGroupRoles

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

deleteUserGroupRoles

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

deleteUserGroupRoles

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

Liferay 6.0.5