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 cleanUpBackgroundTask(
338                    com.liferay.portal.model.BackgroundTask backgroundTask, int status) {
339                    _backgroundTaskLocalService.cleanUpBackgroundTask(backgroundTask, status);
340            }
341    
342            @Override
343            public void cleanUpBackgroundTasks()
344                    throws com.liferay.portal.kernel.exception.SystemException {
345                    _backgroundTaskLocalService.cleanUpBackgroundTasks();
346            }
347    
348            @Override
349            public void deleteCompanyBackgroundTasks(long companyId)
350                    throws com.liferay.portal.kernel.exception.PortalException,
351                            com.liferay.portal.kernel.exception.SystemException {
352                    _backgroundTaskLocalService.deleteCompanyBackgroundTasks(companyId);
353            }
354    
355            @Override
356            public void deleteGroupBackgroundTasks(long groupId)
357                    throws com.liferay.portal.kernel.exception.PortalException,
358                            com.liferay.portal.kernel.exception.SystemException {
359                    _backgroundTaskLocalService.deleteGroupBackgroundTasks(groupId);
360            }
361    
362            @Override
363            public com.liferay.portal.model.BackgroundTask fetchFirstBackgroundTask(
364                    java.lang.String taskExecutorClassName, int status)
365                    throws com.liferay.portal.kernel.exception.SystemException {
366                    return _backgroundTaskLocalService.fetchFirstBackgroundTask(taskExecutorClassName,
367                            status);
368            }
369    
370            @Override
371            public com.liferay.portal.model.BackgroundTask fetchFirstBackgroundTask(
372                    java.lang.String taskExecutorClassName, int status,
373                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
374                    throws com.liferay.portal.kernel.exception.SystemException {
375                    return _backgroundTaskLocalService.fetchFirstBackgroundTask(taskExecutorClassName,
376                            status, orderByComparator);
377            }
378    
379            @Override
380            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
381                    long groupId, int status)
382                    throws com.liferay.portal.kernel.exception.SystemException {
383                    return _backgroundTaskLocalService.getBackgroundTasks(groupId, status);
384            }
385    
386            @Override
387            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
388                    long groupId, java.lang.String taskExecutorClassName)
389                    throws com.liferay.portal.kernel.exception.SystemException {
390                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
391                            taskExecutorClassName);
392            }
393    
394            @Override
395            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
396                    long groupId, java.lang.String taskExecutorClassName, int status)
397                    throws com.liferay.portal.kernel.exception.SystemException {
398                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
399                            taskExecutorClassName, status);
400            }
401    
402            @Override
403            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
404                    long groupId, java.lang.String taskExecutorClassName, int start,
405                    int end,
406                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
407                    throws com.liferay.portal.kernel.exception.SystemException {
408                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
409                            taskExecutorClassName, start, end, orderByComparator);
410            }
411    
412            @Override
413            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
414                    long groupId, java.lang.String name,
415                    java.lang.String taskExecutorClassName, int start, int end,
416                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
417                    throws com.liferay.portal.kernel.exception.SystemException {
418                    return _backgroundTaskLocalService.getBackgroundTasks(groupId, name,
419                            taskExecutorClassName, start, end, orderByComparator);
420            }
421    
422            @Override
423            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
424                    long groupId, java.lang.String[] taskExecutorClassNames)
425                    throws com.liferay.portal.kernel.exception.SystemException {
426                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
427                            taskExecutorClassNames);
428            }
429    
430            @Override
431            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
432                    long groupId, java.lang.String[] taskExecutorClassNames, int status)
433                    throws com.liferay.portal.kernel.exception.SystemException {
434                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
435                            taskExecutorClassNames, status);
436            }
437    
438            @Override
439            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
440                    long groupId, java.lang.String[] taskExecutorClassNames, int start,
441                    int end,
442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
443                    throws com.liferay.portal.kernel.exception.SystemException {
444                    return _backgroundTaskLocalService.getBackgroundTasks(groupId,
445                            taskExecutorClassNames, start, end, orderByComparator);
446            }
447    
448            @Override
449            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
450                    java.lang.String taskExecutorClassName, int status)
451                    throws com.liferay.portal.kernel.exception.SystemException {
452                    return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassName,
453                            status);
454            }
455    
456            @Override
457            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
458                    java.lang.String taskExecutorClassName, int status, int start, int end,
459                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
460                    throws com.liferay.portal.kernel.exception.SystemException {
461                    return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassName,
462                            status, start, end, orderByComparator);
463            }
464    
465            @Override
466            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
467                    java.lang.String[] taskExecutorClassNames, int status)
468                    throws com.liferay.portal.kernel.exception.SystemException {
469                    return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassNames,
470                            status);
471            }
472    
473            @Override
474            public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
475                    java.lang.String[] taskExecutorClassNames, int status, int start,
476                    int end,
477                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
478                    throws com.liferay.portal.kernel.exception.SystemException {
479                    return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassNames,
480                            status, start, end, orderByComparator);
481            }
482    
483            @Override
484            public int getBackgroundTasksCount(long groupId,
485                    java.lang.String taskExecutorClassName)
486                    throws com.liferay.portal.kernel.exception.SystemException {
487                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
488                            taskExecutorClassName);
489            }
490    
491            @Override
492            public int getBackgroundTasksCount(long groupId,
493                    java.lang.String taskExecutorClassName, boolean completed)
494                    throws com.liferay.portal.kernel.exception.SystemException {
495                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
496                            taskExecutorClassName, completed);
497            }
498    
499            @Override
500            public int getBackgroundTasksCount(long groupId, java.lang.String name,
501                    java.lang.String taskExecutorClassName)
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
504                            name, taskExecutorClassName);
505            }
506    
507            @Override
508            public int getBackgroundTasksCount(long groupId, java.lang.String name,
509                    java.lang.String taskExecutorClassName, boolean completed)
510                    throws com.liferay.portal.kernel.exception.SystemException {
511                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
512                            name, taskExecutorClassName, completed);
513            }
514    
515            @Override
516            public int getBackgroundTasksCount(long groupId,
517                    java.lang.String[] taskExecutorClassNames)
518                    throws com.liferay.portal.kernel.exception.SystemException {
519                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
520                            taskExecutorClassNames);
521            }
522    
523            @Override
524            public int getBackgroundTasksCount(long groupId,
525                    java.lang.String[] taskExecutorClassNames, boolean completed)
526                    throws com.liferay.portal.kernel.exception.SystemException {
527                    return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
528                            taskExecutorClassNames, completed);
529            }
530    
531            @Override
532            public java.lang.String getBackgroundTaskStatusJSON(long backgroundTaskId) {
533                    return _backgroundTaskLocalService.getBackgroundTaskStatusJSON(backgroundTaskId);
534            }
535    
536            @Override
537            public void resumeBackgroundTask(long backgroundTaskId)
538                    throws com.liferay.portal.kernel.exception.SystemException {
539                    _backgroundTaskLocalService.resumeBackgroundTask(backgroundTaskId);
540            }
541    
542            @Override
543            public void triggerBackgroundTask(long backgroundTaskId) {
544                    _backgroundTaskLocalService.triggerBackgroundTask(backgroundTaskId);
545            }
546    
547            /**
548             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
549             */
550            public BackgroundTaskLocalService getWrappedBackgroundTaskLocalService() {
551                    return _backgroundTaskLocalService;
552            }
553    
554            /**
555             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
556             */
557            public void setWrappedBackgroundTaskLocalService(
558                    BackgroundTaskLocalService backgroundTaskLocalService) {
559                    _backgroundTaskLocalService = backgroundTaskLocalService;
560            }
561    
562            @Override
563            public BackgroundTaskLocalService getWrappedService() {
564                    return _backgroundTaskLocalService;
565            }
566    
567            @Override
568            public void setWrappedService(
569                    BackgroundTaskLocalService backgroundTaskLocalService) {
570                    _backgroundTaskLocalService = backgroundTaskLocalService;
571            }
572    
573            private BackgroundTaskLocalService _backgroundTaskLocalService;
574    }