com.liferay.portal.service
Class UserGroupServiceWrapper

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

public class UserGroupServiceWrapper
extends java.lang.Object
implements UserGroupService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for UserGroupService.

Author:
Brian Wing Shun Chan
See Also:
UserGroupService
Generated:

Constructor Summary
UserGroupServiceWrapper(UserGroupService userGroupService)
           
 
Method Summary
 void addGroupUserGroups(long groupId, long[] userGroupIds)
           
 UserGroup addUserGroup(java.lang.String name, java.lang.String description)
           
 void deleteUserGroup(long userGroupId)
           
 UserGroup getUserGroup(long userGroupId)
           
 UserGroup getUserGroup(java.lang.String name)
           
 java.util.List<UserGroup> getUserUserGroups(long userId)
           
 UserGroupService getWrappedUserGroupService()
           
 void unsetGroupUserGroups(long groupId, long[] userGroupIds)
           
 UserGroup updateUserGroup(long userGroupId, java.lang.String name, java.lang.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 com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
addGroupUserGroups in interface UserGroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addUserGroup

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

deleteUserGroup

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

getUserGroup

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

getUserGroup

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

getUserUserGroups

public java.util.List<UserGroup> getUserUserGroups(long userId)
                                            throws com.liferay.portal.SystemException
Specified by:
getUserUserGroups in interface UserGroupService
Throws:
com.liferay.portal.SystemException

unsetGroupUserGroups

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

updateUserGroup

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

getWrappedUserGroupService

public UserGroupService getWrappedUserGroupService()