1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="GroupLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link GroupLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       GroupLocalService
32   * @generated
33   */
34  public class GroupLocalServiceWrapper implements GroupLocalService {
35      public GroupLocalServiceWrapper(GroupLocalService groupLocalService) {
36          _groupLocalService = groupLocalService;
37      }
38  
39      public com.liferay.portal.model.Group addGroup(
40          com.liferay.portal.model.Group group)
41          throws com.liferay.portal.SystemException {
42          return _groupLocalService.addGroup(group);
43      }
44  
45      public com.liferay.portal.model.Group createGroup(long groupId) {
46          return _groupLocalService.createGroup(groupId);
47      }
48  
49      public void deleteGroup(long groupId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _groupLocalService.deleteGroup(groupId);
53      }
54  
55      public void deleteGroup(com.liferay.portal.model.Group group)
56          throws com.liferay.portal.SystemException {
57          _groupLocalService.deleteGroup(group);
58      }
59  
60      public java.util.List<Object> dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.SystemException {
63          return _groupLocalService.dynamicQuery(dynamicQuery);
64      }
65  
66      public java.util.List<Object> dynamicQuery(
67          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68          int end) throws com.liferay.portal.SystemException {
69          return _groupLocalService.dynamicQuery(dynamicQuery, start, end);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end,
75          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76          throws com.liferay.portal.SystemException {
77          return _groupLocalService.dynamicQuery(dynamicQuery, start, end,
78              orderByComparator);
79      }
80  
81      public int dynamicQueryCount(
82          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83          throws com.liferay.portal.SystemException {
84          return _groupLocalService.dynamicQueryCount(dynamicQuery);
85      }
86  
87      public com.liferay.portal.model.Group getGroup(long groupId)
88          throws com.liferay.portal.PortalException,
89              com.liferay.portal.SystemException {
90          return _groupLocalService.getGroup(groupId);
91      }
92  
93      public java.util.List<com.liferay.portal.model.Group> getGroups(int start,
94          int end) throws com.liferay.portal.SystemException {
95          return _groupLocalService.getGroups(start, end);
96      }
97  
98      public int getGroupsCount() throws com.liferay.portal.SystemException {
99          return _groupLocalService.getGroupsCount();
100     }
101 
102     public com.liferay.portal.model.Group updateGroup(
103         com.liferay.portal.model.Group group)
104         throws com.liferay.portal.SystemException {
105         return _groupLocalService.updateGroup(group);
106     }
107 
108     public com.liferay.portal.model.Group updateGroup(
109         com.liferay.portal.model.Group group, boolean merge)
110         throws com.liferay.portal.SystemException {
111         return _groupLocalService.updateGroup(group, merge);
112     }
113 
114     public com.liferay.portal.model.Group addGroup(long userId,
115         java.lang.String className, long classPK, java.lang.String name,
116         java.lang.String description, int type, java.lang.String friendlyURL,
117         boolean active, com.liferay.portal.service.ServiceContext serviceContext)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException {
120         return _groupLocalService.addGroup(userId, className, classPK, name,
121             description, type, friendlyURL, active, serviceContext);
122     }
123 
124     public com.liferay.portal.model.Group addGroup(long userId,
125         java.lang.String className, long classPK, long liveGroupId,
126         java.lang.String name, java.lang.String description, int type,
127         java.lang.String friendlyURL, boolean active,
128         com.liferay.portal.service.ServiceContext serviceContext)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         return _groupLocalService.addGroup(userId, className, classPK,
132             liveGroupId, name, description, type, friendlyURL, active,
133             serviceContext);
134     }
135 
136     public void addRoleGroups(long roleId, long[] groupIds)
137         throws com.liferay.portal.SystemException {
138         _groupLocalService.addRoleGroups(roleId, groupIds);
139     }
140 
141     public void addUserGroups(long userId, long[] groupIds)
142         throws com.liferay.portal.SystemException {
143         _groupLocalService.addUserGroups(userId, groupIds);
144     }
145 
146     public void checkSystemGroups(long companyId)
147         throws com.liferay.portal.PortalException,
148             com.liferay.portal.SystemException {
149         _groupLocalService.checkSystemGroups(companyId);
150     }
151 
152     public java.util.List<com.liferay.portal.model.Group> getCompanyGroups(
153         long companyId, int start, int end)
154         throws com.liferay.portal.SystemException {
155         return _groupLocalService.getCompanyGroups(companyId, start, end);
156     }
157 
158     public int getCompanyGroupsCount(long companyId)
159         throws com.liferay.portal.SystemException {
160         return _groupLocalService.getCompanyGroupsCount(companyId);
161     }
162 
163     public com.liferay.portal.model.Group getFriendlyURLGroup(long companyId,
164         java.lang.String friendlyURL)
165         throws com.liferay.portal.PortalException,
166             com.liferay.portal.SystemException {
167         return _groupLocalService.getFriendlyURLGroup(companyId, friendlyURL);
168     }
169 
170     public com.liferay.portal.model.Group getGroup(long companyId,
171         java.lang.String name)
172         throws com.liferay.portal.PortalException,
173             com.liferay.portal.SystemException {
174         return _groupLocalService.getGroup(companyId, name);
175     }
176 
177     public java.util.List<com.liferay.portal.model.Group> getGroups(
178         long[] groupIds)
179         throws com.liferay.portal.PortalException,
180             com.liferay.portal.SystemException {
181         return _groupLocalService.getGroups(groupIds);
182     }
183 
184     public com.liferay.portal.model.Group getLayoutGroup(long companyId,
185         long plid)
186         throws com.liferay.portal.PortalException,
187             com.liferay.portal.SystemException {
188         return _groupLocalService.getLayoutGroup(companyId, plid);
189     }
190 
191     public java.util.List<com.liferay.portal.model.Group> getNoLayoutsGroups(
192         java.lang.String className, boolean privateLayout, int start, int end)
193         throws com.liferay.portal.SystemException {
194         return _groupLocalService.getNoLayoutsGroups(className, privateLayout,
195             start, end);
196     }
197 
198     public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
199         throws com.liferay.portal.SystemException {
200         return _groupLocalService.getNullFriendlyURLGroups();
201     }
202 
203     public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
204         long organizationId)
205         throws com.liferay.portal.PortalException,
206             com.liferay.portal.SystemException {
207         return _groupLocalService.getOrganizationGroup(companyId, organizationId);
208     }
209 
210     public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
211         java.util.List<com.liferay.portal.model.Organization> organizations) {
212         return _groupLocalService.getOrganizationsGroups(organizations);
213     }
214 
215     public java.util.List<com.liferay.portal.model.Group> getRoleGroups(
216         long roleId) throws com.liferay.portal.SystemException {
217         return _groupLocalService.getRoleGroups(roleId);
218     }
219 
220     public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
221         throws com.liferay.portal.PortalException,
222             com.liferay.portal.SystemException {
223         return _groupLocalService.getStagingGroup(liveGroupId);
224     }
225 
226     public com.liferay.portal.model.Group getUserGroup(long companyId,
227         long userId)
228         throws com.liferay.portal.PortalException,
229             com.liferay.portal.SystemException {
230         return _groupLocalService.getUserGroup(companyId, userId);
231     }
232 
233     public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
234         long userGroupId)
235         throws com.liferay.portal.PortalException,
236             com.liferay.portal.SystemException {
237         return _groupLocalService.getUserGroupGroup(companyId, userGroupId);
238     }
239 
240     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
241         long userId)
242         throws com.liferay.portal.PortalException,
243             com.liferay.portal.SystemException {
244         return _groupLocalService.getUserGroups(userId);
245     }
246 
247     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
248         long userId, boolean inherit)
249         throws com.liferay.portal.PortalException,
250             com.liferay.portal.SystemException {
251         return _groupLocalService.getUserGroups(userId, inherit);
252     }
253 
254     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
255         long userId, int start, int end)
256         throws com.liferay.portal.PortalException,
257             com.liferay.portal.SystemException {
258         return _groupLocalService.getUserGroups(userId, start, end);
259     }
260 
261     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
262         long userId, boolean inherit, int start, int end)
263         throws com.liferay.portal.PortalException,
264             com.liferay.portal.SystemException {
265         return _groupLocalService.getUserGroups(userId, inherit, start, end);
266     }
267 
268     public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
269         java.util.List<com.liferay.portal.model.UserGroup> userGroups) {
270         return _groupLocalService.getUserGroupsGroups(userGroups);
271     }
272 
273     public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
274         long userId, int start, int end)
275         throws com.liferay.portal.PortalException,
276             com.liferay.portal.SystemException {
277         return _groupLocalService.getUserOrganizationsGroups(userId, start, end);
278     }
279 
280     public boolean hasRoleGroup(long roleId, long groupId)
281         throws com.liferay.portal.SystemException {
282         return _groupLocalService.hasRoleGroup(roleId, groupId);
283     }
284 
285     public boolean hasStagingGroup(long liveGroupId)
286         throws com.liferay.portal.SystemException {
287         return _groupLocalService.hasStagingGroup(liveGroupId);
288     }
289 
290     public boolean hasUserGroup(long userId, long groupId)
291         throws com.liferay.portal.SystemException {
292         return _groupLocalService.hasUserGroup(userId, groupId);
293     }
294 
295     public java.util.List<com.liferay.portal.model.Group> search(
296         long companyId, java.lang.String name, java.lang.String description,
297         java.util.LinkedHashMap<String, Object> params, int start, int end)
298         throws com.liferay.portal.SystemException {
299         return _groupLocalService.search(companyId, name, description, params,
300             start, end);
301     }
302 
303     public java.util.List<com.liferay.portal.model.Group> search(
304         long companyId, java.lang.String name, java.lang.String description,
305         java.util.LinkedHashMap<String, Object> params, int start, int end,
306         com.liferay.portal.kernel.util.OrderByComparator obc)
307         throws com.liferay.portal.SystemException {
308         return _groupLocalService.search(companyId, name, description, params,
309             start, end, obc);
310     }
311 
312     public int searchCount(long companyId, java.lang.String name,
313         java.lang.String description,
314         java.util.LinkedHashMap<String, Object> params)
315         throws com.liferay.portal.SystemException {
316         return _groupLocalService.searchCount(companyId, name, description,
317             params);
318     }
319 
320     public void setRoleGroups(long roleId, long[] groupIds)
321         throws com.liferay.portal.SystemException {
322         _groupLocalService.setRoleGroups(roleId, groupIds);
323     }
324 
325     public void unsetRoleGroups(long roleId, long[] groupIds)
326         throws com.liferay.portal.SystemException {
327         _groupLocalService.unsetRoleGroups(roleId, groupIds);
328     }
329 
330     public void unsetUserGroups(long userId, long[] groupIds)
331         throws com.liferay.portal.SystemException {
332         _groupLocalService.unsetUserGroups(userId, groupIds);
333     }
334 
335     public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
336         java.lang.String friendlyURL)
337         throws com.liferay.portal.PortalException,
338             com.liferay.portal.SystemException {
339         return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
340     }
341 
342     public com.liferay.portal.model.Group updateGroup(long groupId,
343         java.lang.String name, java.lang.String description, int type,
344         java.lang.String friendlyURL, boolean active,
345         com.liferay.portal.service.ServiceContext serviceContext)
346         throws com.liferay.portal.PortalException,
347             com.liferay.portal.SystemException {
348         return _groupLocalService.updateGroup(groupId, name, description, type,
349             friendlyURL, active, serviceContext);
350     }
351 
352     public com.liferay.portal.model.Group updateGroup(long groupId,
353         java.lang.String typeSettings)
354         throws com.liferay.portal.PortalException,
355             com.liferay.portal.SystemException {
356         return _groupLocalService.updateGroup(groupId, typeSettings);
357     }
358 
359     public void updateTagsAsset(long userId,
360         com.liferay.portal.model.Group group,
361         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
362         throws com.liferay.portal.PortalException,
363             com.liferay.portal.SystemException {
364         _groupLocalService.updateTagsAsset(userId, group, tagsCategories,
365             tagsEntries);
366     }
367 
368     public com.liferay.portal.model.Group updateWorkflow(long groupId,
369         boolean workflowEnabled, int workflowStages,
370         java.lang.String workflowRoleNames)
371         throws com.liferay.portal.PortalException,
372             com.liferay.portal.SystemException {
373         return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
374             workflowStages, workflowRoleNames);
375     }
376 
377     public GroupLocalService getWrappedGroupLocalService() {
378         return _groupLocalService;
379     }
380 
381     private GroupLocalService _groupLocalService;
382 }