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 BackgroundTaskLocalService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see BackgroundTaskLocalService
022     * @generated
023     */
024    public class BackgroundTaskLocalServiceWrapper
025            implements BackgroundTaskLocalService,
026                    ServiceWrapper<BackgroundTaskLocalService> {
027            public BackgroundTaskLocalServiceWrapper(
028                    BackgroundTaskLocalService backgroundTaskLocalService) {
029                    _backgroundTaskLocalService = backgroundTaskLocalService;
030            }
031    
032            /**
033            * Adds the background task to the database. Also notifies the appropriate model listeners.
034            *
035            * @param backgroundTask the background task
036            * @return the background task that was added
037            * @throws SystemException if a system exception occurred
038            */
039            @Override
040            public com.liferay.portal.model.BackgroundTask addBackgroundTask(
041                    com.liferay.portal.model.BackgroundTask backgroundTask)
042                    throws com.liferay.portal.kernel.exception.SystemException {
043                    return _backgroundTaskLocalService.addBackgroundTask(backgroundTask);
044            }
045    
046            /**
047            * Creates a new background task with the primary key. Does not add the background task to the database.
048            *
049            * @param backgroundTaskId the primary key for the new background task
050            * @return the new background task
051            */
052            @Override
053            public com.liferay.portal.model.BackgroundTask createBackgroundTask(
054                    long backgroundTaskId) {
055                    return _backgroundTaskLocalService.createBackgroundTask(backgroundTaskId);
056            }
057    
058            /**
059            * Deletes the background task with the primary key from the database. Also notifies the appropriate model listeners.
060            *
061            * @param backgroundTaskId the primary key of the background task
062            * @return the background task that was removed
063            * @throws PortalException if a background task with the primary key could not be found
064            * @throws SystemException if a system exception occurred
065            */
066            @Override
067            public com.liferay.portal.model.BackgroundTask deleteBackgroundTask(
068                    long backgroundTaskId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    return _backgroundTaskLocalService.deleteBackgroundTask(backgroundTaskId);
072            }
073    
074            /**
075            * Deletes the background task from the database. Also notifies the appropriate model listeners.
076            *
077            * @param backgroundTask the background task
078            * @return the background task that was removed
079            * @throws PortalException
080            * @throws SystemException if a system exception occurred
081            */
082            @Override
083            public com.liferay.portal.model.BackgroundTask deleteBackgroundTask(
084                    com.liferay.portal.model.BackgroundTask backgroundTask)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _backgroundTaskLocalService.deleteBackgroundTask(backgroundTask);
088            }
089    
090            @Override
091            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
092                    return _backgroundTaskLocalService.dynamicQuery();
093            }
094    
095            /**
096            * Performs a dynamic query on the database and returns the matching rows.
097            *
098            * @param dynamicQuery the dynamic query
099            * @return the matching rows
100            * @throws SystemException if a system exception occurred
101            */
102            @Override
103            @SuppressWarnings("rawtypes")
104            public java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _backgroundTaskLocalService.dynamicQuery(dynamicQuery);
108            }
109    
110            /**
111            * Performs a dynamic query on the database and returns a range of the matching rows.
112            *
113            * <p>
114            * 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.BackgroundTaskModelImpl}. 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.
115            * </p>
116            *
117            * @param dynamicQuery the dynamic query
118            * @param start the lower bound of the range of model instances
119            * @param end the upper bound of the range of model instances (not inclusive)
120            * @return the range of matching rows
121            * @throws SystemException if a system exception occurred
122            */
123            @Override
124            @SuppressWarnings("rawtypes")
125            public 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 _backgroundTaskLocalService.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.BackgroundTaskModelImpl}. 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            @Override
146            @SuppressWarnings("rawtypes")
147            public java.util.List dynamicQuery(
148                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
149                    int end,
150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151                    throws com.liferay.portal.kernel.exception.SystemException {
152                    return _backgroundTaskLocalService.dynamicQuery(dynamicQuery, start,
153                            end, orderByComparator);
154            }
155    
156            /**
157            * Returns the number of rows that match the dynamic query.
158            *
159            * @param dynamicQuery the dynamic query
160            * @return the number of rows that match the dynamic query
161            * @throws SystemException if a system exception occurred
162            */
163            @Override
164            public long dynamicQueryCount(
165                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _backgroundTaskLocalService.dynamicQueryCount(dynamicQuery);
168            }
169    
170            /**
171            * Returns the number of rows that match the dynamic query.
172            *
173            * @param dynamicQuery the dynamic query
174            * @param projection the projection to apply to the query
175            * @return the number of rows that match the dynamic query
176            * @throws SystemException if a system exception occurred
177            */
178            @Override
179            public long dynamicQueryCount(
180                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181                    com.liferay.portal.kernel.dao.orm.Projection projection)
182                    throws com.liferay.portal.kernel.exception.SystemException {
183                    return _backgroundTaskLocalService.dynamicQueryCount(dynamicQuery,
184                            projection);
185            }
186    
187            @Override
188            public com.liferay.portal.model.BackgroundTask fetchBackgroundTask(
189                    long backgroundTaskId)
190                    throws com.liferay.portal.kernel.exception.SystemException {
191                    return _backgroundTaskLocalService.fetchBackgroundTask(backgroundTaskId);
192            }
193    
194            /**
195            * Returns the background task with the primary key.
196            *
197            * @param backgroundTaskId the primary key of the background task
198            * @return the background task
199            * @throws PortalException if a background task with the primary key could not be found
200            * @throws SystemException if a system exception occurred
201            */
202            @Override
203            public com.liferay.portal.model.BackgroundTask getBackgroundTask(
204                    long backgroundTaskId)
205                    throws com.liferay.portal.kernel.exception.PortalException,
206                            com.liferay.portal.kernel.exception.SystemException {
207                    return _backgroundTaskLocalService.getBackgroundTask(backgroundTaskId);
208            }
209    
210            @Override
211            public com.liferay.portal.model.PersistedModel getPersistedModel(
212                    java.io.Serializable primaryKeyObj)
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException {
215                    return _backgroundTaskLocalService.getPersistedModel(primaryKeyObj);
216            }
217    
218            /**
219            * Returns a range of all the background tasks.
220            *
221            * <p>
222            * 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.BackgroundTaskModelImpl}. 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.
223            * </p>
224            *
225            * @param start the lower bound of the range of background tasks
226            * @param end the upper bound of the range of background tasks (not inclusive)
227            * @return the range of background tasks
228            * @throws SystemException if a system exception occurred
229            */
230            @Override
231            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
232                    int start, int end)
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return _backgroundTaskLocalService.getBackgroundTasks(start, end);
235            }
236    
237            /**
238            * Returns the number of background tasks.
239            *
240            * @return the number of background tasks
241            * @throws SystemException if a system exception occurred
242            */
243            @Override
244            public int getBackgroundTasksCount()
245                    throws com.liferay.portal.kernel.exception.SystemException {
246                    return _backgroundTaskLocalService.getBackgroundTasksCount();
247            }
248    
249            /**
250            * Updates the background task in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
251            *
252            * @param backgroundTask the background task
253            * @return the background task that was updated
254            * @throws SystemException if a system exception occurred
255            */
256            @Override
257            public com.liferay.portal.model.BackgroundTask updateBackgroundTask(
258                    com.liferay.portal.model.BackgroundTask backgroundTask)
259                    throws com.liferay.portal.kernel.exception.SystemException {
260                    return _backgroundTaskLocalService.updateBackgroundTask(backgroundTask);
261            }
262    
263            /**
264            * Returns the Spring bean ID for this bean.
265            *
266            * @return the Spring bean ID for this bean
267            */
268            @Override
269            public java.lang.String getBeanIdentifier() {
270                    return _backgroundTaskLocalService.getBeanIdentifier();
271            }
272    
273            /**
274            * Sets the Spring bean ID for this bean.
275            *
276            * @param beanIdentifier the Spring bean ID for this bean
277            */
278            @Override
279            public void setBeanIdentifier(java.lang.String beanIdentifier) {
280                    _backgroundTaskLocalService.setBeanIdentifier(beanIdentifier);
281            }
282    
283            @Override
284            public com.liferay.portal.model.BackgroundTask addBackgroundTask(
285                    long userId, long groupId, java.lang.String name,
286                    java.lang.String[] servletContextNames,
287                    java.lang.Class<?> taskExecutorClass,
288                    java.util.Map<java.lang.String, java.io.Serializable> taskContextMap,
289                    com.liferay.portal.service.ServiceContext serviceContext)
290                    throws com.liferay.portal.kernel.exception.PortalException,
291                            com.liferay.portal.kernel.exception.SystemException {
292                    return _backgroundTaskLocalService.addBackgroundTask(userId, groupId,
293                            name, servletContextNames, taskExecutorClass, taskContextMap,
294                            serviceContext);
295            }
296    
297            @Override
298            public void addBackgroundTaskAttachment(long userId, long backgroundTaskId,
299                    java.lang.String fileName, java.io.File file)
300                    throws com.liferay.portal.kernel.exception.PortalException,
301                            com.liferay.portal.kernel.exception.SystemException {
302                    _backgroundTaskLocalService.addBackgroundTaskAttachment(userId,
303                            backgroundTaskId, fileName, file);
304            }
305    
306            @Override
307            public void addBackgroundTaskAttachment(long userId, long backgroundTaskId,
308                    java.lang.String fileName, java.io.InputStream inputStream)
309                    throws com.liferay.portal.kernel.exception.PortalException,
310                            com.liferay.portal.kernel.exception.SystemException {
311                    _backgroundTaskLocalService.addBackgroundTaskAttachment(userId,
312                            backgroundTaskId, fileName, inputStream);
313            }
314    
315            @Override
316            public com.liferay.portal.model.BackgroundTask amendBackgroundTask(
317                    long backgroundTaskId,
318                    java.util.Map<java.lang.String, java.io.Serializable> taskContextMap,
319                    int status, com.liferay.portal.service.ServiceContext serviceContext)
320                    throws com.liferay.portal.kernel.exception.SystemException {
321                    return _backgroundTaskLocalService.amendBackgroundTask(backgroundTaskId,
322                            taskContextMap, status, serviceContext);
323            }
324    
325            @Override
326            public com.liferay.portal.model.BackgroundTask amendBackgroundTask(
327                    long backgroundTaskId,
328                    java.util.Map<java.lang.String, java.io.Serializable> taskContextMap,
329                    int status, java.lang.String statusMessage,
330                    com.liferay.portal.service.ServiceContext serviceContext)
331                    throws com.liferay.portal.kernel.exception.SystemException {
332                    return _backgroundTaskLocalService.amendBackgroundTask(backgroundTaskId,
333                            taskContextMap, status, statusMessage, serviceContext);
334            }
335    
336            @Override
337            public void cleanUpBackgroundTasks()
338                    throws com.liferay.portal.kernel.exception.SystemException {
339                    _backgroundTaskLocalService.cleanUpBackgroundTasks();
340            }
341    
342            @Override
343            public void deleteCompanyBackgroundTasks(long companyId)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException {
346                    _backgroundTaskLocalService.deleteCompanyBackgroundTasks(companyId);
347            }
348    
349            @Override
350            public void deleteGroupBackgroundTasks(long groupId)
351                    throws com.liferay.portal.kernel.exception.PortalException,
352                            com.liferay.portal.kernel.exception.SystemException {
353                    _backgroundTaskLocalService.deleteGroupBackgroundTasks(groupId);
354            }
355    
356            @Override
357            public com.liferay.portal.model.BackgroundTask fetchFirstBackgroundTask(
358                    java.lang.String taskExecutorClassName, int status)
359                    throws com.liferay.portal.kernel.exception.SystemException {
360                    return _backgroundTaskLocalService.fetchFirstBackgroundTask(taskExecutorClassName,
361                            status);
362            }
363    
364            @Override
365            public com.liferay.portal.model.BackgroundTask fetchFirstBackgroundTask(
366                    java.lang.String taskExecutorClassName, int status,
367                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
368                    throws com.liferay.portal.kernel.exception.SystemException {
369                    return _backgroundTaskLocalService.fetchFirstBackgroundTask(taskExecutorClassName,
370                            status, orderByComparator);
371            }
372    
373            @Override
374            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
375                    long groupId, int status)
376                    throws com.liferay.portal.kernel.exception.SystemException {
377                    return _backgroundTaskLocalService.getBackgroundTasks(groupId, status);
378            }
379    
380            @Override
381            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
382                    long groupId, java.lang.String taskExecutorClassName)
383                    throws com.liferay.portal.kernel.exception.SystemException {
384                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
385                            taskExecutorClassName);
386            }
387    
388            @Override
389            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
390                    long groupId, java.lang.String taskExecutorClassName, int status)
391                    throws com.liferay.portal.kernel.exception.SystemException {
392                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
393                            taskExecutorClassName, status);
394            }
395    
396            @Override
397            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
398                    long groupId, java.lang.String taskExecutorClassName, int start,
399                    int end,
400                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
401                    throws com.liferay.portal.kernel.exception.SystemException {
402                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
403                            taskExecutorClassName, start, end, orderByComparator);
404            }
405    
406            @Override
407            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
408                    long groupId, java.lang.String name,
409                    java.lang.String taskExecutorClassName, int start, int end,
410                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
411                    throws com.liferay.portal.kernel.exception.SystemException {
412                    return _backgroundTaskLocalService.getBackgroundTasks(groupId, name,
413                            taskExecutorClassName, start, end, orderByComparator);
414            }
415    
416            @Override
417            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
418                    long groupId, java.lang.String[] taskExecutorClassNames)
419                    throws com.liferay.portal.kernel.exception.SystemException {
420                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
421                            taskExecutorClassNames);
422            }
423    
424            @Override
425            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
426                    long groupId, java.lang.String[] taskExecutorClassNames, int status)
427                    throws com.liferay.portal.kernel.exception.SystemException {
428                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
429                            taskExecutorClassNames, status);
430            }
431    
432            @Override
433            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
434                    long groupId, java.lang.String[] taskExecutorClassNames, int start,
435                    int end,
436                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
437                    throws com.liferay.portal.kernel.exception.SystemException {
438                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
439                            taskExecutorClassNames, start, end, orderByComparator);
440            }
441    
442            @Override
443            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
444                    java.lang.String taskExecutorClassName, int status)
445                    throws com.liferay.portal.kernel.exception.SystemException {
446                    return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassName,
447                            status);
448            }
449    
450            @Override
451            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
452                    java.lang.String taskExecutorClassName, int status, int start, int end,
453                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
454                    throws com.liferay.portal.kernel.exception.SystemException {
455                    return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassName,
456                            status, start, end, orderByComparator);
457            }
458    
459            @Override
460            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
461                    java.lang.String[] taskExecutorClassNames, int status)
462                    throws com.liferay.portal.kernel.exception.SystemException {
463                    return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassNames,
464                            status);
465            }
466    
467            @Override
468            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
469                    java.lang.String[] taskExecutorClassNames, int status, int start,
470                    int end,
471                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
472                    throws com.liferay.portal.kernel.exception.SystemException {
473                    return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassNames,
474                            status, start, end, orderByComparator);
475            }
476    
477            @Override
478            public int getBackgroundTasksCount(long groupId,
479                    java.lang.String taskExecutorClassName)
480                    throws com.liferay.portal.kernel.exception.SystemException {
481                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
482                            taskExecutorClassName);
483            }
484    
485            @Override
486            public int getBackgroundTasksCount(long groupId,
487                    java.lang.String taskExecutorClassName, boolean completed)
488                    throws com.liferay.portal.kernel.exception.SystemException {
489                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
490                            taskExecutorClassName, completed);
491            }
492    
493            @Override
494            public int getBackgroundTasksCount(long groupId, java.lang.String name,
495                    java.lang.String taskExecutorClassName)
496                    throws com.liferay.portal.kernel.exception.SystemException {
497                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
498                            name, taskExecutorClassName);
499            }
500    
501            @Override
502            public int getBackgroundTasksCount(long groupId, java.lang.String name,
503                    java.lang.String taskExecutorClassName, boolean completed)
504                    throws com.liferay.portal.kernel.exception.SystemException {
505                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
506                            name, taskExecutorClassName, completed);
507            }
508    
509            @Override
510            public int getBackgroundTasksCount(long groupId,
511                    java.lang.String[] taskExecutorClassNames)
512                    throws com.liferay.portal.kernel.exception.SystemException {
513                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
514                            taskExecutorClassNames);
515            }
516    
517            @Override
518            public int getBackgroundTasksCount(long groupId,
519                    java.lang.String[] taskExecutorClassNames, boolean completed)
520                    throws com.liferay.portal.kernel.exception.SystemException {
521                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
522                            taskExecutorClassNames, completed);
523            }
524    
525            @Override
526            public java.lang.String getBackgroundTaskStatusJSON(long backgroundTaskId) {
527                    return _backgroundTaskLocalService.getBackgroundTaskStatusJSON(backgroundTaskId);
528            }
529    
530            @Override
531            public void resumeBackgroundTask(long backgroundTaskId)
532                    throws com.liferay.portal.kernel.exception.SystemException {
533                    _backgroundTaskLocalService.resumeBackgroundTask(backgroundTaskId);
534            }
535    
536            /**
537             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
538             */
539            public BackgroundTaskLocalService getWrappedBackgroundTaskLocalService() {
540                    return _backgroundTaskLocalService;
541            }
542    
543            /**
544             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
545             */
546            public void setWrappedBackgroundTaskLocalService(
547                    BackgroundTaskLocalService backgroundTaskLocalService) {
548                    _backgroundTaskLocalService = backgroundTaskLocalService;
549            }
550    
551            @Override
552            public BackgroundTaskLocalService getWrappedService() {
553                    return _backgroundTaskLocalService;
554            }
555    
556            @Override
557            public void setWrappedService(
558                    BackgroundTaskLocalService backgroundTaskLocalService) {
559                    _backgroundTaskLocalService = backgroundTaskLocalService;
560            }
561    
562            private BackgroundTaskLocalService _backgroundTaskLocalService;
563    }