001
014
015 package com.liferay.portal.service;
016
017
026 public class GroupLocalServiceWrapper implements GroupLocalService {
027 public GroupLocalServiceWrapper(GroupLocalService groupLocalService) {
028 _groupLocalService = groupLocalService;
029 }
030
031
038 public com.liferay.portal.model.Group addGroup(
039 com.liferay.portal.model.Group group)
040 throws com.liferay.portal.kernel.exception.SystemException {
041 return _groupLocalService.addGroup(group);
042 }
043
044
050 public com.liferay.portal.model.Group createGroup(long groupId) {
051 return _groupLocalService.createGroup(groupId);
052 }
053
054
061 public void deleteGroup(long groupId)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 _groupLocalService.deleteGroup(groupId);
065 }
066
067
073 public void deleteGroup(com.liferay.portal.model.Group group)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 _groupLocalService.deleteGroup(group);
076 }
077
078
085 @SuppressWarnings("rawtypes")
086 public java.util.List dynamicQuery(
087 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return _groupLocalService.dynamicQuery(dynamicQuery);
090 }
091
092
105 @SuppressWarnings("rawtypes")
106 public java.util.List dynamicQuery(
107 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
108 int end) throws com.liferay.portal.kernel.exception.SystemException {
109 return _groupLocalService.dynamicQuery(dynamicQuery, start, end);
110 }
111
112
126 @SuppressWarnings("rawtypes")
127 public java.util.List dynamicQuery(
128 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129 int end,
130 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
131 throws com.liferay.portal.kernel.exception.SystemException {
132 return _groupLocalService.dynamicQuery(dynamicQuery, start, end,
133 orderByComparator);
134 }
135
136
143 public long dynamicQueryCount(
144 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _groupLocalService.dynamicQueryCount(dynamicQuery);
147 }
148
149
157 public com.liferay.portal.model.Group getGroup(long groupId)
158 throws com.liferay.portal.kernel.exception.PortalException,
159 com.liferay.portal.kernel.exception.SystemException {
160 return _groupLocalService.getGroup(groupId);
161 }
162
163
175 public java.util.List<com.liferay.portal.model.Group> getGroups(int start,
176 int end) throws com.liferay.portal.kernel.exception.SystemException {
177 return _groupLocalService.getGroups(start, end);
178 }
179
180
186 public int getGroupsCount()
187 throws com.liferay.portal.kernel.exception.SystemException {
188 return _groupLocalService.getGroupsCount();
189 }
190
191
198 public com.liferay.portal.model.Group updateGroup(
199 com.liferay.portal.model.Group group)
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _groupLocalService.updateGroup(group);
202 }
203
204
212 public com.liferay.portal.model.Group updateGroup(
213 com.liferay.portal.model.Group group, boolean merge)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _groupLocalService.updateGroup(group, merge);
216 }
217
218 public com.liferay.portal.model.Group addGroup(long userId,
219 java.lang.String className, long classPK, java.lang.String name,
220 java.lang.String description, int type, java.lang.String friendlyURL,
221 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
222 throws com.liferay.portal.kernel.exception.PortalException,
223 com.liferay.portal.kernel.exception.SystemException {
224 return _groupLocalService.addGroup(userId, className, classPK, name,
225 description, type, friendlyURL, active, serviceContext);
226 }
227
228 public com.liferay.portal.model.Group addGroup(long userId,
229 java.lang.String className, long classPK, long liveGroupId,
230 java.lang.String name, java.lang.String description, int type,
231 java.lang.String friendlyURL, boolean active,
232 com.liferay.portal.service.ServiceContext serviceContext)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 return _groupLocalService.addGroup(userId, className, classPK,
236 liveGroupId, name, description, type, friendlyURL, active,
237 serviceContext);
238 }
239
240 public void addRoleGroups(long roleId, long[] groupIds)
241 throws com.liferay.portal.kernel.exception.SystemException {
242 _groupLocalService.addRoleGroups(roleId, groupIds);
243 }
244
245 public void addUserGroups(long userId, long[] groupIds)
246 throws com.liferay.portal.kernel.exception.SystemException {
247 _groupLocalService.addUserGroups(userId, groupIds);
248 }
249
250 public void checkCompanyGroup(long companyId)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException {
253 _groupLocalService.checkCompanyGroup(companyId);
254 }
255
256 public void checkSystemGroups(long companyId)
257 throws com.liferay.portal.kernel.exception.PortalException,
258 com.liferay.portal.kernel.exception.SystemException {
259 _groupLocalService.checkSystemGroups(companyId);
260 }
261
262 public com.liferay.portal.model.Group getCompanyGroup(long companyId)
263 throws com.liferay.portal.kernel.exception.PortalException,
264 com.liferay.portal.kernel.exception.SystemException {
265 return _groupLocalService.getCompanyGroup(companyId);
266 }
267
268 public java.util.List<com.liferay.portal.model.Group> getCompanyGroups(
269 long companyId, int start, int end)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 return _groupLocalService.getCompanyGroups(companyId, start, end);
272 }
273
274 public int getCompanyGroupsCount(long companyId)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 return _groupLocalService.getCompanyGroupsCount(companyId);
277 }
278
279 public com.liferay.portal.model.Group getFriendlyURLGroup(long companyId,
280 java.lang.String friendlyURL)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 return _groupLocalService.getFriendlyURLGroup(companyId, friendlyURL);
284 }
285
286 public com.liferay.portal.model.Group getGroup(long companyId,
287 java.lang.String name)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 return _groupLocalService.getGroup(companyId, name);
291 }
292
293 public java.util.List<com.liferay.portal.model.Group> getGroups(
294 long[] groupIds)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 return _groupLocalService.getGroups(groupIds);
298 }
299
300 public com.liferay.portal.model.Group getLayoutGroup(long companyId,
301 long plid)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException {
304 return _groupLocalService.getLayoutGroup(companyId, plid);
305 }
306
307 public com.liferay.portal.model.Group getLayoutPrototypeGroup(
308 long companyId, long layoutPrototypeId)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 return _groupLocalService.getLayoutPrototypeGroup(companyId,
312 layoutPrototypeId);
313 }
314
315 public com.liferay.portal.model.Group getLayoutSetPrototypeGroup(
316 long companyId, long layoutSetPrototypeId)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 return _groupLocalService.getLayoutSetPrototypeGroup(companyId,
320 layoutSetPrototypeId);
321 }
322
323 public java.util.List<com.liferay.portal.model.Group> getLiveGroups()
324 throws com.liferay.portal.kernel.exception.SystemException {
325 return _groupLocalService.getLiveGroups();
326 }
327
328 public java.util.List<com.liferay.portal.model.Group> getNoLayoutsGroups(
329 java.lang.String className, boolean privateLayout, int start, int end)
330 throws com.liferay.portal.kernel.exception.SystemException {
331 return _groupLocalService.getNoLayoutsGroups(className, privateLayout,
332 start, end);
333 }
334
335 public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return _groupLocalService.getNullFriendlyURLGroups();
338 }
339
340 public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
341 long organizationId)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException {
344 return _groupLocalService.getOrganizationGroup(companyId, organizationId);
345 }
346
347 public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
348 java.util.List<com.liferay.portal.model.Organization> organizations) {
349 return _groupLocalService.getOrganizationsGroups(organizations);
350 }
351
352 public java.util.List<com.liferay.portal.model.Group> getOrganizationsRelatedGroups(
353 java.util.List<com.liferay.portal.model.Organization> organizations)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _groupLocalService.getOrganizationsRelatedGroups(organizations);
356 }
357
358 public java.util.List<com.liferay.portal.model.Group> getRoleGroups(
359 long roleId) throws com.liferay.portal.kernel.exception.SystemException {
360 return _groupLocalService.getRoleGroups(roleId);
361 }
362
363 public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 return _groupLocalService.getStagingGroup(liveGroupId);
367 }
368
369 public com.liferay.portal.model.Group getUserGroup(long companyId,
370 long userId)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 return _groupLocalService.getUserGroup(companyId, userId);
374 }
375
376 public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
377 long userGroupId)
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException {
380 return _groupLocalService.getUserGroupGroup(companyId, userGroupId);
381 }
382
383 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
384 long userId)
385 throws com.liferay.portal.kernel.exception.PortalException,
386 com.liferay.portal.kernel.exception.SystemException {
387 return _groupLocalService.getUserGroups(userId);
388 }
389
390 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
391 long userId, boolean inherit)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException {
394 return _groupLocalService.getUserGroups(userId, inherit);
395 }
396
397 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
398 long userId, int start, int end)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 return _groupLocalService.getUserGroups(userId, start, end);
402 }
403
404 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
405 long userId, boolean inherit, int start, int end)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 return _groupLocalService.getUserGroups(userId, inherit, start, end);
409 }
410
411 public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
412 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
413 throws com.liferay.portal.kernel.exception.PortalException,
414 com.liferay.portal.kernel.exception.SystemException {
415 return _groupLocalService.getUserGroupsGroups(userGroups);
416 }
417
418 public java.util.List<com.liferay.portal.model.Group> getUserGroupsRelatedGroups(
419 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
420 throws com.liferay.portal.kernel.exception.SystemException {
421 return _groupLocalService.getUserGroupsRelatedGroups(userGroups);
422 }
423
424 public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
425 long userId, int start, int end)
426 throws com.liferay.portal.kernel.exception.PortalException,
427 com.liferay.portal.kernel.exception.SystemException {
428 return _groupLocalService.getUserOrganizationsGroups(userId, start, end);
429 }
430
431 public boolean hasRoleGroup(long roleId, long groupId)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _groupLocalService.hasRoleGroup(roleId, groupId);
434 }
435
436 public boolean hasStagingGroup(long liveGroupId)
437 throws com.liferay.portal.kernel.exception.SystemException {
438 return _groupLocalService.hasStagingGroup(liveGroupId);
439 }
440
441 public boolean hasUserGroup(long userId, long groupId)
442 throws com.liferay.portal.kernel.exception.SystemException {
443 return _groupLocalService.hasUserGroup(userId, groupId);
444 }
445
446 public java.util.List<com.liferay.portal.model.Group> search(
447 long companyId, java.lang.String name, java.lang.String description,
448 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
449 int start, int end)
450 throws com.liferay.portal.kernel.exception.SystemException {
451 return _groupLocalService.search(companyId, name, description, params,
452 start, end);
453 }
454
455 public java.util.List<com.liferay.portal.model.Group> search(
456 long companyId, java.lang.String name, java.lang.String description,
457 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
458 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
459 throws com.liferay.portal.kernel.exception.SystemException {
460 return _groupLocalService.search(companyId, name, description, params,
461 start, end, obc);
462 }
463
464 public int searchCount(long companyId, java.lang.String name,
465 java.lang.String description,
466 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
467 throws com.liferay.portal.kernel.exception.SystemException {
468 return _groupLocalService.searchCount(companyId, name, description,
469 params);
470 }
471
472 public void setRoleGroups(long roleId, long[] groupIds)
473 throws com.liferay.portal.kernel.exception.SystemException {
474 _groupLocalService.setRoleGroups(roleId, groupIds);
475 }
476
477 public void unsetRoleGroups(long roleId, long[] groupIds)
478 throws com.liferay.portal.kernel.exception.SystemException {
479 _groupLocalService.unsetRoleGroups(roleId, groupIds);
480 }
481
482 public void unsetUserGroups(long userId, long[] groupIds)
483 throws com.liferay.portal.kernel.exception.SystemException {
484 _groupLocalService.unsetUserGroups(userId, groupIds);
485 }
486
487 public void updateAsset(long userId, com.liferay.portal.model.Group group,
488 long[] assetCategoryIds, java.lang.String[] assetTagNames)
489 throws com.liferay.portal.kernel.exception.PortalException,
490 com.liferay.portal.kernel.exception.SystemException {
491 _groupLocalService.updateAsset(userId, group, assetCategoryIds,
492 assetTagNames);
493 }
494
495 public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
496 java.lang.String friendlyURL)
497 throws com.liferay.portal.kernel.exception.PortalException,
498 com.liferay.portal.kernel.exception.SystemException {
499 return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
500 }
501
502 public com.liferay.portal.model.Group updateGroup(long groupId,
503 java.lang.String name, java.lang.String description, int type,
504 java.lang.String friendlyURL, boolean active,
505 com.liferay.portal.service.ServiceContext serviceContext)
506 throws com.liferay.portal.kernel.exception.PortalException,
507 com.liferay.portal.kernel.exception.SystemException {
508 return _groupLocalService.updateGroup(groupId, name, description, type,
509 friendlyURL, active, serviceContext);
510 }
511
512 public com.liferay.portal.model.Group updateGroup(long groupId,
513 java.lang.String typeSettings)
514 throws com.liferay.portal.kernel.exception.PortalException,
515 com.liferay.portal.kernel.exception.SystemException {
516 return _groupLocalService.updateGroup(groupId, typeSettings);
517 }
518
519 public com.liferay.portal.model.Group updateWorkflow(long groupId,
520 boolean workflowEnabled, int workflowStages,
521 java.lang.String workflowRoleNames)
522 throws com.liferay.portal.kernel.exception.PortalException,
523 com.liferay.portal.kernel.exception.SystemException {
524 return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
525 workflowStages, workflowRoleNames);
526 }
527
528 public GroupLocalService getWrappedGroupLocalService() {
529 return _groupLocalService;
530 }
531
532 private GroupLocalService _groupLocalService;
533 }