com.liferay.portal.service
Class GroupServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.GroupServiceWrapper
All Implemented Interfaces:
GroupService

public class GroupServiceWrapper
extends java.lang.Object
implements GroupService

View Source

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

This class is a wrapper for GroupService.

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

Constructor Summary
GroupServiceWrapper(GroupService groupService)
           
 
Method Summary
 Group addGroup(long liveGroupId, java.lang.String name, java.lang.String description, int type, java.lang.String friendlyURL, boolean active)
           
 Group addGroup(java.lang.String name, java.lang.String description, int type, java.lang.String friendlyURL, boolean active)
           
 void addRoleGroups(long roleId, long[] groupIds)
           
 void deleteGroup(long groupId)
           
 Group getGroup(long groupId)
           
 Group getGroup(long companyId, java.lang.String name)
           
 java.util.List<Group> getOrganizationsGroups(java.util.List<Organization> organizations)
           
 java.util.List<Group> getUserGroupsGroups(java.util.List<UserGroup> userGroups)
           
 GroupService getWrappedGroupService()
           
 boolean hasUserGroup(long userId, long groupId)
           
 java.util.List<Group> search(long companyId, java.lang.String name, java.lang.String description, java.lang.String[] params, int start, int end)
           
 int searchCount(long companyId, java.lang.String name, java.lang.String description, java.lang.String[] params)
           
 void setRoleGroups(long roleId, long[] groupIds)
           
 void unsetRoleGroups(long roleId, long[] groupIds)
           
 Group updateFriendlyURL(long groupId, java.lang.String friendlyURL)
           
 Group updateGroup(long groupId, java.lang.String typeSettings)
           
 Group updateGroup(long groupId, java.lang.String name, java.lang.String description, int type, java.lang.String friendlyURL, boolean active)
           
 Group updateWorkflow(long groupId, boolean workflowEnabled, int workflowStages, java.lang.String workflowRoleNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupServiceWrapper

public GroupServiceWrapper(GroupService groupService)
Method Detail

addGroup

public Group addGroup(java.lang.String name,
                      java.lang.String description,
                      int type,
                      java.lang.String friendlyURL,
                      boolean active)
               throws com.liferay.portal.PortalException,
                      com.liferay.portal.SystemException,
                      java.rmi.RemoteException
Specified by:
addGroup in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addGroup

public Group addGroup(long liveGroupId,
                      java.lang.String name,
                      java.lang.String description,
                      int type,
                      java.lang.String friendlyURL,
                      boolean active)
               throws com.liferay.portal.PortalException,
                      com.liferay.portal.SystemException,
                      java.rmi.RemoteException
Specified by:
addGroup in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addRoleGroups

public void addRoleGroups(long roleId,
                          long[] groupIds)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException,
                          java.rmi.RemoteException
Specified by:
addRoleGroups in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteGroup

public void deleteGroup(long groupId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException,
                        java.rmi.RemoteException
Specified by:
deleteGroup in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getGroup

public Group getGroup(long groupId)
               throws com.liferay.portal.PortalException,
                      com.liferay.portal.SystemException,
                      java.rmi.RemoteException
Specified by:
getGroup in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getGroup

public Group getGroup(long companyId,
                      java.lang.String name)
               throws com.liferay.portal.PortalException,
                      com.liferay.portal.SystemException,
                      java.rmi.RemoteException
Specified by:
getGroup in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getOrganizationsGroups

public java.util.List<Group> getOrganizationsGroups(java.util.List<Organization> organizations)
                                             throws java.rmi.RemoteException
Specified by:
getOrganizationsGroups in interface GroupService
Throws:
java.rmi.RemoteException

getUserGroupsGroups

public java.util.List<Group> getUserGroupsGroups(java.util.List<UserGroup> userGroups)
                                          throws java.rmi.RemoteException
Specified by:
getUserGroupsGroups in interface GroupService
Throws:
java.rmi.RemoteException

hasUserGroup

public boolean hasUserGroup(long userId,
                            long groupId)
                     throws com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
hasUserGroup in interface GroupService
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

search

public java.util.List<Group> search(long companyId,
                                    java.lang.String name,
                                    java.lang.String description,
                                    java.lang.String[] params,
                                    int start,
                                    int end)
                             throws com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Specified by:
search in interface GroupService
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

searchCount

public int searchCount(long companyId,
                       java.lang.String name,
                       java.lang.String description,
                       java.lang.String[] params)
                throws com.liferay.portal.SystemException,
                       java.rmi.RemoteException
Specified by:
searchCount in interface GroupService
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

setRoleGroups

public void setRoleGroups(long roleId,
                          long[] groupIds)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException,
                          java.rmi.RemoteException
Specified by:
setRoleGroups in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

unsetRoleGroups

public void unsetRoleGroups(long roleId,
                            long[] groupIds)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
unsetRoleGroups in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateFriendlyURL

public Group updateFriendlyURL(long groupId,
                               java.lang.String friendlyURL)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Specified by:
updateFriendlyURL in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateGroup

public Group updateGroup(long groupId,
                         java.lang.String name,
                         java.lang.String description,
                         int type,
                         java.lang.String friendlyURL,
                         boolean active)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException,
                         java.rmi.RemoteException
Specified by:
updateGroup in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateGroup

public Group updateGroup(long groupId,
                         java.lang.String typeSettings)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException,
                         java.rmi.RemoteException
Specified by:
updateGroup in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateWorkflow

public Group updateWorkflow(long groupId,
                            boolean workflowEnabled,
                            int workflowStages,
                            java.lang.String workflowRoleNames)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
updateWorkflow in interface GroupService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getWrappedGroupService

public GroupService getWrappedGroupService()