com.liferay.portal.service
Class GroupServiceWrapper
java.lang.Object
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:
Method Summary |
Group |
addGroup(long liveGroupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
|
Group |
addGroup(java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
|
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> |
getManageableGroups(java.lang.String actionId,
int max)
|
java.util.List<Group> |
getOrganizationsGroups(java.util.List<Organization> organizations)
|
Group |
getUserGroup(long companyId,
long userId)
|
java.util.List<Group> |
getUserGroupsGroups(java.util.List<UserGroup> userGroups)
|
java.util.List<Group> |
getUserOrganizationsGroups(long userId,
int start,
int end)
|
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,
ServiceContext serviceContext)
|
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 |
GroupServiceWrapper
public GroupServiceWrapper(GroupService groupService)
addGroup
public Group addGroup(java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addGroup
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addGroup
public Group addGroup(long liveGroupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addGroup
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addRoleGroups
public void addRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addRoleGroups
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteGroup
public void deleteGroup(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteGroup
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroup
public Group getGroup(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getGroup
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroup
public Group getGroup(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getGroup
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getManageableGroups
public java.util.List<Group> getManageableGroups(java.lang.String actionId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getManageableGroups
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOrganizationsGroups
public java.util.List<Group> getOrganizationsGroups(java.util.List<Organization> organizations)
- Specified by:
getOrganizationsGroups
in interface GroupService
getUserGroup
public Group getUserGroup(long companyId,
long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserGroup
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroupsGroups
public java.util.List<Group> getUserGroupsGroups(java.util.List<UserGroup> userGroups)
- Specified by:
getUserGroupsGroups
in interface GroupService
getUserOrganizationsGroups
public java.util.List<Group> getUserOrganizationsGroups(long userId,
int start,
int end)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserOrganizationsGroups
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasUserGroup
public boolean hasUserGroup(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Specified by:
hasUserGroup
in interface GroupService
- Throws:
com.liferay.portal.SystemException
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
- Specified by:
search
in interface GroupService
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.String[] params)
throws com.liferay.portal.SystemException
- Specified by:
searchCount
in interface GroupService
- Throws:
com.liferay.portal.SystemException
setRoleGroups
public void setRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
setRoleGroups
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsetRoleGroups
public void unsetRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
unsetRoleGroups
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFriendlyURL
public Group updateFriendlyURL(long groupId,
java.lang.String friendlyURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateFriendlyURL
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateGroup
public Group updateGroup(long groupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateGroup
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateGroup
public Group updateGroup(long groupId,
java.lang.String typeSettings)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateGroup
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateWorkflow
public Group updateWorkflow(long groupId,
boolean workflowEnabled,
int workflowStages,
java.lang.String workflowRoleNames)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateWorkflow
in interface GroupService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWrappedGroupService
public GroupService getWrappedGroupService()