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
074 public void deleteGroup(com.liferay.portal.model.Group group)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 _groupLocalService.deleteGroup(group);
078 }
079
080
087 @SuppressWarnings("rawtypes")
088 public java.util.List dynamicQuery(
089 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return _groupLocalService.dynamicQuery(dynamicQuery);
092 }
093
094
107 @SuppressWarnings("rawtypes")
108 public java.util.List dynamicQuery(
109 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
110 int end) throws com.liferay.portal.kernel.exception.SystemException {
111 return _groupLocalService.dynamicQuery(dynamicQuery, start, end);
112 }
113
114
128 @SuppressWarnings("rawtypes")
129 public java.util.List dynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131 int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException {
134 return _groupLocalService.dynamicQuery(dynamicQuery, start, end,
135 orderByComparator);
136 }
137
138
145 public long dynamicQueryCount(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _groupLocalService.dynamicQueryCount(dynamicQuery);
149 }
150
151
159 public com.liferay.portal.model.Group getGroup(long groupId)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException {
162 return _groupLocalService.getGroup(groupId);
163 }
164
165 public com.liferay.portal.model.PersistedModel getPersistedModel(
166 java.io.Serializable primaryKeyObj)
167 throws com.liferay.portal.kernel.exception.PortalException,
168 com.liferay.portal.kernel.exception.SystemException {
169 return _groupLocalService.getPersistedModel(primaryKeyObj);
170 }
171
172
184 public java.util.List<com.liferay.portal.model.Group> getGroups(int start,
185 int end) throws com.liferay.portal.kernel.exception.SystemException {
186 return _groupLocalService.getGroups(start, end);
187 }
188
189
195 public int getGroupsCount()
196 throws com.liferay.portal.kernel.exception.SystemException {
197 return _groupLocalService.getGroupsCount();
198 }
199
200
207 public com.liferay.portal.model.Group updateGroup(
208 com.liferay.portal.model.Group group)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _groupLocalService.updateGroup(group);
211 }
212
213
221 public com.liferay.portal.model.Group updateGroup(
222 com.liferay.portal.model.Group group, boolean merge)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _groupLocalService.updateGroup(group, merge);
225 }
226
227
232 public java.lang.String getBeanIdentifier() {
233 return _groupLocalService.getBeanIdentifier();
234 }
235
236
241 public void setBeanIdentifier(java.lang.String beanIdentifier) {
242 _groupLocalService.setBeanIdentifier(beanIdentifier);
243 }
244
245 public com.liferay.portal.model.Group addGroup(long userId,
246 java.lang.String className, long classPK, long liveGroupId,
247 java.lang.String name, java.lang.String description, int type,
248 java.lang.String friendlyURL, boolean active,
249 com.liferay.portal.service.ServiceContext serviceContext)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException {
252 return _groupLocalService.addGroup(userId, className, classPK,
253 liveGroupId, name, description, type, friendlyURL, active,
254 serviceContext);
255 }
256
257 public com.liferay.portal.model.Group addGroup(long userId,
258 java.lang.String className, long classPK, java.lang.String name,
259 java.lang.String description, int type, java.lang.String friendlyURL,
260 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 return _groupLocalService.addGroup(userId, className, classPK, name,
264 description, type, friendlyURL, active, serviceContext);
265 }
266
267 public void addRoleGroups(long roleId, long[] groupIds)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 _groupLocalService.addRoleGroups(roleId, groupIds);
270 }
271
272 public void addUserGroups(long userId, long[] groupIds)
273 throws com.liferay.portal.kernel.exception.SystemException {
274 _groupLocalService.addUserGroups(userId, groupIds);
275 }
276
277 public void checkCompanyGroup(long companyId)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException {
280 _groupLocalService.checkCompanyGroup(companyId);
281 }
282
283 public void checkSystemGroups(long companyId)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 _groupLocalService.checkSystemGroups(companyId);
287 }
288
289 public com.liferay.portal.model.Group fetchFriendlyURLGroup(
290 long companyId, java.lang.String friendlyURL)
291 throws com.liferay.portal.kernel.exception.SystemException {
292 return _groupLocalService.fetchFriendlyURLGroup(companyId, friendlyURL);
293 }
294
295 public com.liferay.portal.model.Group fetchGroup(long groupId)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 return _groupLocalService.fetchGroup(groupId);
298 }
299
300 public com.liferay.portal.model.Group fetchGroup(long companyId,
301 java.lang.String name)
302 throws com.liferay.portal.kernel.exception.SystemException {
303 return _groupLocalService.fetchGroup(companyId, name);
304 }
305
306 public com.liferay.portal.model.Group getCompanyGroup(long companyId)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 return _groupLocalService.getCompanyGroup(companyId);
310 }
311
312 public java.util.List<com.liferay.portal.model.Group> getCompanyGroups(
313 long companyId, int start, int end)
314 throws com.liferay.portal.kernel.exception.SystemException {
315 return _groupLocalService.getCompanyGroups(companyId, start, end);
316 }
317
318 public int getCompanyGroupsCount(long companyId)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return _groupLocalService.getCompanyGroupsCount(companyId);
321 }
322
323 public com.liferay.portal.model.Group getFriendlyURLGroup(long companyId,
324 java.lang.String friendlyURL)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 return _groupLocalService.getFriendlyURLGroup(companyId, friendlyURL);
328 }
329
330 public com.liferay.portal.model.Group getGroup(long companyId,
331 java.lang.String name)
332 throws com.liferay.portal.kernel.exception.PortalException,
333 com.liferay.portal.kernel.exception.SystemException {
334 return _groupLocalService.getGroup(companyId, name);
335 }
336
337 public java.util.List<com.liferay.portal.model.Group> getGroups(
338 long[] groupIds)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException {
341 return _groupLocalService.getGroups(groupIds);
342 }
343
344 public com.liferay.portal.model.Group getLayoutGroup(long companyId,
345 long plid)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 return _groupLocalService.getLayoutGroup(companyId, plid);
349 }
350
351 public com.liferay.portal.model.Group getLayoutPrototypeGroup(
352 long companyId, long layoutPrototypeId)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 return _groupLocalService.getLayoutPrototypeGroup(companyId,
356 layoutPrototypeId);
357 }
358
359 public com.liferay.portal.model.Group getLayoutSetPrototypeGroup(
360 long companyId, long layoutSetPrototypeId)
361 throws com.liferay.portal.kernel.exception.PortalException,
362 com.liferay.portal.kernel.exception.SystemException {
363 return _groupLocalService.getLayoutSetPrototypeGroup(companyId,
364 layoutSetPrototypeId);
365 }
366
367 public java.util.List<com.liferay.portal.model.Group> getLiveGroups()
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _groupLocalService.getLiveGroups();
370 }
371
372 public java.util.List<com.liferay.portal.model.Group> getNoLayoutsGroups(
373 java.lang.String className, boolean privateLayout, int start, int end)
374 throws com.liferay.portal.kernel.exception.SystemException {
375 return _groupLocalService.getNoLayoutsGroups(className, privateLayout,
376 start, end);
377 }
378
379 public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
380 throws com.liferay.portal.kernel.exception.SystemException {
381 return _groupLocalService.getNullFriendlyURLGroups();
382 }
383
384 public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
385 long organizationId)
386 throws com.liferay.portal.kernel.exception.PortalException,
387 com.liferay.portal.kernel.exception.SystemException {
388 return _groupLocalService.getOrganizationGroup(companyId, organizationId);
389 }
390
391 public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
392 java.util.List<com.liferay.portal.model.Organization> organizations) {
393 return _groupLocalService.getOrganizationsGroups(organizations);
394 }
395
396 public java.util.List<com.liferay.portal.model.Group> getOrganizationsRelatedGroups(
397 java.util.List<com.liferay.portal.model.Organization> organizations)
398 throws com.liferay.portal.kernel.exception.SystemException {
399 return _groupLocalService.getOrganizationsRelatedGroups(organizations);
400 }
401
402 public java.util.List<com.liferay.portal.model.Group> getRoleGroups(
403 long roleId) throws com.liferay.portal.kernel.exception.SystemException {
404 return _groupLocalService.getRoleGroups(roleId);
405 }
406
407 public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
408 throws com.liferay.portal.kernel.exception.PortalException,
409 com.liferay.portal.kernel.exception.SystemException {
410 return _groupLocalService.getStagingGroup(liveGroupId);
411 }
412
413 public com.liferay.portal.model.Group getUserGroup(long companyId,
414 long userId)
415 throws com.liferay.portal.kernel.exception.PortalException,
416 com.liferay.portal.kernel.exception.SystemException {
417 return _groupLocalService.getUserGroup(companyId, userId);
418 }
419
420 public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
421 long userGroupId)
422 throws com.liferay.portal.kernel.exception.PortalException,
423 com.liferay.portal.kernel.exception.SystemException {
424 return _groupLocalService.getUserGroupGroup(companyId, userGroupId);
425 }
426
427 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
428 long userId)
429 throws com.liferay.portal.kernel.exception.PortalException,
430 com.liferay.portal.kernel.exception.SystemException {
431 return _groupLocalService.getUserGroups(userId);
432 }
433
434 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
435 long userId, boolean inherit)
436 throws com.liferay.portal.kernel.exception.PortalException,
437 com.liferay.portal.kernel.exception.SystemException {
438 return _groupLocalService.getUserGroups(userId, inherit);
439 }
440
441 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
442 long userId, boolean inherit, int start, int end)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _groupLocalService.getUserGroups(userId, inherit, start, end);
446 }
447
448 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
449 long userId, int start, int end)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException {
452 return _groupLocalService.getUserGroups(userId, start, end);
453 }
454
455 public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
456 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 return _groupLocalService.getUserGroupsGroups(userGroups);
460 }
461
462 public java.util.List<com.liferay.portal.model.Group> getUserGroupsRelatedGroups(
463 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
464 throws com.liferay.portal.kernel.exception.SystemException {
465 return _groupLocalService.getUserGroupsRelatedGroups(userGroups);
466 }
467
468 public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
469 long userId, int start, int end)
470 throws com.liferay.portal.kernel.exception.PortalException,
471 com.liferay.portal.kernel.exception.SystemException {
472 return _groupLocalService.getUserOrganizationsGroups(userId, start, end);
473 }
474
475 public boolean hasRoleGroup(long roleId, long groupId)
476 throws com.liferay.portal.kernel.exception.SystemException {
477 return _groupLocalService.hasRoleGroup(roleId, groupId);
478 }
479
480 public boolean hasStagingGroup(long liveGroupId)
481 throws com.liferay.portal.kernel.exception.SystemException {
482 return _groupLocalService.hasStagingGroup(liveGroupId);
483 }
484
485 public boolean hasUserGroup(long userId, long groupId)
486 throws com.liferay.portal.kernel.exception.SystemException {
487 return _groupLocalService.hasUserGroup(userId, groupId);
488 }
489
490 public boolean hasUserGroup(long userId, long groupId, boolean inherit)
491 throws com.liferay.portal.kernel.exception.SystemException {
492 return _groupLocalService.hasUserGroup(userId, groupId, inherit);
493 }
494
495 public java.util.List<com.liferay.portal.model.Group> search(
496 long companyId, long[] classNameIds, java.lang.String name,
497 java.lang.String description,
498 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
499 int start, int end)
500 throws com.liferay.portal.kernel.exception.SystemException {
501 return _groupLocalService.search(companyId, classNameIds, name,
502 description, params, start, end);
503 }
504
505 public java.util.List<com.liferay.portal.model.Group> search(
506 long companyId, long[] classNameIds, java.lang.String name,
507 java.lang.String description,
508 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
509 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
510 throws com.liferay.portal.kernel.exception.SystemException {
511 return _groupLocalService.search(companyId, classNameIds, name,
512 description, params, start, end, obc);
513 }
514
515 public java.util.List<com.liferay.portal.model.Group> search(
516 long companyId, java.lang.String name, java.lang.String description,
517 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
518 int start, int end)
519 throws com.liferay.portal.kernel.exception.SystemException {
520 return _groupLocalService.search(companyId, name, description, params,
521 start, end);
522 }
523
524 public java.util.List<com.liferay.portal.model.Group> search(
525 long companyId, java.lang.String name, java.lang.String description,
526 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
527 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
528 throws com.liferay.portal.kernel.exception.SystemException {
529 return _groupLocalService.search(companyId, name, description, params,
530 start, end, obc);
531 }
532
533 public int searchCount(long companyId, java.lang.String name,
534 java.lang.String description,
535 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
536 throws com.liferay.portal.kernel.exception.SystemException {
537 return _groupLocalService.searchCount(companyId, name, description,
538 params);
539 }
540
541 public int searchCount(long companyId, long[] classNameIds,
542 java.lang.String name, java.lang.String description,
543 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
544 throws com.liferay.portal.kernel.exception.SystemException {
545 return _groupLocalService.searchCount(companyId, classNameIds, name,
546 description, params);
547 }
548
549 public void setRoleGroups(long roleId, long[] groupIds)
550 throws com.liferay.portal.kernel.exception.SystemException {
551 _groupLocalService.setRoleGroups(roleId, groupIds);
552 }
553
554 public void unsetRoleGroups(long roleId, long[] groupIds)
555 throws com.liferay.portal.kernel.exception.SystemException {
556 _groupLocalService.unsetRoleGroups(roleId, groupIds);
557 }
558
559 public void unsetUserGroups(long userId, long[] groupIds)
560 throws com.liferay.portal.kernel.exception.SystemException {
561 _groupLocalService.unsetUserGroups(userId, groupIds);
562 }
563
564 public void updateAsset(long userId, com.liferay.portal.model.Group group,
565 long[] assetCategoryIds, java.lang.String[] assetTagNames)
566 throws com.liferay.portal.kernel.exception.PortalException,
567 com.liferay.portal.kernel.exception.SystemException {
568 _groupLocalService.updateAsset(userId, group, assetCategoryIds,
569 assetTagNames);
570 }
571
572 public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
573 java.lang.String friendlyURL)
574 throws com.liferay.portal.kernel.exception.PortalException,
575 com.liferay.portal.kernel.exception.SystemException {
576 return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
577 }
578
579 public com.liferay.portal.model.Group updateGroup(long groupId,
580 java.lang.String typeSettings)
581 throws com.liferay.portal.kernel.exception.PortalException,
582 com.liferay.portal.kernel.exception.SystemException {
583 return _groupLocalService.updateGroup(groupId, typeSettings);
584 }
585
586 public com.liferay.portal.model.Group updateGroup(long groupId,
587 java.lang.String name, java.lang.String description, int type,
588 java.lang.String friendlyURL, boolean active,
589 com.liferay.portal.service.ServiceContext serviceContext)
590 throws com.liferay.portal.kernel.exception.PortalException,
591 com.liferay.portal.kernel.exception.SystemException {
592 return _groupLocalService.updateGroup(groupId, name, description, type,
593 friendlyURL, active, serviceContext);
594 }
595
596 public com.liferay.portal.model.Group updateWorkflow(long groupId,
597 boolean workflowEnabled, int workflowStages,
598 java.lang.String workflowRoleNames)
599 throws com.liferay.portal.kernel.exception.PortalException,
600 com.liferay.portal.kernel.exception.SystemException {
601 return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
602 workflowStages, workflowRoleNames);
603 }
604
605 public GroupLocalService getWrappedGroupLocalService() {
606 return _groupLocalService;
607 }
608
609 public void setWrappedGroupLocalService(GroupLocalService groupLocalService) {
610 _groupLocalService = groupLocalService;
611 }
612
613 private GroupLocalService _groupLocalService;
614 }