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, long[] classNameIds, java.lang.String name,
448 java.lang.String description,
449 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
450 int start, int end)
451 throws com.liferay.portal.kernel.exception.SystemException {
452 return _groupLocalService.search(companyId, classNameIds, name,
453 description, params, start, end);
454 }
455
456 public java.util.List<com.liferay.portal.model.Group> search(
457 long companyId, long[] classNameIds, java.lang.String name,
458 java.lang.String description,
459 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
460 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
461 throws com.liferay.portal.kernel.exception.SystemException {
462 return _groupLocalService.search(companyId, classNameIds, name,
463 description, params, start, end, obc);
464 }
465
466 public java.util.List<com.liferay.portal.model.Group> search(
467 long companyId, java.lang.String name, java.lang.String description,
468 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
469 int start, int end)
470 throws com.liferay.portal.kernel.exception.SystemException {
471 return _groupLocalService.search(companyId, name, description, params,
472 start, end);
473 }
474
475 public java.util.List<com.liferay.portal.model.Group> search(
476 long companyId, java.lang.String name, java.lang.String description,
477 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
478 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
479 throws com.liferay.portal.kernel.exception.SystemException {
480 return _groupLocalService.search(companyId, name, description, params,
481 start, end, obc);
482 }
483
484 public int searchCount(long companyId, java.lang.String name,
485 java.lang.String description,
486 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
487 throws com.liferay.portal.kernel.exception.SystemException {
488 return _groupLocalService.searchCount(companyId, name, description,
489 params);
490 }
491
492 public int searchCount(long companyId, long[] classNameIds,
493 java.lang.String name, java.lang.String description,
494 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
495 throws com.liferay.portal.kernel.exception.SystemException {
496 return _groupLocalService.searchCount(companyId, classNameIds, name,
497 description, params);
498 }
499
500 public void setRoleGroups(long roleId, long[] groupIds)
501 throws com.liferay.portal.kernel.exception.SystemException {
502 _groupLocalService.setRoleGroups(roleId, groupIds);
503 }
504
505 public void unsetRoleGroups(long roleId, long[] groupIds)
506 throws com.liferay.portal.kernel.exception.SystemException {
507 _groupLocalService.unsetRoleGroups(roleId, groupIds);
508 }
509
510 public void unsetUserGroups(long userId, long[] groupIds)
511 throws com.liferay.portal.kernel.exception.SystemException {
512 _groupLocalService.unsetUserGroups(userId, groupIds);
513 }
514
515 public void updateAsset(long userId, com.liferay.portal.model.Group group,
516 long[] assetCategoryIds, java.lang.String[] assetTagNames)
517 throws com.liferay.portal.kernel.exception.PortalException,
518 com.liferay.portal.kernel.exception.SystemException {
519 _groupLocalService.updateAsset(userId, group, assetCategoryIds,
520 assetTagNames);
521 }
522
523 public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
524 java.lang.String friendlyURL)
525 throws com.liferay.portal.kernel.exception.PortalException,
526 com.liferay.portal.kernel.exception.SystemException {
527 return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
528 }
529
530 public com.liferay.portal.model.Group updateGroup(long groupId,
531 java.lang.String name, java.lang.String description, int type,
532 java.lang.String friendlyURL, boolean active,
533 com.liferay.portal.service.ServiceContext serviceContext)
534 throws com.liferay.portal.kernel.exception.PortalException,
535 com.liferay.portal.kernel.exception.SystemException {
536 return _groupLocalService.updateGroup(groupId, name, description, type,
537 friendlyURL, active, serviceContext);
538 }
539
540 public com.liferay.portal.model.Group updateGroup(long groupId,
541 java.lang.String typeSettings)
542 throws com.liferay.portal.kernel.exception.PortalException,
543 com.liferay.portal.kernel.exception.SystemException {
544 return _groupLocalService.updateGroup(groupId, typeSettings);
545 }
546
547 public com.liferay.portal.model.Group updateWorkflow(long groupId,
548 boolean workflowEnabled, int workflowStages,
549 java.lang.String workflowRoleNames)
550 throws com.liferay.portal.kernel.exception.PortalException,
551 com.liferay.portal.kernel.exception.SystemException {
552 return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
553 workflowStages, workflowRoleNames);
554 }
555
556 public GroupLocalService getWrappedGroupLocalService() {
557 return _groupLocalService;
558 }
559
560 private GroupLocalService _groupLocalService;
561 }