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 com.liferay.portal.model.Group getGroup(long groupId)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException {
75          return _groupLocalService.getGroup(groupId);
76      }
77  
78      public java.util.List<com.liferay.portal.model.Group> getGroups(int start,
79          int end) throws com.liferay.portal.SystemException {
80          return _groupLocalService.getGroups(start, end);
81      }
82  
83      public int getGroupsCount() throws com.liferay.portal.SystemException {
84          return _groupLocalService.getGroupsCount();
85      }
86  
87      public com.liferay.portal.model.Group updateGroup(
88          com.liferay.portal.model.Group group)
89          throws com.liferay.portal.SystemException {
90          return _groupLocalService.updateGroup(group);
91      }
92  
93      public com.liferay.portal.model.Group updateGroup(
94          com.liferay.portal.model.Group group, boolean merge)
95          throws com.liferay.portal.SystemException {
96          return _groupLocalService.updateGroup(group, merge);
97      }
98  
99      public com.liferay.portal.model.Group addGroup(long userId,
100         java.lang.String className, long classPK, java.lang.String name,
101         java.lang.String description, int type, java.lang.String friendlyURL,
102         boolean active)
103         throws com.liferay.portal.PortalException,
104             com.liferay.portal.SystemException {
105         return _groupLocalService.addGroup(userId, className, classPK, name,
106             description, type, friendlyURL, active);
107     }
108 
109     public com.liferay.portal.model.Group addGroup(long userId,
110         java.lang.String className, long classPK, long liveGroupId,
111         java.lang.String name, java.lang.String description, int type,
112         java.lang.String friendlyURL, boolean active)
113         throws com.liferay.portal.PortalException,
114             com.liferay.portal.SystemException {
115         return _groupLocalService.addGroup(userId, className, classPK,
116             liveGroupId, name, description, type, friendlyURL, active);
117     }
118 
119     public void addRoleGroups(long roleId, long[] groupIds)
120         throws com.liferay.portal.SystemException {
121         _groupLocalService.addRoleGroups(roleId, groupIds);
122     }
123 
124     public void addUserGroups(long userId, long[] groupIds)
125         throws com.liferay.portal.SystemException {
126         _groupLocalService.addUserGroups(userId, groupIds);
127     }
128 
129     public void checkSystemGroups(long companyId)
130         throws com.liferay.portal.PortalException,
131             com.liferay.portal.SystemException {
132         _groupLocalService.checkSystemGroups(companyId);
133     }
134 
135     public java.util.List<com.liferay.portal.model.Group> getCompanyGroups(
136         long companyId, int start, int end)
137         throws com.liferay.portal.SystemException {
138         return _groupLocalService.getCompanyGroups(companyId, start, end);
139     }
140 
141     public int getCompanyGroupsCount(long companyId)
142         throws com.liferay.portal.SystemException {
143         return _groupLocalService.getCompanyGroupsCount(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> getNoLayoutsGroups(
161         java.lang.String className, boolean privateLayout, int start, int end)
162         throws com.liferay.portal.SystemException {
163         return _groupLocalService.getNoLayoutsGroups(className, privateLayout,
164             start, end);
165     }
166 
167     public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
168         throws com.liferay.portal.SystemException {
169         return _groupLocalService.getNullFriendlyURLGroups();
170     }
171 
172     public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
173         long organizationId)
174         throws com.liferay.portal.PortalException,
175             com.liferay.portal.SystemException {
176         return _groupLocalService.getOrganizationGroup(companyId, organizationId);
177     }
178 
179     public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
180         java.util.List<com.liferay.portal.model.Organization> organizations) {
181         return _groupLocalService.getOrganizationsGroups(organizations);
182     }
183 
184     public java.util.List<com.liferay.portal.model.Group> getRoleGroups(
185         long roleId) throws com.liferay.portal.SystemException {
186         return _groupLocalService.getRoleGroups(roleId);
187     }
188 
189     public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
190         throws com.liferay.portal.PortalException,
191             com.liferay.portal.SystemException {
192         return _groupLocalService.getStagingGroup(liveGroupId);
193     }
194 
195     public com.liferay.portal.model.Group getUserGroup(long companyId,
196         long userId)
197         throws com.liferay.portal.PortalException,
198             com.liferay.portal.SystemException {
199         return _groupLocalService.getUserGroup(companyId, userId);
200     }
201 
202     public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
203         long userGroupId)
204         throws com.liferay.portal.PortalException,
205             com.liferay.portal.SystemException {
206         return _groupLocalService.getUserGroupGroup(companyId, userGroupId);
207     }
208 
209     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
210         long userId)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException {
213         return _groupLocalService.getUserGroups(userId);
214     }
215 
216     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
217         long userId, boolean inherit)
218         throws com.liferay.portal.PortalException,
219             com.liferay.portal.SystemException {
220         return _groupLocalService.getUserGroups(userId, inherit);
221     }
222 
223     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
224         long userId, int start, int end)
225         throws com.liferay.portal.PortalException,
226             com.liferay.portal.SystemException {
227         return _groupLocalService.getUserGroups(userId, start, end);
228     }
229 
230     public java.util.List<com.liferay.portal.model.Group> getUserGroups(
231         long userId, boolean inherit, int start, int end)
232         throws com.liferay.portal.PortalException,
233             com.liferay.portal.SystemException {
234         return _groupLocalService.getUserGroups(userId, inherit, start, end);
235     }
236 
237     public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
238         java.util.List<com.liferay.portal.model.UserGroup> userGroups) {
239         return _groupLocalService.getUserGroupsGroups(userGroups);
240     }
241 
242     public boolean hasRoleGroup(long roleId, long groupId)
243         throws com.liferay.portal.SystemException {
244         return _groupLocalService.hasRoleGroup(roleId, groupId);
245     }
246 
247     public boolean hasStagingGroup(long liveGroupId)
248         throws com.liferay.portal.SystemException {
249         return _groupLocalService.hasStagingGroup(liveGroupId);
250     }
251 
252     public boolean hasUserGroup(long userId, long groupId)
253         throws com.liferay.portal.SystemException {
254         return _groupLocalService.hasUserGroup(userId, groupId);
255     }
256 
257     public java.util.List<com.liferay.portal.model.Group> search(
258         long companyId, java.lang.String name, java.lang.String description,
259         java.util.LinkedHashMap<String, Object> params, int start, int end)
260         throws com.liferay.portal.SystemException {
261         return _groupLocalService.search(companyId, name, description, params,
262             start, end);
263     }
264 
265     public java.util.List<com.liferay.portal.model.Group> search(
266         long companyId, java.lang.String name, java.lang.String description,
267         java.util.LinkedHashMap<String, Object> params, int start, int end,
268         com.liferay.portal.kernel.util.OrderByComparator obc)
269         throws com.liferay.portal.SystemException {
270         return _groupLocalService.search(companyId, name, description, params,
271             start, end, obc);
272     }
273 
274     public int searchCount(long companyId, java.lang.String name,
275         java.lang.String description,
276         java.util.LinkedHashMap<String, Object> params)
277         throws com.liferay.portal.SystemException {
278         return _groupLocalService.searchCount(companyId, name, description,
279             params);
280     }
281 
282     public void setRoleGroups(long roleId, long[] groupIds)
283         throws com.liferay.portal.SystemException {
284         _groupLocalService.setRoleGroups(roleId, groupIds);
285     }
286 
287     public void unsetRoleGroups(long roleId, long[] groupIds)
288         throws com.liferay.portal.SystemException {
289         _groupLocalService.unsetRoleGroups(roleId, groupIds);
290     }
291 
292     public void unsetUserGroups(long userId, long[] groupIds)
293         throws com.liferay.portal.SystemException {
294         _groupLocalService.unsetUserGroups(userId, groupIds);
295     }
296 
297     public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
298         java.lang.String friendlyURL)
299         throws com.liferay.portal.PortalException,
300             com.liferay.portal.SystemException {
301         return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
302     }
303 
304     public com.liferay.portal.model.Group updateGroup(long groupId,
305         java.lang.String name, java.lang.String description, int type,
306         java.lang.String friendlyURL, boolean active)
307         throws com.liferay.portal.PortalException,
308             com.liferay.portal.SystemException {
309         return _groupLocalService.updateGroup(groupId, name, description, type,
310             friendlyURL, active);
311     }
312 
313     public com.liferay.portal.model.Group updateGroup(long groupId,
314         java.lang.String typeSettings)
315         throws com.liferay.portal.PortalException,
316             com.liferay.portal.SystemException {
317         return _groupLocalService.updateGroup(groupId, typeSettings);
318     }
319 
320     public com.liferay.portal.model.Group updateWorkflow(long groupId,
321         boolean workflowEnabled, int workflowStages,
322         java.lang.String workflowRoleNames)
323         throws com.liferay.portal.PortalException,
324             com.liferay.portal.SystemException {
325         return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
326             workflowStages, workflowRoleNames);
327     }
328 
329     public GroupLocalService getWrappedGroupLocalService() {
330         return _groupLocalService;
331     }
332 
333     private GroupLocalService _groupLocalService;
334 }