001    /**
002     * Copyright (c) 2000-2012 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 UserGroupLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserGroupLocalService
024     * @generated
025     */
026    public class UserGroupLocalServiceWrapper implements UserGroupLocalService,
027            ServiceWrapper<UserGroupLocalService> {
028            public UserGroupLocalServiceWrapper(
029                    UserGroupLocalService userGroupLocalService) {
030                    _userGroupLocalService = userGroupLocalService;
031            }
032    
033            /**
034            * Adds the user group to the database. Also notifies the appropriate model listeners.
035            *
036            * @param userGroup the user group
037            * @return the user group that was added
038            * @throws SystemException if a system exception occurred
039            */
040            public com.liferay.portal.model.UserGroup addUserGroup(
041                    com.liferay.portal.model.UserGroup userGroup)
042                    throws com.liferay.portal.kernel.exception.SystemException {
043                    return _userGroupLocalService.addUserGroup(userGroup);
044            }
045    
046            /**
047            * Creates a new user group with the primary key. Does not add the user group to the database.
048            *
049            * @param userGroupId the primary key for the new user group
050            * @return the new user group
051            */
052            public com.liferay.portal.model.UserGroup createUserGroup(long userGroupId) {
053                    return _userGroupLocalService.createUserGroup(userGroupId);
054            }
055    
056            /**
057            * Deletes the user group with the primary key from the database. Also notifies the appropriate model listeners.
058            *
059            * @param userGroupId the primary key of the user group
060            * @return the user group that was removed
061            * @throws PortalException if a user group with the primary key could not be found
062            * @throws SystemException if a system exception occurred
063            */
064            public com.liferay.portal.model.UserGroup deleteUserGroup(long userGroupId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _userGroupLocalService.deleteUserGroup(userGroupId);
068            }
069    
070            /**
071            * Deletes the user group from the database. Also notifies the appropriate model listeners.
072            *
073            * @param userGroup the user group
074            * @return the user group that was removed
075            * @throws PortalException
076            * @throws SystemException if a system exception occurred
077            */
078            public com.liferay.portal.model.UserGroup deleteUserGroup(
079                    com.liferay.portal.model.UserGroup userGroup)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    return _userGroupLocalService.deleteUserGroup(userGroup);
083            }
084    
085            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
086                    return _userGroupLocalService.dynamicQuery();
087            }
088    
089            /**
090            * Performs a dynamic query on the database and returns the matching rows.
091            *
092            * @param dynamicQuery the dynamic query
093            * @return the matching rows
094            * @throws SystemException if a system exception occurred
095            */
096            @SuppressWarnings("rawtypes")
097            public java.util.List dynamicQuery(
098                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
099                    throws com.liferay.portal.kernel.exception.SystemException {
100                    return _userGroupLocalService.dynamicQuery(dynamicQuery);
101            }
102    
103            /**
104            * Performs a dynamic query on the database and returns a range of the matching rows.
105            *
106            * <p>
107            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
108            * </p>
109            *
110            * @param dynamicQuery the dynamic query
111            * @param start the lower bound of the range of model instances
112            * @param end the upper bound of the range of model instances (not inclusive)
113            * @return the range of matching rows
114            * @throws SystemException if a system exception occurred
115            */
116            @SuppressWarnings("rawtypes")
117            public java.util.List dynamicQuery(
118                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
119                    int end) throws com.liferay.portal.kernel.exception.SystemException {
120                    return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end);
121            }
122    
123            /**
124            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
125            *
126            * <p>
127            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
128            * </p>
129            *
130            * @param dynamicQuery the dynamic query
131            * @param start the lower bound of the range of model instances
132            * @param end the upper bound of the range of model instances (not inclusive)
133            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
134            * @return the ordered range of matching rows
135            * @throws SystemException if a system exception occurred
136            */
137            @SuppressWarnings("rawtypes")
138            public java.util.List dynamicQuery(
139                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
140                    int end,
141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142                    throws com.liferay.portal.kernel.exception.SystemException {
143                    return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end,
144                            orderByComparator);
145            }
146    
147            /**
148            * Returns the number of rows that match the dynamic query.
149            *
150            * @param dynamicQuery the dynamic query
151            * @return the number of rows that match the dynamic query
152            * @throws SystemException if a system exception occurred
153            */
154            public long dynamicQueryCount(
155                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156                    throws com.liferay.portal.kernel.exception.SystemException {
157                    return _userGroupLocalService.dynamicQueryCount(dynamicQuery);
158            }
159    
160            public com.liferay.portal.model.UserGroup fetchUserGroup(long userGroupId)
161                    throws com.liferay.portal.kernel.exception.SystemException {
162                    return _userGroupLocalService.fetchUserGroup(userGroupId);
163            }
164    
165            /**
166            * Returns the user group with the primary key.
167            *
168            * @param userGroupId the primary key of the user group
169            * @return the user group
170            * @throws PortalException if a user group with the primary key could not be found
171            * @throws SystemException if a system exception occurred
172            */
173            public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException {
176                    return _userGroupLocalService.getUserGroup(userGroupId);
177            }
178    
179            public com.liferay.portal.model.PersistedModel getPersistedModel(
180                    java.io.Serializable primaryKeyObj)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    return _userGroupLocalService.getPersistedModel(primaryKeyObj);
184            }
185    
186            /**
187            * Returns a range of all the user groups.
188            *
189            * <p>
190            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
191            * </p>
192            *
193            * @param start the lower bound of the range of user groups
194            * @param end the upper bound of the range of user groups (not inclusive)
195            * @return the range of user groups
196            * @throws SystemException if a system exception occurred
197            */
198            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
199                    int start, int end)
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    return _userGroupLocalService.getUserGroups(start, end);
202            }
203    
204            /**
205            * Returns the number of user groups.
206            *
207            * @return the number of user groups
208            * @throws SystemException if a system exception occurred
209            */
210            public int getUserGroupsCount()
211                    throws com.liferay.portal.kernel.exception.SystemException {
212                    return _userGroupLocalService.getUserGroupsCount();
213            }
214    
215            /**
216            * Updates the user group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
217            *
218            * @param userGroup the user group
219            * @return the user group that was updated
220            * @throws SystemException if a system exception occurred
221            */
222            public com.liferay.portal.model.UserGroup updateUserGroup(
223                    com.liferay.portal.model.UserGroup userGroup)
224                    throws com.liferay.portal.kernel.exception.SystemException {
225                    return _userGroupLocalService.updateUserGroup(userGroup);
226            }
227    
228            /**
229            * Returns the Spring bean ID for this bean.
230            *
231            * @return the Spring bean ID for this bean
232            */
233            public java.lang.String getBeanIdentifier() {
234                    return _userGroupLocalService.getBeanIdentifier();
235            }
236    
237            /**
238            * Sets the Spring bean ID for this bean.
239            *
240            * @param beanIdentifier the Spring bean ID for this bean
241            */
242            public void setBeanIdentifier(java.lang.String beanIdentifier) {
243                    _userGroupLocalService.setBeanIdentifier(beanIdentifier);
244            }
245    
246            /**
247            * Adds the user groups to the group.
248            *
249            * @param groupId the primary key of the group
250            * @param userGroupIds the primary keys of the user groups
251            * @throws SystemException if a system exception occurred
252            */
253            public void addGroupUserGroups(long groupId, long[] userGroupIds)
254                    throws com.liferay.portal.kernel.exception.SystemException {
255                    _userGroupLocalService.addGroupUserGroups(groupId, userGroupIds);
256            }
257    
258            /**
259            * Adds the user groups to the team.
260            *
261            * @param teamId the primary key of the team
262            * @param userGroupIds the primary keys of the user groups
263            * @throws SystemException if a system exception occurred
264            */
265            public void addTeamUserGroups(long teamId, long[] userGroupIds)
266                    throws com.liferay.portal.kernel.exception.SystemException {
267                    _userGroupLocalService.addTeamUserGroups(teamId, userGroupIds);
268            }
269    
270            /**
271            * Adds a user group.
272            *
273            * <p>
274            * This method handles the creation and bookkeeping of the user group,
275            * including its resources, metadata, and internal data structures. It is
276            * not necessary to make subsequent calls to setup default groups and
277            * resources for the user group.
278            * </p>
279            *
280            * @param userId the primary key of the user
281            * @param companyId the primary key of the user group's company
282            * @param name the user group's name
283            * @param description the user group's description
284            * @return the user group
285            * @throws PortalException if the user group's information was invalid
286            * @throws SystemException if a system exception occurred
287            */
288            public com.liferay.portal.model.UserGroup addUserGroup(long userId,
289                    long companyId, java.lang.String name, java.lang.String description)
290                    throws com.liferay.portal.kernel.exception.PortalException,
291                            com.liferay.portal.kernel.exception.SystemException {
292                    return _userGroupLocalService.addUserGroup(userId, companyId, name,
293                            description);
294            }
295    
296            /**
297            * Clears all associations between the user and its user groups and clears
298            * the permissions cache.
299            *
300            * <p>
301            * This method is called from {@link #deleteUserGroup(UserGroup)}.
302            * </p>
303            *
304            * @param userId the primary key of the user
305            * @throws SystemException if a system exception occurred
306            */
307            public void clearUserUserGroups(long userId)
308                    throws com.liferay.portal.kernel.exception.SystemException {
309                    _userGroupLocalService.clearUserUserGroups(userId);
310            }
311    
312            /**
313            * Copies the user group's layouts to the users who are not already members
314            * of the user group.
315            *
316            * @param userGroupId the primary key of the user group
317            * @param userIds the primary keys of the users
318            * @throws PortalException if any one of the users could not be found or
319            if a portal exception occurred
320            * @throws SystemException if a system exception occurred
321            * @deprecated
322            */
323            public void copyUserGroupLayouts(long userGroupId, long[] userIds)
324                    throws com.liferay.portal.kernel.exception.PortalException,
325                            com.liferay.portal.kernel.exception.SystemException {
326                    _userGroupLocalService.copyUserGroupLayouts(userGroupId, userIds);
327            }
328    
329            /**
330            * Copies the user groups' layouts to the user.
331            *
332            * @param userGroupIds the primary keys of the user groups
333            * @param userId the primary key of the user
334            * @throws PortalException if a user with the primary key could not be
335            found or if a portal exception occurred
336            * @throws SystemException if a system exception occurred
337            * @deprecated
338            */
339            public void copyUserGroupLayouts(long[] userGroupIds, long userId)
340                    throws com.liferay.portal.kernel.exception.PortalException,
341                            com.liferay.portal.kernel.exception.SystemException {
342                    _userGroupLocalService.copyUserGroupLayouts(userGroupIds, userId);
343            }
344    
345            /**
346            * Copies the user group's layout to the user.
347            *
348            * @param userGroupId the primary key of the user group
349            * @param userId the primary key of the user
350            * @throws PortalException if a user with the primary key could not be
351            found or if a portal exception occurred
352            * @throws SystemException if a system exception occurred
353            * @deprecated
354            */
355            public void copyUserGroupLayouts(long userGroupId, long userId)
356                    throws com.liferay.portal.kernel.exception.PortalException,
357                            com.liferay.portal.kernel.exception.SystemException {
358                    _userGroupLocalService.copyUserGroupLayouts(userGroupId, userId);
359            }
360    
361            /**
362            * Returns the user group with the name.
363            *
364            * @param companyId the primary key of the user group's company
365            * @param name the user group's name
366            * @return Returns the user group with the name
367            * @throws PortalException if a user group with the name could not be found
368            * @throws SystemException if a system exception occurred
369            */
370            public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
371                    java.lang.String name)
372                    throws com.liferay.portal.kernel.exception.PortalException,
373                            com.liferay.portal.kernel.exception.SystemException {
374                    return _userGroupLocalService.getUserGroup(companyId, name);
375            }
376    
377            /**
378            * Returns all the user groups belonging to the company.
379            *
380            * @param companyId the primary key of the user groups' company
381            * @return the user groups belonging to the company
382            * @throws SystemException if a system exception occurred
383            */
384            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
385                    long companyId)
386                    throws com.liferay.portal.kernel.exception.SystemException {
387                    return _userGroupLocalService.getUserGroups(companyId);
388            }
389    
390            /**
391            * Returns all the user groups with the primary keys.
392            *
393            * @param userGroupIds the primary keys of the user groups
394            * @return the user groups with the primary keys
395            * @throws PortalException if any one of the user groups could not be found
396            * @throws SystemException if a system exception occurred
397            */
398            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
399                    long[] userGroupIds)
400                    throws com.liferay.portal.kernel.exception.PortalException,
401                            com.liferay.portal.kernel.exception.SystemException {
402                    return _userGroupLocalService.getUserGroups(userGroupIds);
403            }
404    
405            /**
406            * Returns all the user groups to which the user belongs.
407            *
408            * @param userId the primary key of the user
409            * @return the user groups to which the user belongs
410            * @throws SystemException if a system exception occurred
411            */
412            public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
413                    long userId) throws com.liferay.portal.kernel.exception.SystemException {
414                    return _userGroupLocalService.getUserUserGroups(userId);
415            }
416    
417            /**
418            * Returns <code>true</code> if the user group is associated with the group.
419            *
420            * @param groupId the primary key of the group
421            * @param userGroupId the primary key of the user group
422            * @return <code>true</code> if the user group belongs to the group;
423            <code>false</code> otherwise
424            * @throws SystemException if a system exception occurred
425            */
426            public boolean hasGroupUserGroup(long groupId, long userGroupId)
427                    throws com.liferay.portal.kernel.exception.SystemException {
428                    return _userGroupLocalService.hasGroupUserGroup(groupId, userGroupId);
429            }
430    
431            /**
432            * Returns <code>true</code> if the user group belongs to the team.
433            *
434            * @param teamId the primary key of the team
435            * @param userGroupId the primary key of the user group
436            * @return <code>true</code> if the user group belongs to the team;
437            <code>false</code> otherwise
438            * @throws SystemException if a system exception occurred
439            */
440            public boolean hasTeamUserGroup(long teamId, long userGroupId)
441                    throws com.liferay.portal.kernel.exception.SystemException {
442                    return _userGroupLocalService.hasTeamUserGroup(teamId, userGroupId);
443            }
444    
445            /**
446            * Returns an ordered range of all the user groups that match the keywords.
447            *
448            * <p>
449            * Useful when paginating results. Returns a maximum of <code>end -
450            * start</code> instances. <code>start</code> and <code>end</code> are not
451            * primary keys, they are indexes in the result set. Thus, <code>0</code>
452            * refers to the first result in the set. Setting both <code>start</code>
453            * and <code>end</code> to {@link
454            * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full
455            * result set.
456            * </p>
457            *
458            * @param companyId the primary key of the user group's company
459            * @param keywords the keywords (space separated), which may occur in the
460            user group's name or description (optionally <code>null</code>)
461            * @param params the finder params (optionally <code>null</code>). For more
462            information see {@link
463            com.liferay.portal.service.persistence.UserGroupFinder}
464            * @param start the lower bound of the range of user groups to return
465            * @param end the upper bound of the range of user groups to return (not
466            inclusive)
467            * @param obc the comparator to order the user groups (optionally
468            <code>null</code>)
469            * @return the matching user groups ordered by comparator <code>obc</code>
470            * @throws SystemException if a system exception occurred
471            * @see com.liferay.portal.service.persistence.UserGroupFinder
472            */
473            public java.util.List<com.liferay.portal.model.UserGroup> search(
474                    long companyId, java.lang.String keywords,
475                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
476                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
477                    throws com.liferay.portal.kernel.exception.SystemException {
478                    return _userGroupLocalService.search(companyId, keywords, params,
479                            start, end, obc);
480            }
481    
482            /**
483            * Returns an ordered range of all the user groups that match the name and
484            * description.
485            *
486            * <p>
487            * Useful when paginating results. Returns a maximum of <code>end -
488            * start</code> instances. <code>start</code> and <code>end</code> are not
489            * primary keys, they are indexes in the result set. Thus, <code>0</code>
490            * refers to the first result in the set. Setting both <code>start</code>
491            * and <code>end</code> to {@link
492            * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full
493            * result set.
494            * </p>
495            *
496            * @param companyId the primary key of the user group's company
497            * @param name the user group's name (optionally <code>null</code>)
498            * @param description the user group's description (optionally
499            <code>null</code>)
500            * @param params the finder params (optionally <code>null</code>). For more
501            information see {@link
502            com.liferay.portal.service.persistence.UserGroupFinder}
503            * @param start the lower bound of the range of user groups to return
504            * @param end the upper bound of the range of user groups to return (not
505            inclusive)
506            * @param obc the comparator to order the user groups (optionally
507            <code>null</code>)
508            * @return the matching user groups ordered by comparator <code>obc</code>
509            * @throws SystemException if a system exception occurred
510            * @see com.liferay.portal.service.persistence.UserGroupFinder
511            */
512            public java.util.List<com.liferay.portal.model.UserGroup> search(
513                    long companyId, java.lang.String name, java.lang.String description,
514                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
515                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
516                    throws com.liferay.portal.kernel.exception.SystemException {
517                    return _userGroupLocalService.search(companyId, name, description,
518                            params, start, end, obc);
519            }
520    
521            /**
522            * Returns the number of user groups that match the keywords
523            *
524            * @param companyId the primary key of the user group's company
525            * @param keywords the keywords (space separated), which may occur in the
526            user group's name or description (optionally <code>null</code>)
527            * @param params the finder params (optionally <code>null</code>). For more
528            information see {@link
529            com.liferay.portal.service.persistence.UserGroupFinder}
530            * @return the number of matching user groups
531            * @throws SystemException if a system exception occurred
532            * @see com.liferay.portal.service.persistence.UserGroupFinder
533            */
534            public int searchCount(long companyId, java.lang.String keywords,
535                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
536                    throws com.liferay.portal.kernel.exception.SystemException {
537                    return _userGroupLocalService.searchCount(companyId, keywords, params);
538            }
539    
540            /**
541            * Returns the number of user groups that match the name and description.
542            *
543            * @param companyId the primary key of the user group's company
544            * @param name the user group's name (optionally <code>null</code>)
545            * @param description the user group's description (optionally
546            <code>null</code>)
547            * @param params the finder params (optionally <code>null</code>). For more
548            information see {@link
549            com.liferay.portal.service.persistence.UserGroupFinder}
550            * @return the number of matching user groups
551            * @throws SystemException if a system exception occurred
552            * @see com.liferay.portal.service.persistence.UserGroupFinder
553            */
554            public int searchCount(long companyId, java.lang.String name,
555                    java.lang.String description,
556                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
557                    throws com.liferay.portal.kernel.exception.SystemException {
558                    return _userGroupLocalService.searchCount(companyId, name, description,
559                            params);
560            }
561    
562            /**
563            * Sets the user groups associated with the user copying the user group
564            * layouts and removing and adding user group associations for the user as
565            * necessary.
566            *
567            * @param userId the primary key of the user
568            * @param userGroupIds the primary keys of the user groups
569            * @throws PortalException if a portal exception occurred
570            * @throws SystemException if a system exception occurred
571            */
572            public void setUserUserGroups(long userId, long[] userGroupIds)
573                    throws com.liferay.portal.kernel.exception.PortalException,
574                            com.liferay.portal.kernel.exception.SystemException {
575                    _userGroupLocalService.setUserUserGroups(userId, userGroupIds);
576            }
577    
578            /**
579            * Removes the user groups from the group.
580            *
581            * @param groupId the primary key of the group
582            * @param userGroupIds the primary keys of the user groups
583            * @throws SystemException if a system exception occurred
584            */
585            public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
586                    throws com.liferay.portal.kernel.exception.SystemException {
587                    _userGroupLocalService.unsetGroupUserGroups(groupId, userGroupIds);
588            }
589    
590            /**
591            * Removes the user groups from the team.
592            *
593            * @param teamId the primary key of the team
594            * @param userGroupIds the primary keys of the user groups
595            * @throws SystemException if a system exception occurred
596            */
597            public void unsetTeamUserGroups(long teamId, long[] userGroupIds)
598                    throws com.liferay.portal.kernel.exception.SystemException {
599                    _userGroupLocalService.unsetTeamUserGroups(teamId, userGroupIds);
600            }
601    
602            /**
603            * Updates the user group.
604            *
605            * @param companyId the primary key of the user group's company
606            * @param userGroupId the primary key of the user group
607            * @param name the user group's name
608            * @param description the user group's description
609            * @return the user group
610            * @throws PortalException if a user group with the primary key could not be
611            found or if the new information was invalid
612            * @throws SystemException if a system exception occurred
613            */
614            public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
615                    long userGroupId, java.lang.String name, java.lang.String description)
616                    throws com.liferay.portal.kernel.exception.PortalException,
617                            com.liferay.portal.kernel.exception.SystemException {
618                    return _userGroupLocalService.updateUserGroup(companyId, userGroupId,
619                            name, description);
620            }
621    
622            /**
623             * @deprecated Renamed to {@link #getWrappedService}
624             */
625            public UserGroupLocalService getWrappedUserGroupLocalService() {
626                    return _userGroupLocalService;
627            }
628    
629            /**
630             * @deprecated Renamed to {@link #setWrappedService}
631             */
632            public void setWrappedUserGroupLocalService(
633                    UserGroupLocalService userGroupLocalService) {
634                    _userGroupLocalService = userGroupLocalService;
635            }
636    
637            public UserGroupLocalService getWrappedService() {
638                    return _userGroupLocalService;
639            }
640    
641            public void setWrappedService(UserGroupLocalService userGroupLocalService) {
642                    _userGroupLocalService = userGroupLocalService;
643            }
644    
645            private UserGroupLocalService _userGroupLocalService;
646    }