001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link GroupLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       GroupLocalService
025     * @generated
026     */
027    public class GroupLocalServiceWrapper implements GroupLocalService {
028            public GroupLocalServiceWrapper(GroupLocalService groupLocalService) {
029                    _groupLocalService = groupLocalService;
030            }
031    
032            public com.liferay.portal.model.Group addGroup(
033                    com.liferay.portal.model.Group group)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _groupLocalService.addGroup(group);
036            }
037    
038            public com.liferay.portal.model.Group createGroup(long groupId) {
039                    return _groupLocalService.createGroup(groupId);
040            }
041    
042            public void deleteGroup(long groupId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _groupLocalService.deleteGroup(groupId);
046            }
047    
048            public void deleteGroup(com.liferay.portal.model.Group group)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _groupLocalService.deleteGroup(group);
051            }
052    
053            @SuppressWarnings("unchecked")
054            public java.util.List dynamicQuery(
055                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _groupLocalService.dynamicQuery(dynamicQuery);
058            }
059    
060            @SuppressWarnings("unchecked")
061            public java.util.List dynamicQuery(
062                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063                    int end) throws com.liferay.portal.kernel.exception.SystemException {
064                    return _groupLocalService.dynamicQuery(dynamicQuery, start, end);
065            }
066    
067            @SuppressWarnings("unchecked")
068            public java.util.List dynamicQuery(
069                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070                    int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _groupLocalService.dynamicQuery(dynamicQuery, start, end,
074                            orderByComparator);
075            }
076    
077            public long dynamicQueryCount(
078                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _groupLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portal.model.Group getGroup(long groupId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _groupLocalService.getGroup(groupId);
087            }
088    
089            public java.util.List<com.liferay.portal.model.Group> getGroups(int start,
090                    int end) throws com.liferay.portal.kernel.exception.SystemException {
091                    return _groupLocalService.getGroups(start, end);
092            }
093    
094            public int getGroupsCount()
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _groupLocalService.getGroupsCount();
097            }
098    
099            public com.liferay.portal.model.Group updateGroup(
100                    com.liferay.portal.model.Group group)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _groupLocalService.updateGroup(group);
103            }
104    
105            public com.liferay.portal.model.Group updateGroup(
106                    com.liferay.portal.model.Group group, boolean merge)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _groupLocalService.updateGroup(group, merge);
109            }
110    
111            public com.liferay.portal.model.Group addGroup(long userId,
112                    java.lang.String className, long classPK, java.lang.String name,
113                    java.lang.String description, int type, java.lang.String friendlyURL,
114                    boolean active, com.liferay.portal.service.ServiceContext serviceContext)
115                    throws com.liferay.portal.kernel.exception.PortalException,
116                            com.liferay.portal.kernel.exception.SystemException {
117                    return _groupLocalService.addGroup(userId, className, classPK, name,
118                            description, type, friendlyURL, active, serviceContext);
119            }
120    
121            public com.liferay.portal.model.Group addGroup(long userId,
122                    java.lang.String className, long classPK, long liveGroupId,
123                    java.lang.String name, java.lang.String description, int type,
124                    java.lang.String friendlyURL, boolean active,
125                    com.liferay.portal.service.ServiceContext serviceContext)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    return _groupLocalService.addGroup(userId, className, classPK,
129                            liveGroupId, name, description, type, friendlyURL, active,
130                            serviceContext);
131            }
132    
133            public void addRoleGroups(long roleId, long[] groupIds)
134                    throws com.liferay.portal.kernel.exception.SystemException {
135                    _groupLocalService.addRoleGroups(roleId, groupIds);
136            }
137    
138            public void addUserGroups(long userId, long[] groupIds)
139                    throws com.liferay.portal.kernel.exception.SystemException {
140                    _groupLocalService.addUserGroups(userId, groupIds);
141            }
142    
143            public void checkCompanyGroup(long companyId)
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException {
146                    _groupLocalService.checkCompanyGroup(companyId);
147            }
148    
149            public void checkSystemGroups(long companyId)
150                    throws com.liferay.portal.kernel.exception.PortalException,
151                            com.liferay.portal.kernel.exception.SystemException {
152                    _groupLocalService.checkSystemGroups(companyId);
153            }
154    
155            public com.liferay.portal.model.Group getCompanyGroup(long companyId)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    return _groupLocalService.getCompanyGroup(companyId);
159            }
160    
161            public java.util.List<com.liferay.portal.model.Group> getCompanyGroups(
162                    long companyId, int start, int end)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return _groupLocalService.getCompanyGroups(companyId, start, end);
165            }
166    
167            public int getCompanyGroupsCount(long companyId)
168                    throws com.liferay.portal.kernel.exception.SystemException {
169                    return _groupLocalService.getCompanyGroupsCount(companyId);
170            }
171    
172            public com.liferay.portal.model.Group getFriendlyURLGroup(long companyId,
173                    java.lang.String friendlyURL)
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException {
176                    return _groupLocalService.getFriendlyURLGroup(companyId, friendlyURL);
177            }
178    
179            public com.liferay.portal.model.Group getGroup(long companyId,
180                    java.lang.String name)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    return _groupLocalService.getGroup(companyId, name);
184            }
185    
186            public java.util.List<com.liferay.portal.model.Group> getGroups(
187                    long[] groupIds)
188                    throws com.liferay.portal.kernel.exception.PortalException,
189                            com.liferay.portal.kernel.exception.SystemException {
190                    return _groupLocalService.getGroups(groupIds);
191            }
192    
193            public com.liferay.portal.model.Group getLayoutGroup(long companyId,
194                    long plid)
195                    throws com.liferay.portal.kernel.exception.PortalException,
196                            com.liferay.portal.kernel.exception.SystemException {
197                    return _groupLocalService.getLayoutGroup(companyId, plid);
198            }
199    
200            public com.liferay.portal.model.Group getLayoutPrototypeGroup(
201                    long companyId, long layoutPrototypeId)
202                    throws com.liferay.portal.kernel.exception.PortalException,
203                            com.liferay.portal.kernel.exception.SystemException {
204                    return _groupLocalService.getLayoutPrototypeGroup(companyId,
205                            layoutPrototypeId);
206            }
207    
208            public com.liferay.portal.model.Group getLayoutSetPrototypeGroup(
209                    long companyId, long layoutSetPrototypeId)
210                    throws com.liferay.portal.kernel.exception.PortalException,
211                            com.liferay.portal.kernel.exception.SystemException {
212                    return _groupLocalService.getLayoutSetPrototypeGroup(companyId,
213                            layoutSetPrototypeId);
214            }
215    
216            public java.util.List<com.liferay.portal.model.Group> getLiveGroups()
217                    throws com.liferay.portal.kernel.exception.SystemException {
218                    return _groupLocalService.getLiveGroups();
219            }
220    
221            public java.util.List<com.liferay.portal.model.Group> getNoLayoutsGroups(
222                    java.lang.String className, boolean privateLayout, int start, int end)
223                    throws com.liferay.portal.kernel.exception.SystemException {
224                    return _groupLocalService.getNoLayoutsGroups(className, privateLayout,
225                            start, end);
226            }
227    
228            public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
229                    throws com.liferay.portal.kernel.exception.SystemException {
230                    return _groupLocalService.getNullFriendlyURLGroups();
231            }
232    
233            public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
234                    long organizationId)
235                    throws com.liferay.portal.kernel.exception.PortalException,
236                            com.liferay.portal.kernel.exception.SystemException {
237                    return _groupLocalService.getOrganizationGroup(companyId, organizationId);
238            }
239    
240            public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
241                    java.util.List<com.liferay.portal.model.Organization> organizations) {
242                    return _groupLocalService.getOrganizationsGroups(organizations);
243            }
244    
245            public java.util.List<com.liferay.portal.model.Group> getOrganizationsRelatedGroups(
246                    java.util.List<com.liferay.portal.model.Organization> organizations)
247                    throws com.liferay.portal.kernel.exception.SystemException {
248                    return _groupLocalService.getOrganizationsRelatedGroups(organizations);
249            }
250    
251            public java.util.List<com.liferay.portal.model.Group> getRoleGroups(
252                    long roleId) throws com.liferay.portal.kernel.exception.SystemException {
253                    return _groupLocalService.getRoleGroups(roleId);
254            }
255    
256            public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
257                    throws com.liferay.portal.kernel.exception.PortalException,
258                            com.liferay.portal.kernel.exception.SystemException {
259                    return _groupLocalService.getStagingGroup(liveGroupId);
260            }
261    
262            public com.liferay.portal.model.Group getUserGroup(long companyId,
263                    long userId)
264                    throws com.liferay.portal.kernel.exception.PortalException,
265                            com.liferay.portal.kernel.exception.SystemException {
266                    return _groupLocalService.getUserGroup(companyId, userId);
267            }
268    
269            public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
270                    long userGroupId)
271                    throws com.liferay.portal.kernel.exception.PortalException,
272                            com.liferay.portal.kernel.exception.SystemException {
273                    return _groupLocalService.getUserGroupGroup(companyId, userGroupId);
274            }
275    
276            public java.util.List<com.liferay.portal.model.Group> getUserGroups(
277                    long userId)
278                    throws com.liferay.portal.kernel.exception.PortalException,
279                            com.liferay.portal.kernel.exception.SystemException {
280                    return _groupLocalService.getUserGroups(userId);
281            }
282    
283            public java.util.List<com.liferay.portal.model.Group> getUserGroups(
284                    long userId, boolean inherit)
285                    throws com.liferay.portal.kernel.exception.PortalException,
286                            com.liferay.portal.kernel.exception.SystemException {
287                    return _groupLocalService.getUserGroups(userId, inherit);
288            }
289    
290            public java.util.List<com.liferay.portal.model.Group> getUserGroups(
291                    long userId, int start, int end)
292                    throws com.liferay.portal.kernel.exception.PortalException,
293                            com.liferay.portal.kernel.exception.SystemException {
294                    return _groupLocalService.getUserGroups(userId, start, end);
295            }
296    
297            public java.util.List<com.liferay.portal.model.Group> getUserGroups(
298                    long userId, boolean inherit, int start, int end)
299                    throws com.liferay.portal.kernel.exception.PortalException,
300                            com.liferay.portal.kernel.exception.SystemException {
301                    return _groupLocalService.getUserGroups(userId, inherit, start, end);
302            }
303    
304            public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
305                    java.util.List<com.liferay.portal.model.UserGroup> userGroups)
306                    throws com.liferay.portal.kernel.exception.PortalException,
307                            com.liferay.portal.kernel.exception.SystemException {
308                    return _groupLocalService.getUserGroupsGroups(userGroups);
309            }
310    
311            public java.util.List<com.liferay.portal.model.Group> getUserGroupsRelatedGroups(
312                    java.util.List<com.liferay.portal.model.UserGroup> userGroups)
313                    throws com.liferay.portal.kernel.exception.SystemException {
314                    return _groupLocalService.getUserGroupsRelatedGroups(userGroups);
315            }
316    
317            public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
318                    long userId, int start, int end)
319                    throws com.liferay.portal.kernel.exception.PortalException,
320                            com.liferay.portal.kernel.exception.SystemException {
321                    return _groupLocalService.getUserOrganizationsGroups(userId, start, end);
322            }
323    
324            public boolean hasRoleGroup(long roleId, long groupId)
325                    throws com.liferay.portal.kernel.exception.SystemException {
326                    return _groupLocalService.hasRoleGroup(roleId, groupId);
327            }
328    
329            public boolean hasStagingGroup(long liveGroupId)
330                    throws com.liferay.portal.kernel.exception.SystemException {
331                    return _groupLocalService.hasStagingGroup(liveGroupId);
332            }
333    
334            public boolean hasUserGroup(long userId, long groupId)
335                    throws com.liferay.portal.kernel.exception.SystemException {
336                    return _groupLocalService.hasUserGroup(userId, groupId);
337            }
338    
339            public java.util.List<com.liferay.portal.model.Group> search(
340                    long companyId, java.lang.String name, java.lang.String description,
341                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
342                    int start, int end)
343                    throws com.liferay.portal.kernel.exception.SystemException {
344                    return _groupLocalService.search(companyId, name, description, params,
345                            start, end);
346            }
347    
348            public java.util.List<com.liferay.portal.model.Group> search(
349                    long companyId, java.lang.String name, java.lang.String description,
350                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
351                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
352                    throws com.liferay.portal.kernel.exception.SystemException {
353                    return _groupLocalService.search(companyId, name, description, params,
354                            start, end, obc);
355            }
356    
357            public int searchCount(long companyId, java.lang.String name,
358                    java.lang.String description,
359                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
360                    throws com.liferay.portal.kernel.exception.SystemException {
361                    return _groupLocalService.searchCount(companyId, name, description,
362                            params);
363            }
364    
365            public void setRoleGroups(long roleId, long[] groupIds)
366                    throws com.liferay.portal.kernel.exception.SystemException {
367                    _groupLocalService.setRoleGroups(roleId, groupIds);
368            }
369    
370            public void unsetRoleGroups(long roleId, long[] groupIds)
371                    throws com.liferay.portal.kernel.exception.SystemException {
372                    _groupLocalService.unsetRoleGroups(roleId, groupIds);
373            }
374    
375            public void unsetUserGroups(long userId, long[] groupIds)
376                    throws com.liferay.portal.kernel.exception.SystemException {
377                    _groupLocalService.unsetUserGroups(userId, groupIds);
378            }
379    
380            public void updateAsset(long userId, com.liferay.portal.model.Group group,
381                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    _groupLocalService.updateAsset(userId, group, assetCategoryIds,
385                            assetTagNames);
386            }
387    
388            public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
389                    java.lang.String friendlyURL)
390                    throws com.liferay.portal.kernel.exception.PortalException,
391                            com.liferay.portal.kernel.exception.SystemException {
392                    return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
393            }
394    
395            public com.liferay.portal.model.Group updateGroup(long groupId,
396                    java.lang.String name, java.lang.String description, int type,
397                    java.lang.String friendlyURL, boolean active,
398                    com.liferay.portal.service.ServiceContext serviceContext)
399                    throws com.liferay.portal.kernel.exception.PortalException,
400                            com.liferay.portal.kernel.exception.SystemException {
401                    return _groupLocalService.updateGroup(groupId, name, description, type,
402                            friendlyURL, active, serviceContext);
403            }
404    
405            public com.liferay.portal.model.Group updateGroup(long groupId,
406                    java.lang.String typeSettings)
407                    throws com.liferay.portal.kernel.exception.PortalException,
408                            com.liferay.portal.kernel.exception.SystemException {
409                    return _groupLocalService.updateGroup(groupId, typeSettings);
410            }
411    
412            public com.liferay.portal.model.Group updateWorkflow(long groupId,
413                    boolean workflowEnabled, int workflowStages,
414                    java.lang.String workflowRoleNames)
415                    throws com.liferay.portal.kernel.exception.PortalException,
416                            com.liferay.portal.kernel.exception.SystemException {
417                    return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
418                            workflowStages, workflowRoleNames);
419            }
420    
421            public GroupLocalService getWrappedGroupLocalService() {
422                    return _groupLocalService;
423            }
424    
425            private GroupLocalService _groupLocalService;
426    }