Liferay 6.0-ee-sp2

com.liferay.portal.service
Interface UserGroupService

All Known Implementing Classes:
UserGroupServiceWrapper

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

The interface for the user group remote service.

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:
UserGroupServiceUtil, UserGroupServiceBaseImpl, com.liferay.portal.service.impl.UserGroupServiceImpl

Method Summary
 void addGroupUserGroups(long groupId, long[] userGroupIds)
           
 void addTeamUserGroups(long teamId, long[] userGroupIds)
           
 UserGroup addUserGroup(String name, String description)
           
 void deleteUserGroup(long userGroupId)
           
 UserGroup getUserGroup(long userGroupId)
           
 UserGroup getUserGroup(String name)
           
 List<UserGroup> getUserUserGroups(long userId)
           
 void unsetGroupUserGroups(long groupId, long[] userGroupIds)
           
 void unsetTeamUserGroups(long teamId, long[] userGroupIds)
           
 UserGroup updateUserGroup(long userGroupId, String name, String description)
           
 

Method Detail

addGroupUserGroups

void addGroupUserGroups(long groupId,
                        long[] userGroupIds)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addTeamUserGroups

void addTeamUserGroups(long teamId,
                       long[] userGroupIds)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

addUserGroup

UserGroup addUserGroup(String name,
                       String description)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

deleteUserGroup

void deleteUserGroup(long userGroupId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getUserGroup

@Transactional(propagation=SUPPORTS,
               readOnly=true)
UserGroup getUserGroup(long userGroupId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getUserGroup

@Transactional(propagation=SUPPORTS,
               readOnly=true)
UserGroup getUserGroup(String name)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getUserUserGroups

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<UserGroup> getUserUserGroups(long userId)
                                  throws SystemException
Throws:
SystemException

unsetGroupUserGroups

void unsetGroupUserGroups(long groupId,
                          long[] userGroupIds)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

unsetTeamUserGroups

void unsetTeamUserGroups(long teamId,
                         long[] userGroupIds)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updateUserGroup

UserGroup updateUserGroup(long userGroupId,
                          String name,
                          String description)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

Liferay 6.0-ee-sp2