com.liferay.portal.service
Class GroupServiceWrapper
java.lang.Object
com.liferay.portal.service.GroupServiceWrapper
- All Implemented Interfaces:
- GroupService
public class GroupServiceWrapper
- extends Object
- implements GroupService
This class is a wrapper for GroupService
.
- See Also:
GroupService
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
Group |
addGroup(long liveGroupId,
String name,
String description,
int type,
String friendlyURL,
boolean active,
ServiceContext serviceContext)
|
Group |
addGroup(String name,
String description,
int type,
String friendlyURL,
boolean active,
ServiceContext serviceContext)
|
void |
addRoleGroups(long roleId,
long[] groupIds)
|
void |
deleteGroup(long groupId)
|
Group |
getGroup(long groupId)
|
Group |
getGroup(long companyId,
String name)
|
List<Group> |
getManageableGroups(String actionId,
int max)
|
List<Group> |
getOrganizationsGroups(List<Organization> organizations)
|
Group |
getUserGroup(long companyId,
long userId)
|
List<Group> |
getUserGroupsGroups(List<UserGroup> userGroups)
|
List<Group> |
getUserOrganizationsGroups(long userId,
int start,
int end)
|
GroupService |
getWrappedGroupService()
|
boolean |
hasUserGroup(long userId,
long groupId)
|
List<Group> |
search(long companyId,
String name,
String description,
String[] params,
int start,
int end)
|
int |
searchCount(long companyId,
String name,
String description,
String[] params)
|
void |
setRoleGroups(long roleId,
long[] groupIds)
|
void |
unsetRoleGroups(long roleId,
long[] groupIds)
|
Group |
updateFriendlyURL(long groupId,
String friendlyURL)
|
Group |
updateGroup(long groupId,
String typeSettings)
|
Group |
updateGroup(long groupId,
String name,
String description,
int type,
String friendlyURL,
boolean active,
ServiceContext serviceContext)
|
Group |
updateWorkflow(long groupId,
boolean workflowEnabled,
int workflowStages,
String workflowRoleNames)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupServiceWrapper
public GroupServiceWrapper(GroupService groupService)
addGroup
public Group addGroup(String name,
String description,
int type,
String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addGroup
in interface GroupService
- Throws:
PortalException
SystemException
addGroup
public Group addGroup(long liveGroupId,
String name,
String description,
int type,
String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addGroup
in interface GroupService
- Throws:
PortalException
SystemException
addRoleGroups
public void addRoleGroups(long roleId,
long[] groupIds)
throws PortalException,
SystemException
- Specified by:
addRoleGroups
in interface GroupService
- Throws:
PortalException
SystemException
deleteGroup
public void deleteGroup(long groupId)
throws PortalException,
SystemException
- Specified by:
deleteGroup
in interface GroupService
- Throws:
PortalException
SystemException
getGroup
public Group getGroup(long groupId)
throws PortalException,
SystemException
- Specified by:
getGroup
in interface GroupService
- Throws:
PortalException
SystemException
getGroup
public Group getGroup(long companyId,
String name)
throws PortalException,
SystemException
- Specified by:
getGroup
in interface GroupService
- Throws:
PortalException
SystemException
getManageableGroups
public List<Group> getManageableGroups(String actionId,
int max)
throws PortalException,
SystemException
- Specified by:
getManageableGroups
in interface GroupService
- Throws:
PortalException
SystemException
getOrganizationsGroups
public List<Group> getOrganizationsGroups(List<Organization> organizations)
- Specified by:
getOrganizationsGroups
in interface GroupService
getUserGroup
public Group getUserGroup(long companyId,
long userId)
throws PortalException,
SystemException
- Specified by:
getUserGroup
in interface GroupService
- Throws:
PortalException
SystemException
getUserGroupsGroups
public List<Group> getUserGroupsGroups(List<UserGroup> userGroups)
throws PortalException,
SystemException
- Specified by:
getUserGroupsGroups
in interface GroupService
- Throws:
PortalException
SystemException
getUserOrganizationsGroups
public List<Group> getUserOrganizationsGroups(long userId,
int start,
int end)
throws PortalException,
SystemException
- Specified by:
getUserOrganizationsGroups
in interface GroupService
- Throws:
PortalException
SystemException
hasUserGroup
public boolean hasUserGroup(long userId,
long groupId)
throws SystemException
- Specified by:
hasUserGroup
in interface GroupService
- Throws:
SystemException
search
public List<Group> search(long companyId,
String name,
String description,
String[] params,
int start,
int end)
throws SystemException
- Specified by:
search
in interface GroupService
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
String name,
String description,
String[] params)
throws SystemException
- Specified by:
searchCount
in interface GroupService
- Throws:
SystemException
setRoleGroups
public void setRoleGroups(long roleId,
long[] groupIds)
throws PortalException,
SystemException
- Specified by:
setRoleGroups
in interface GroupService
- Throws:
PortalException
SystemException
unsetRoleGroups
public void unsetRoleGroups(long roleId,
long[] groupIds)
throws PortalException,
SystemException
- Specified by:
unsetRoleGroups
in interface GroupService
- Throws:
PortalException
SystemException
updateFriendlyURL
public Group updateFriendlyURL(long groupId,
String friendlyURL)
throws PortalException,
SystemException
- Specified by:
updateFriendlyURL
in interface GroupService
- Throws:
PortalException
SystemException
updateGroup
public Group updateGroup(long groupId,
String name,
String description,
int type,
String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateGroup
in interface GroupService
- Throws:
PortalException
SystemException
updateGroup
public Group updateGroup(long groupId,
String typeSettings)
throws PortalException,
SystemException
- Specified by:
updateGroup
in interface GroupService
- Throws:
PortalException
SystemException
updateWorkflow
public Group updateWorkflow(long groupId,
boolean workflowEnabled,
int workflowStages,
String workflowRoleNames)
throws PortalException,
SystemException
- Specified by:
updateWorkflow
in interface GroupService
- Throws:
PortalException
SystemException
getWrappedGroupService
public GroupService getWrappedGroupService()