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