Liferay 6.0-ee-sp2

com.liferay.portal.service
Class UserGroupServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.UserGroupServiceWrapper
All Implemented Interfaces:
UserGroupService

public class UserGroupServiceWrapper
extends Object
implements UserGroupService

This class is a wrapper for UserGroupService.

See Also:
UserGroupService

Constructor Summary
UserGroupServiceWrapper(UserGroupService userGroupService)
           
 
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)
           
 UserGroupService getWrappedUserGroupService()
           
 void setWrappedUserGroupService(UserGroupService userGroupService)
           
 void unsetGroupUserGroups(long groupId, long[] userGroupIds)
           
 void unsetTeamUserGroups(long teamId, long[] userGroupIds)
           
 UserGroup updateUserGroup(long userGroupId, String name, String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupServiceWrapper

public UserGroupServiceWrapper(UserGroupService userGroupService)
Method Detail

addGroupUserGroups

public void addGroupUserGroups(long groupId,
                               long[] userGroupIds)
                        throws PortalException,
                               SystemException
Specified by:
addGroupUserGroups in interface UserGroupService
Throws:
PortalException
SystemException

addTeamUserGroups

public void addTeamUserGroups(long teamId,
                              long[] userGroupIds)
                       throws PortalException,
                              SystemException
Specified by:
addTeamUserGroups in interface UserGroupService
Throws:
PortalException
SystemException

addUserGroup

public UserGroup addUserGroup(String name,
                              String description)
                       throws PortalException,
                              SystemException
Specified by:
addUserGroup in interface UserGroupService
Throws:
PortalException
SystemException

deleteUserGroup

public void deleteUserGroup(long userGroupId)
                     throws PortalException,
                            SystemException
Specified by:
deleteUserGroup in interface UserGroupService
Throws:
PortalException
SystemException

getUserGroup

public UserGroup getUserGroup(long userGroupId)
                       throws PortalException,
                              SystemException
Specified by:
getUserGroup in interface UserGroupService
Throws:
PortalException
SystemException

getUserGroup

public UserGroup getUserGroup(String name)
                       throws PortalException,
                              SystemException
Specified by:
getUserGroup in interface UserGroupService
Throws:
PortalException
SystemException

getUserUserGroups

public List<UserGroup> getUserUserGroups(long userId)
                                  throws SystemException
Specified by:
getUserUserGroups in interface UserGroupService
Throws:
SystemException

unsetGroupUserGroups

public void unsetGroupUserGroups(long groupId,
                                 long[] userGroupIds)
                          throws PortalException,
                                 SystemException
Specified by:
unsetGroupUserGroups in interface UserGroupService
Throws:
PortalException
SystemException

unsetTeamUserGroups

public void unsetTeamUserGroups(long teamId,
                                long[] userGroupIds)
                         throws PortalException,
                                SystemException
Specified by:
unsetTeamUserGroups in interface UserGroupService
Throws:
PortalException
SystemException

updateUserGroup

public UserGroup updateUserGroup(long userGroupId,
                                 String name,
                                 String description)
                          throws PortalException,
                                 SystemException
Specified by:
updateUserGroup in interface UserGroupService
Throws:
PortalException
SystemException

getWrappedUserGroupService

public UserGroupService getWrappedUserGroupService()

setWrappedUserGroupService

public void setWrappedUserGroupService(UserGroupService userGroupService)

Liferay 6.0-ee-sp2