com.liferay.portal.service.impl
Class UserGroupServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portal.service.impl.UserGroupServiceImpl
All Implemented Interfaces:
UserGroupService

public class UserGroupServiceImpl
extends PrincipalBean
implements UserGroupService

View Source

Author:
Charles May

Constructor Summary
UserGroupServiceImpl()
           
 
Method Summary
 void addGroupUserGroups(java.lang.String groupId, java.lang.String[] userGroupIds)
           
 UserGroup addUserGroup(java.lang.String name, java.lang.String description)
           
 void deleteUserGroup(java.lang.String userGroupId)
           
 UserGroup getUserGroup(java.lang.String userGroupId)
           
 java.util.List getUserUserGroups(java.lang.String userId)
           
 void unsetGroupUserGroups(java.lang.String groupId, java.lang.String[] userGroupIds)
           
 UserGroup updateUserGroup(java.lang.String userGroupId, java.lang.String name, java.lang.String description)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupServiceImpl

public UserGroupServiceImpl()
Method Detail

addGroupUserGroups

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

addUserGroup

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

deleteUserGroup

public void deleteUserGroup(java.lang.String userGroupId)
                     throws PortalException,
                            SystemException
Specified by:
deleteUserGroup in interface UserGroupService
Throws:
PortalException
SystemException

getUserGroup

public UserGroup getUserGroup(java.lang.String userGroupId)
                       throws PortalException,
                              SystemException
Specified by:
getUserGroup in interface UserGroupService
Throws:
PortalException
SystemException

getUserUserGroups

public java.util.List getUserUserGroups(java.lang.String userId)
                                 throws PortalException,
                                        SystemException
Specified by:
getUserUserGroups in interface UserGroupService
Throws:
PortalException
SystemException

unsetGroupUserGroups

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

updateUserGroup

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