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