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