1
14
15 package com.liferay.portal.service;
16
17
33 public class GroupLocalServiceWrapper implements GroupLocalService {
34 public GroupLocalServiceWrapper(GroupLocalService groupLocalService) {
35 _groupLocalService = groupLocalService;
36 }
37
38 public com.liferay.portal.model.Group addGroup(
39 com.liferay.portal.model.Group group)
40 throws com.liferay.portal.SystemException {
41 return _groupLocalService.addGroup(group);
42 }
43
44 public com.liferay.portal.model.Group createGroup(long groupId) {
45 return _groupLocalService.createGroup(groupId);
46 }
47
48 public void deleteGroup(long groupId)
49 throws com.liferay.portal.PortalException,
50 com.liferay.portal.SystemException {
51 _groupLocalService.deleteGroup(groupId);
52 }
53
54 public void deleteGroup(com.liferay.portal.model.Group group)
55 throws com.liferay.portal.SystemException {
56 _groupLocalService.deleteGroup(group);
57 }
58
59 @SuppressWarnings("rawtypes")
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62 throws com.liferay.portal.SystemException {
63 return _groupLocalService.dynamicQuery(dynamicQuery);
64 }
65
66 @SuppressWarnings("rawtypes")
67 public java.util.List dynamicQuery(
68 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69 int end) throws com.liferay.portal.SystemException {
70 return _groupLocalService.dynamicQuery(dynamicQuery, start, end);
71 }
72
73 @SuppressWarnings("rawtypes")
74 public java.util.List dynamicQuery(
75 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76 int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException {
79 return _groupLocalService.dynamicQuery(dynamicQuery, start, end,
80 orderByComparator);
81 }
82
83 public int dynamicQueryCount(
84 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
85 throws com.liferay.portal.SystemException {
86 return _groupLocalService.dynamicQueryCount(dynamicQuery);
87 }
88
89 public com.liferay.portal.model.Group getGroup(long groupId)
90 throws com.liferay.portal.PortalException,
91 com.liferay.portal.SystemException {
92 return _groupLocalService.getGroup(groupId);
93 }
94
95 public java.util.List<com.liferay.portal.model.Group> getGroups(int start,
96 int end) throws com.liferay.portal.SystemException {
97 return _groupLocalService.getGroups(start, end);
98 }
99
100 public int getGroupsCount() throws com.liferay.portal.SystemException {
101 return _groupLocalService.getGroupsCount();
102 }
103
104 public com.liferay.portal.model.Group updateGroup(
105 com.liferay.portal.model.Group group)
106 throws com.liferay.portal.SystemException {
107 return _groupLocalService.updateGroup(group);
108 }
109
110 public com.liferay.portal.model.Group updateGroup(
111 com.liferay.portal.model.Group group, boolean merge)
112 throws com.liferay.portal.SystemException {
113 return _groupLocalService.updateGroup(group, merge);
114 }
115
116 public com.liferay.portal.model.Group addGroup(long userId,
117 java.lang.String className, long classPK, java.lang.String name,
118 java.lang.String description, int type, java.lang.String friendlyURL,
119 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return _groupLocalService.addGroup(userId, className, classPK, name,
123 description, type, friendlyURL, active, serviceContext);
124 }
125
126 public com.liferay.portal.model.Group addGroup(long userId,
127 java.lang.String className, long classPK, long liveGroupId,
128 java.lang.String name, java.lang.String description, int type,
129 java.lang.String friendlyURL, boolean active,
130 com.liferay.portal.service.ServiceContext serviceContext)
131 throws com.liferay.portal.PortalException,
132 com.liferay.portal.SystemException {
133 return _groupLocalService.addGroup(userId, className, classPK,
134 liveGroupId, name, description, type, friendlyURL, active,
135 serviceContext);
136 }
137
138 public void addRoleGroups(long roleId, long[] groupIds)
139 throws com.liferay.portal.SystemException {
140 _groupLocalService.addRoleGroups(roleId, groupIds);
141 }
142
143 public void addUserGroups(long userId, long[] groupIds)
144 throws com.liferay.portal.SystemException {
145 _groupLocalService.addUserGroups(userId, groupIds);
146 }
147
148 public void checkSystemGroups(long companyId)
149 throws com.liferay.portal.PortalException,
150 com.liferay.portal.SystemException {
151 _groupLocalService.checkSystemGroups(companyId);
152 }
153
154 public java.util.List<com.liferay.portal.model.Group> getCompanyGroups(
155 long companyId, int start, int end)
156 throws com.liferay.portal.SystemException {
157 return _groupLocalService.getCompanyGroups(companyId, start, end);
158 }
159
160 public int getCompanyGroupsCount(long companyId)
161 throws com.liferay.portal.SystemException {
162 return _groupLocalService.getCompanyGroupsCount(companyId);
163 }
164
165 public com.liferay.portal.model.Group getFriendlyURLGroup(long companyId,
166 java.lang.String friendlyURL)
167 throws com.liferay.portal.PortalException,
168 com.liferay.portal.SystemException {
169 return _groupLocalService.getFriendlyURLGroup(companyId, friendlyURL);
170 }
171
172 public com.liferay.portal.model.Group getGroup(long companyId,
173 java.lang.String name)
174 throws com.liferay.portal.PortalException,
175 com.liferay.portal.SystemException {
176 return _groupLocalService.getGroup(companyId, name);
177 }
178
179 public java.util.List<com.liferay.portal.model.Group> getGroups(
180 long[] groupIds)
181 throws com.liferay.portal.PortalException,
182 com.liferay.portal.SystemException {
183 return _groupLocalService.getGroups(groupIds);
184 }
185
186 public com.liferay.portal.model.Group getLayoutGroup(long companyId,
187 long plid)
188 throws com.liferay.portal.PortalException,
189 com.liferay.portal.SystemException {
190 return _groupLocalService.getLayoutGroup(companyId, plid);
191 }
192
193 public java.util.List<com.liferay.portal.model.Group> getNoLayoutsGroups(
194 java.lang.String className, boolean privateLayout, int start, int end)
195 throws com.liferay.portal.SystemException {
196 return _groupLocalService.getNoLayoutsGroups(className, privateLayout,
197 start, end);
198 }
199
200 public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
201 throws com.liferay.portal.SystemException {
202 return _groupLocalService.getNullFriendlyURLGroups();
203 }
204
205 public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
206 long organizationId)
207 throws com.liferay.portal.PortalException,
208 com.liferay.portal.SystemException {
209 return _groupLocalService.getOrganizationGroup(companyId, organizationId);
210 }
211
212 public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
213 java.util.List<com.liferay.portal.model.Organization> organizations) {
214 return _groupLocalService.getOrganizationsGroups(organizations);
215 }
216
217 public java.util.List<com.liferay.portal.model.Group> getOrganizationsRelatedGroups(
218 java.util.List<com.liferay.portal.model.Organization> organizations)
219 throws com.liferay.portal.SystemException {
220 return _groupLocalService.getOrganizationsRelatedGroups(organizations);
221 }
222
223 public java.util.List<com.liferay.portal.model.Group> getRoleGroups(
224 long roleId) throws com.liferay.portal.SystemException {
225 return _groupLocalService.getRoleGroups(roleId);
226 }
227
228 public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
229 throws com.liferay.portal.PortalException,
230 com.liferay.portal.SystemException {
231 return _groupLocalService.getStagingGroup(liveGroupId);
232 }
233
234 public com.liferay.portal.model.Group getUserGroup(long companyId,
235 long userId)
236 throws com.liferay.portal.PortalException,
237 com.liferay.portal.SystemException {
238 return _groupLocalService.getUserGroup(companyId, userId);
239 }
240
241 public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
242 long userGroupId)
243 throws com.liferay.portal.PortalException,
244 com.liferay.portal.SystemException {
245 return _groupLocalService.getUserGroupGroup(companyId, userGroupId);
246 }
247
248 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
249 long userId)
250 throws com.liferay.portal.PortalException,
251 com.liferay.portal.SystemException {
252 return _groupLocalService.getUserGroups(userId);
253 }
254
255 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
256 long userId, boolean inherit)
257 throws com.liferay.portal.PortalException,
258 com.liferay.portal.SystemException {
259 return _groupLocalService.getUserGroups(userId, inherit);
260 }
261
262 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
263 long userId, int start, int end)
264 throws com.liferay.portal.PortalException,
265 com.liferay.portal.SystemException {
266 return _groupLocalService.getUserGroups(userId, start, end);
267 }
268
269 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
270 long userId, boolean inherit, int start, int end)
271 throws com.liferay.portal.PortalException,
272 com.liferay.portal.SystemException {
273 return _groupLocalService.getUserGroups(userId, inherit, start, end);
274 }
275
276 public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
277 java.util.List<com.liferay.portal.model.UserGroup> userGroups) {
278 return _groupLocalService.getUserGroupsGroups(userGroups);
279 }
280
281 public java.util.List<com.liferay.portal.model.Group> getUserGroupsRelatedGroups(
282 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
283 throws com.liferay.portal.SystemException {
284 return _groupLocalService.getUserGroupsRelatedGroups(userGroups);
285 }
286
287 public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
288 long userId, int start, int end)
289 throws com.liferay.portal.PortalException,
290 com.liferay.portal.SystemException {
291 return _groupLocalService.getUserOrganizationsGroups(userId, start, end);
292 }
293
294 public boolean hasRoleGroup(long roleId, long groupId)
295 throws com.liferay.portal.SystemException {
296 return _groupLocalService.hasRoleGroup(roleId, groupId);
297 }
298
299 public boolean hasStagingGroup(long liveGroupId)
300 throws com.liferay.portal.SystemException {
301 return _groupLocalService.hasStagingGroup(liveGroupId);
302 }
303
304 public boolean hasUserGroup(long userId, long groupId)
305 throws com.liferay.portal.SystemException {
306 return _groupLocalService.hasUserGroup(userId, groupId);
307 }
308
309 public java.util.List<com.liferay.portal.model.Group> search(
310 long companyId, java.lang.String name, java.lang.String description,
311 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
312 int start, int end) throws com.liferay.portal.SystemException {
313 return _groupLocalService.search(companyId, name, description, params,
314 start, end);
315 }
316
317 public java.util.List<com.liferay.portal.model.Group> search(
318 long companyId, java.lang.String name, java.lang.String description,
319 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
320 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
321 throws com.liferay.portal.SystemException {
322 return _groupLocalService.search(companyId, name, description, params,
323 start, end, obc);
324 }
325
326 public int searchCount(long companyId, java.lang.String name,
327 java.lang.String description,
328 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
329 throws com.liferay.portal.SystemException {
330 return _groupLocalService.searchCount(companyId, name, description,
331 params);
332 }
333
334 public void setRoleGroups(long roleId, long[] groupIds)
335 throws com.liferay.portal.SystemException {
336 _groupLocalService.setRoleGroups(roleId, groupIds);
337 }
338
339 public void unsetRoleGroups(long roleId, long[] groupIds)
340 throws com.liferay.portal.SystemException {
341 _groupLocalService.unsetRoleGroups(roleId, groupIds);
342 }
343
344 public void unsetUserGroups(long userId, long[] groupIds)
345 throws com.liferay.portal.SystemException {
346 _groupLocalService.unsetUserGroups(userId, groupIds);
347 }
348
349 public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
350 java.lang.String friendlyURL)
351 throws com.liferay.portal.PortalException,
352 com.liferay.portal.SystemException {
353 return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
354 }
355
356 public com.liferay.portal.model.Group updateGroup(long groupId,
357 java.lang.String name, java.lang.String description, int type,
358 java.lang.String friendlyURL, boolean active,
359 com.liferay.portal.service.ServiceContext serviceContext)
360 throws com.liferay.portal.PortalException,
361 com.liferay.portal.SystemException {
362 return _groupLocalService.updateGroup(groupId, name, description, type,
363 friendlyURL, active, serviceContext);
364 }
365
366 public com.liferay.portal.model.Group updateGroup(long groupId,
367 java.lang.String typeSettings)
368 throws com.liferay.portal.PortalException,
369 com.liferay.portal.SystemException {
370 return _groupLocalService.updateGroup(groupId, typeSettings);
371 }
372
373 public void updateTagsAsset(long userId,
374 com.liferay.portal.model.Group group,
375 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
376 throws com.liferay.portal.PortalException,
377 com.liferay.portal.SystemException {
378 _groupLocalService.updateTagsAsset(userId, group, tagsCategories,
379 tagsEntries);
380 }
381
382 public com.liferay.portal.model.Group updateWorkflow(long groupId,
383 boolean workflowEnabled, int workflowStages,
384 java.lang.String workflowRoleNames)
385 throws com.liferay.portal.PortalException,
386 com.liferay.portal.SystemException {
387 return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
388 workflowStages, workflowRoleNames);
389 }
390
391 public GroupLocalService getWrappedGroupLocalService() {
392 return _groupLocalService;
393 }
394
395 private GroupLocalService _groupLocalService;
396 }