1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.service;
24  
25  
26  /**
27   * <a href="GroupLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link GroupLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       GroupLocalService
40   * @generated
41   */
42  public class GroupLocalServiceWrapper implements GroupLocalService {
43      public GroupLocalServiceWrapper(GroupLocalService groupLocalService) {
44          _groupLocalService = groupLocalService;
45      }
46  
47      public com.liferay.portal.model.Group addGroup(
48          com.liferay.portal.model.Group group)
49          throws com.liferay.portal.SystemException {
50          return _groupLocalService.addGroup(group);
51      }
52  
53      public com.liferay.portal.model.Group createGroup(long groupId) {
54          return _groupLocalService.createGroup(groupId);
55      }
56  
57      public void deleteGroup(long groupId)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.SystemException {
60          _groupLocalService.deleteGroup(groupId);
61      }
62  
63      public void deleteGroup(com.liferay.portal.model.Group group)
64          throws com.liferay.portal.SystemException {
65          _groupLocalService.deleteGroup(group);
66      }
67  
68      public java.util.List<Object> dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
70          throws com.liferay.portal.SystemException {
71          return _groupLocalService.dynamicQuery(dynamicQuery);
72      }
73  
74      public java.util.List<Object> dynamicQuery(
75          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76          int end) throws com.liferay.portal.SystemException {
77          return _groupLocalService.dynamicQuery(dynamicQuery, start, end);
78      }
79  
80      public com.liferay.portal.model.Group getGroup(long groupId)
81          throws com.liferay.portal.PortalException,
82              com.liferay.portal.SystemException {
83          return _groupLocalService.getGroup(groupId);
84      }
85  
86      public java.util.List<com.liferay.portal.model.Group> getGroups(int start,
87          int end) throws com.liferay.portal.SystemException {
88          return _groupLocalService.getGroups(start, end);
89      }
90  
91      public int getGroupsCount() throws com.liferay.portal.SystemException {
92          return _groupLocalService.getGroupsCount();
93      }
94  
95      public com.liferay.portal.model.Group updateGroup(
96          com.liferay.portal.model.Group group)
97          throws com.liferay.portal.SystemException {
98          return _groupLocalService.updateGroup(group);
99      }
100 
101     public com.liferay.portal.model.Group updateGroup(
102         com.liferay.portal.model.Group group, boolean merge)
103         throws com.liferay.portal.SystemException {
104         return _groupLocalService.updateGroup(group, merge);
105     }
106 
107     public com.liferay.portal.model.Group addGroup(long userId,
108         java.lang.String className, long classPK, java.lang.String name,
109         java.lang.String description, int type, java.lang.String friendlyURL,
110         boolean active, com.liferay.portal.service.ServiceContext serviceContext)
111         throws com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException {
113         return _groupLocalService.addGroup(userId, className, classPK, name,
114             description, type, friendlyURL, active, serviceContext);
115     }
116 
117     public com.liferay.portal.model.Group addGroup(long userId,
118         java.lang.String className, long classPK, long liveGroupId,
119         java.lang.String name, java.lang.String description, int type,
120         java.lang.String friendlyURL, boolean active,
121         com.liferay.portal.service.ServiceContext serviceContext)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _groupLocalService.addGroup(userId, className, classPK,
125             liveGroupId, name, description, type, friendlyURL, active,
126             serviceContext);
127     }
128 
129     public void addRoleGroups(long roleId, long[] groupIds)
130         throws com.liferay.portal.SystemException {
131         _groupLocalService.addRoleGroups(roleId, groupIds);
132     }
133 
134     public void addUserGroups(long userId, long[] groupIds)
135         throws com.liferay.portal.PortalException,
136             com.liferay.portal.SystemException {
137         _groupLocalService.addUserGroups(userId, groupIds);
138     }
139 
140     public void checkSystemGroups(long companyId)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         _groupLocalService.checkSystemGroups(companyId);
144     }
145 
146     public com.liferay.portal.model.Group getFriendlyURLGroup(long companyId,
147         java.lang.String friendlyURL)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException {
150         return _groupLocalService.getFriendlyURLGroup(companyId, friendlyURL);
151     }
152 
153     public com.liferay.portal.model.Group getGroup(long companyId,
154         java.lang.String name)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         return _groupLocalService.getGroup(companyId, name);
158     }
159 
160     public java.util.List<com.liferay.portal.model.Group> getGroups(
161         long[] groupIds)
162         throws com.liferay.portal.PortalException,
163             com.liferay.portal.SystemException {
164         return _groupLocalService.getGroups(groupIds);
165     }
166 
167     public com.liferay.portal.model.Group getLayoutGroup(long companyId,
168         long plid)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         return _groupLocalService.getLayoutGroup(companyId, plid);
172     }
173 
174     public java.util.List<com.liferay.portal.model.Group> getNoLayoutsGroups(
175         java.lang.String className, boolean privateLayout, int start, int end)
176         throws com.liferay.portal.SystemException {
177         return _groupLocalService.getNoLayoutsGroups(className, privateLayout,
178             start, end);
179     }
180 
181     public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
182         throws com.liferay.portal.SystemException {
183         return _groupLocalService.getNullFriendlyURLGroups();
184     }
185 
186     public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
187         long organizationId)
188         throws com.liferay.portal.PortalException,
189             com.liferay.portal.SystemException {
190         return _groupLocalService.getOrganizationGroup(companyId, organizationId);
191     }
192 
193     public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
194         java.util.List<com.liferay.portal.model.Organization> organizations) {
195         return _groupLocalService.getOrganizationsGroups(organizations);
196     }
197 
198     public java.util.List<com.liferay.portal.model.Group> getRoleGroups(
199         long roleId) throws com.liferay.portal.SystemException {
200         return _groupLocalService.getRoleGroups(roleId);
201     }
202 
203     public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
204         throws com.liferay.portal.PortalException,
205             com.liferay.portal.SystemException {
206         return _groupLocalService.getStagingGroup(liveGroupId);
207     }
208 
209     public com.liferay.portal.model.Group getUserGroup(long companyId,
210         long userId)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException {
213         return _groupLocalService.getUserGroup(companyId, userId);
214     }
215 
216     public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
217         long userGroupId)
218         throws com.liferay.portal.PortalException,
219             com.liferay.portal.SystemException {
220         return _groupLocalService.getUserGroupGroup(companyId, userGroupId);
221     }
222 
223     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
224         long userId)
225         throws com.liferay.portal.PortalException,
226             com.liferay.portal.SystemException {
227         return _groupLocalService.getUserGroups(userId);
228     }
229 
230     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
231         long userId, boolean inherit)
232         throws com.liferay.portal.PortalException,
233             com.liferay.portal.SystemException {
234         return _groupLocalService.getUserGroups(userId, inherit);
235     }
236 
237     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
238         long userId, int start, int end)
239         throws com.liferay.portal.PortalException,
240             com.liferay.portal.SystemException {
241         return _groupLocalService.getUserGroups(userId, start, end);
242     }
243 
244     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
245         long userId, boolean inherit, int start, int end)
246         throws com.liferay.portal.PortalException,
247             com.liferay.portal.SystemException {
248         return _groupLocalService.getUserGroups(userId, inherit, start, end);
249     }
250 
251     public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
252         java.util.List<com.liferay.portal.model.UserGroup> userGroups) {
253         return _groupLocalService.getUserGroupsGroups(userGroups);
254     }
255 
256     public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
257         long userId, int start, int end)
258         throws com.liferay.portal.PortalException,
259             com.liferay.portal.SystemException {
260         return _groupLocalService.getUserOrganizationsGroups(userId, start, end);
261     }
262 
263     public boolean hasRoleGroup(long roleId, long groupId)
264         throws com.liferay.portal.SystemException {
265         return _groupLocalService.hasRoleGroup(roleId, groupId);
266     }
267 
268     public boolean hasStagingGroup(long liveGroupId)
269         throws com.liferay.portal.SystemException {
270         return _groupLocalService.hasStagingGroup(liveGroupId);
271     }
272 
273     public boolean hasUserGroup(long userId, long groupId)
274         throws com.liferay.portal.SystemException {
275         return _groupLocalService.hasUserGroup(userId, groupId);
276     }
277 
278     public java.util.List<com.liferay.portal.model.Group> search(
279         long companyId, java.lang.String name, java.lang.String description,
280         java.util.LinkedHashMap<String, Object> params, int start, int end)
281         throws com.liferay.portal.SystemException {
282         return _groupLocalService.search(companyId, name, description, params,
283             start, end);
284     }
285 
286     public java.util.List<com.liferay.portal.model.Group> search(
287         long companyId, java.lang.String name, java.lang.String description,
288         java.util.LinkedHashMap<String, Object> params, int start, int end,
289         com.liferay.portal.kernel.util.OrderByComparator obc)
290         throws com.liferay.portal.SystemException {
291         return _groupLocalService.search(companyId, name, description, params,
292             start, end, obc);
293     }
294 
295     public int searchCount(long companyId, java.lang.String name,
296         java.lang.String description,
297         java.util.LinkedHashMap<String, Object> params)
298         throws com.liferay.portal.SystemException {
299         return _groupLocalService.searchCount(companyId, name, description,
300             params);
301     }
302 
303     public void setRoleGroups(long roleId, long[] groupIds)
304         throws com.liferay.portal.SystemException {
305         _groupLocalService.setRoleGroups(roleId, groupIds);
306     }
307 
308     public void unsetRoleGroups(long roleId, long[] groupIds)
309         throws com.liferay.portal.SystemException {
310         _groupLocalService.unsetRoleGroups(roleId, groupIds);
311     }
312 
313     public void unsetUserGroups(long userId, long[] groupIds)
314         throws com.liferay.portal.SystemException {
315         _groupLocalService.unsetUserGroups(userId, groupIds);
316     }
317 
318     public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
319         java.lang.String friendlyURL)
320         throws com.liferay.portal.PortalException,
321             com.liferay.portal.SystemException {
322         return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
323     }
324 
325     public com.liferay.portal.model.Group updateGroup(long groupId,
326         java.lang.String name, java.lang.String description, int type,
327         java.lang.String friendlyURL, boolean active,
328         com.liferay.portal.service.ServiceContext serviceContext)
329         throws com.liferay.portal.PortalException,
330             com.liferay.portal.SystemException {
331         return _groupLocalService.updateGroup(groupId, name, description, type,
332             friendlyURL, active, serviceContext);
333     }
334 
335     public com.liferay.portal.model.Group updateGroup(long groupId,
336         java.lang.String typeSettings)
337         throws com.liferay.portal.PortalException,
338             com.liferay.portal.SystemException {
339         return _groupLocalService.updateGroup(groupId, typeSettings);
340     }
341 
342     public void updateTagsAsset(long userId,
343         com.liferay.portal.model.Group group,
344         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
345         throws com.liferay.portal.PortalException,
346             com.liferay.portal.SystemException {
347         _groupLocalService.updateTagsAsset(userId, group, tagsCategories,
348             tagsEntries);
349     }
350 
351     public com.liferay.portal.model.Group updateWorkflow(long groupId,
352         boolean workflowEnabled, int workflowStages,
353         java.lang.String workflowRoleNames)
354         throws com.liferay.portal.PortalException,
355             com.liferay.portal.SystemException {
356         return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
357             workflowStages, workflowRoleNames);
358     }
359 
360     public GroupLocalService getWrappedGroupLocalService() {
361         return _groupLocalService;
362     }
363 
364     private GroupLocalService _groupLocalService;
365 }