1
14
15 package com.liferay.portal.service;
16
17
33 public class GroupServiceWrapper implements GroupService {
34 public GroupServiceWrapper(GroupService groupService) {
35 _groupService = groupService;
36 }
37
38 public com.liferay.portal.model.Group addGroup(java.lang.String name,
39 java.lang.String description, int type, java.lang.String friendlyURL,
40 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
41 throws com.liferay.portal.PortalException,
42 com.liferay.portal.SystemException {
43 return _groupService.addGroup(name, description, type, friendlyURL,
44 active, serviceContext);
45 }
46
47 public com.liferay.portal.model.Group addGroup(long liveGroupId,
48 java.lang.String name, java.lang.String description, int type,
49 java.lang.String friendlyURL, boolean active,
50 com.liferay.portal.service.ServiceContext serviceContext)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException {
53 return _groupService.addGroup(liveGroupId, name, description, type,
54 friendlyURL, active, serviceContext);
55 }
56
57 public void addRoleGroups(long roleId, long[] groupIds)
58 throws com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException {
60 _groupService.addRoleGroups(roleId, groupIds);
61 }
62
63 public void deleteGroup(long groupId)
64 throws com.liferay.portal.PortalException,
65 com.liferay.portal.SystemException {
66 _groupService.deleteGroup(groupId);
67 }
68
69 public com.liferay.portal.model.Group getGroup(long groupId)
70 throws com.liferay.portal.PortalException,
71 com.liferay.portal.SystemException {
72 return _groupService.getGroup(groupId);
73 }
74
75 public com.liferay.portal.model.Group getGroup(long companyId,
76 java.lang.String name)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException {
79 return _groupService.getGroup(companyId, name);
80 }
81
82 public java.util.List<com.liferay.portal.model.Group> getManageableGroups(
83 java.lang.String actionId, int max)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return _groupService.getManageableGroups(actionId, max);
87 }
88
89 public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
90 java.util.List<com.liferay.portal.model.Organization> organizations) {
91 return _groupService.getOrganizationsGroups(organizations);
92 }
93
94 public com.liferay.portal.model.Group getUserGroup(long companyId,
95 long userId)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException {
98 return _groupService.getUserGroup(companyId, userId);
99 }
100
101 public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
102 java.util.List<com.liferay.portal.model.UserGroup> userGroups) {
103 return _groupService.getUserGroupsGroups(userGroups);
104 }
105
106 public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
107 long userId, int start, int end)
108 throws com.liferay.portal.PortalException,
109 com.liferay.portal.SystemException {
110 return _groupService.getUserOrganizationsGroups(userId, start, end);
111 }
112
113 public boolean hasUserGroup(long userId, long groupId)
114 throws com.liferay.portal.SystemException {
115 return _groupService.hasUserGroup(userId, groupId);
116 }
117
118 public java.util.List<com.liferay.portal.model.Group> search(
119 long companyId, java.lang.String name, java.lang.String description,
120 java.lang.String[] params, int start, int end)
121 throws com.liferay.portal.SystemException {
122 return _groupService.search(companyId, name, description, params,
123 start, end);
124 }
125
126 public int searchCount(long companyId, java.lang.String name,
127 java.lang.String description, java.lang.String[] params)
128 throws com.liferay.portal.SystemException {
129 return _groupService.searchCount(companyId, name, description, params);
130 }
131
132 public void setRoleGroups(long roleId, long[] groupIds)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 _groupService.setRoleGroups(roleId, groupIds);
136 }
137
138 public void unsetRoleGroups(long roleId, long[] groupIds)
139 throws com.liferay.portal.PortalException,
140 com.liferay.portal.SystemException {
141 _groupService.unsetRoleGroups(roleId, groupIds);
142 }
143
144 public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
145 java.lang.String friendlyURL)
146 throws com.liferay.portal.PortalException,
147 com.liferay.portal.SystemException {
148 return _groupService.updateFriendlyURL(groupId, friendlyURL);
149 }
150
151 public com.liferay.portal.model.Group updateGroup(long groupId,
152 java.lang.String name, java.lang.String description, int type,
153 java.lang.String friendlyURL, boolean active,
154 com.liferay.portal.service.ServiceContext serviceContext)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 return _groupService.updateGroup(groupId, name, description, type,
158 friendlyURL, active, serviceContext);
159 }
160
161 public com.liferay.portal.model.Group updateGroup(long groupId,
162 java.lang.String typeSettings)
163 throws com.liferay.portal.PortalException,
164 com.liferay.portal.SystemException {
165 return _groupService.updateGroup(groupId, typeSettings);
166 }
167
168 public com.liferay.portal.model.Group updateWorkflow(long groupId,
169 boolean workflowEnabled, int workflowStages,
170 java.lang.String workflowRoleNames)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException {
173 return _groupService.updateWorkflow(groupId, workflowEnabled,
174 workflowStages, workflowRoleNames);
175 }
176
177 public GroupService getWrappedGroupService() {
178 return _groupService;
179 }
180
181 private GroupService _groupService;
182 }