001
014
015 package com.liferay.portal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
026 @ProviderType
027 public class BackgroundTaskLocalServiceWrapper
028 implements BackgroundTaskLocalService,
029 ServiceWrapper<BackgroundTaskLocalService> {
030 public BackgroundTaskLocalServiceWrapper(
031 BackgroundTaskLocalService backgroundTaskLocalService) {
032 _backgroundTaskLocalService = backgroundTaskLocalService;
033 }
034
035
042 @Override
043 public com.liferay.portal.model.BackgroundTask addBackgroundTask(
044 com.liferay.portal.model.BackgroundTask backgroundTask)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _backgroundTaskLocalService.addBackgroundTask(backgroundTask);
047 }
048
049
055 @Override
056 public com.liferay.portal.model.BackgroundTask createBackgroundTask(
057 long backgroundTaskId) {
058 return _backgroundTaskLocalService.createBackgroundTask(backgroundTaskId);
059 }
060
061
069 @Override
070 public com.liferay.portal.model.BackgroundTask deleteBackgroundTask(
071 long backgroundTaskId)
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException {
074 return _backgroundTaskLocalService.deleteBackgroundTask(backgroundTaskId);
075 }
076
077
085 @Override
086 public com.liferay.portal.model.BackgroundTask deleteBackgroundTask(
087 com.liferay.portal.model.BackgroundTask backgroundTask)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _backgroundTaskLocalService.deleteBackgroundTask(backgroundTask);
091 }
092
093 @Override
094 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
095 return _backgroundTaskLocalService.dynamicQuery();
096 }
097
098
105 @Override
106 @SuppressWarnings("rawtypes")
107 public java.util.List dynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _backgroundTaskLocalService.dynamicQuery(dynamicQuery);
111 }
112
113
126 @Override
127 @SuppressWarnings("rawtypes")
128 public java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 return _backgroundTaskLocalService.dynamicQuery(dynamicQuery, start, end);
132 }
133
134
148 @Override
149 @SuppressWarnings("rawtypes")
150 public java.util.List dynamicQuery(
151 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
152 int end,
153 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _backgroundTaskLocalService.dynamicQuery(dynamicQuery, start,
156 end, orderByComparator);
157 }
158
159
166 @Override
167 public long dynamicQueryCount(
168 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
169 throws com.liferay.portal.kernel.exception.SystemException {
170 return _backgroundTaskLocalService.dynamicQueryCount(dynamicQuery);
171 }
172
173
181 @Override
182 public long dynamicQueryCount(
183 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
184 com.liferay.portal.kernel.dao.orm.Projection projection)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return _backgroundTaskLocalService.dynamicQueryCount(dynamicQuery,
187 projection);
188 }
189
190 @Override
191 public com.liferay.portal.model.BackgroundTask fetchBackgroundTask(
192 long backgroundTaskId)
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _backgroundTaskLocalService.fetchBackgroundTask(backgroundTaskId);
195 }
196
197
205 @Override
206 public com.liferay.portal.model.BackgroundTask getBackgroundTask(
207 long backgroundTaskId)
208 throws com.liferay.portal.kernel.exception.PortalException,
209 com.liferay.portal.kernel.exception.SystemException {
210 return _backgroundTaskLocalService.getBackgroundTask(backgroundTaskId);
211 }
212
213 @Override
214 public com.liferay.portal.model.PersistedModel getPersistedModel(
215 java.io.Serializable primaryKeyObj)
216 throws com.liferay.portal.kernel.exception.PortalException,
217 com.liferay.portal.kernel.exception.SystemException {
218 return _backgroundTaskLocalService.getPersistedModel(primaryKeyObj);
219 }
220
221
233 @Override
234 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
235 int start, int end)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return _backgroundTaskLocalService.getBackgroundTasks(start, end);
238 }
239
240
246 @Override
247 public int getBackgroundTasksCount()
248 throws com.liferay.portal.kernel.exception.SystemException {
249 return _backgroundTaskLocalService.getBackgroundTasksCount();
250 }
251
252
259 @Override
260 public com.liferay.portal.model.BackgroundTask updateBackgroundTask(
261 com.liferay.portal.model.BackgroundTask backgroundTask)
262 throws com.liferay.portal.kernel.exception.SystemException {
263 return _backgroundTaskLocalService.updateBackgroundTask(backgroundTask);
264 }
265
266
271 @Override
272 public java.lang.String getBeanIdentifier() {
273 return _backgroundTaskLocalService.getBeanIdentifier();
274 }
275
276
281 @Override
282 public void setBeanIdentifier(java.lang.String beanIdentifier) {
283 _backgroundTaskLocalService.setBeanIdentifier(beanIdentifier);
284 }
285
286 @Override
287 public com.liferay.portal.model.BackgroundTask addBackgroundTask(
288 long userId, long groupId, java.lang.String name,
289 java.lang.String[] servletContextNames,
290 java.lang.Class<?> taskExecutorClass,
291 java.util.Map<java.lang.String, java.io.Serializable> taskContextMap,
292 com.liferay.portal.service.ServiceContext serviceContext)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _backgroundTaskLocalService.addBackgroundTask(userId, groupId,
296 name, servletContextNames, taskExecutorClass, taskContextMap,
297 serviceContext);
298 }
299
300 @Override
301 public void addBackgroundTaskAttachment(long userId, long backgroundTaskId,
302 java.lang.String fileName, java.io.File file)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 _backgroundTaskLocalService.addBackgroundTaskAttachment(userId,
306 backgroundTaskId, fileName, file);
307 }
308
309 @Override
310 public void addBackgroundTaskAttachment(long userId, long backgroundTaskId,
311 java.lang.String fileName, java.io.InputStream inputStream)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _backgroundTaskLocalService.addBackgroundTaskAttachment(userId,
315 backgroundTaskId, fileName, inputStream);
316 }
317
318 @Override
319 public com.liferay.portal.model.BackgroundTask amendBackgroundTask(
320 long backgroundTaskId,
321 java.util.Map<java.lang.String, java.io.Serializable> taskContextMap,
322 int status, com.liferay.portal.service.ServiceContext serviceContext)
323 throws com.liferay.portal.kernel.exception.SystemException {
324 return _backgroundTaskLocalService.amendBackgroundTask(backgroundTaskId,
325 taskContextMap, status, serviceContext);
326 }
327
328 @Override
329 public com.liferay.portal.model.BackgroundTask amendBackgroundTask(
330 long backgroundTaskId,
331 java.util.Map<java.lang.String, java.io.Serializable> taskContextMap,
332 int status, java.lang.String statusMessage,
333 com.liferay.portal.service.ServiceContext serviceContext)
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return _backgroundTaskLocalService.amendBackgroundTask(backgroundTaskId,
336 taskContextMap, status, statusMessage, serviceContext);
337 }
338
339 @Override
340 public void cleanUpBackgroundTask(
341 com.liferay.portal.model.BackgroundTask backgroundTask, int status) {
342 _backgroundTaskLocalService.cleanUpBackgroundTask(backgroundTask, status);
343 }
344
345 @Override
346 public void cleanUpBackgroundTasks()
347 throws com.liferay.portal.kernel.exception.SystemException {
348 _backgroundTaskLocalService.cleanUpBackgroundTasks();
349 }
350
351 @Override
352 public void deleteCompanyBackgroundTasks(long companyId)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 _backgroundTaskLocalService.deleteCompanyBackgroundTasks(companyId);
356 }
357
358 @Override
359 public void deleteGroupBackgroundTasks(long groupId)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 _backgroundTaskLocalService.deleteGroupBackgroundTasks(groupId);
363 }
364
365 @Override
366 public com.liferay.portal.model.BackgroundTask fetchFirstBackgroundTask(
367 long groupId, java.lang.String taskExecutorClassName,
368 boolean completed,
369 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
370 throws com.liferay.portal.kernel.exception.SystemException {
371 return _backgroundTaskLocalService.fetchFirstBackgroundTask(groupId,
372 taskExecutorClassName, completed, orderByComparator);
373 }
374
375 @Override
376 public com.liferay.portal.model.BackgroundTask fetchFirstBackgroundTask(
377 java.lang.String taskExecutorClassName, int status)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 return _backgroundTaskLocalService.fetchFirstBackgroundTask(taskExecutorClassName,
380 status);
381 }
382
383 @Override
384 public com.liferay.portal.model.BackgroundTask fetchFirstBackgroundTask(
385 java.lang.String taskExecutorClassName, int status,
386 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _backgroundTaskLocalService.fetchFirstBackgroundTask(taskExecutorClassName,
389 status, orderByComparator);
390 }
391
392 @Override
393 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
394 long groupId, int status)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _backgroundTaskLocalService.getBackgroundTasks(groupId, status);
397 }
398
399 @Override
400 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
401 long groupId, java.lang.String taskExecutorClassName)
402 throws com.liferay.portal.kernel.exception.SystemException {
403 return _backgroundTaskLocalService.getBackgroundTasks(groupId,
404 taskExecutorClassName);
405 }
406
407 @Override
408 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
409 long groupId, java.lang.String taskExecutorClassName, int status)
410 throws com.liferay.portal.kernel.exception.SystemException {
411 return _backgroundTaskLocalService.getBackgroundTasks(groupId,
412 taskExecutorClassName, status);
413 }
414
415 @Override
416 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
417 long groupId, java.lang.String taskExecutorClassName, int start,
418 int end,
419 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
420 throws com.liferay.portal.kernel.exception.SystemException {
421 return _backgroundTaskLocalService.getBackgroundTasks(groupId,
422 taskExecutorClassName, start, end, orderByComparator);
423 }
424
425 @Override
426 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
427 long groupId, java.lang.String name,
428 java.lang.String taskExecutorClassName, int start, int end,
429 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return _backgroundTaskLocalService.getBackgroundTasks(groupId, name,
432 taskExecutorClassName, start, end, orderByComparator);
433 }
434
435 @Override
436 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
437 long groupId, java.lang.String[] taskExecutorClassNames)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return _backgroundTaskLocalService.getBackgroundTasks(groupId,
440 taskExecutorClassNames);
441 }
442
443 @Override
444 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
445 long groupId, java.lang.String[] taskExecutorClassNames, int status)
446 throws com.liferay.portal.kernel.exception.SystemException {
447 return _backgroundTaskLocalService.getBackgroundTasks(groupId,
448 taskExecutorClassNames, status);
449 }
450
451 @Override
452 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
453 long groupId, java.lang.String[] taskExecutorClassNames, int start,
454 int end,
455 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
456 throws com.liferay.portal.kernel.exception.SystemException {
457 return _backgroundTaskLocalService.getBackgroundTasks(groupId,
458 taskExecutorClassNames, start, end, orderByComparator);
459 }
460
461 @Override
462 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
463 java.lang.String taskExecutorClassName, int status)
464 throws com.liferay.portal.kernel.exception.SystemException {
465 return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassName,
466 status);
467 }
468
469 @Override
470 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
471 java.lang.String taskExecutorClassName, int status, int start, int end,
472 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
473 throws com.liferay.portal.kernel.exception.SystemException {
474 return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassName,
475 status, start, end, orderByComparator);
476 }
477
478 @Override
479 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
480 java.lang.String[] taskExecutorClassNames, int status)
481 throws com.liferay.portal.kernel.exception.SystemException {
482 return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassNames,
483 status);
484 }
485
486 @Override
487 public java.util.List<com.liferay.portal.model.BackgroundTask> getBackgroundTasks(
488 java.lang.String[] taskExecutorClassNames, int status, int start,
489 int end,
490 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
491 throws com.liferay.portal.kernel.exception.SystemException {
492 return _backgroundTaskLocalService.getBackgroundTasks(taskExecutorClassNames,
493 status, start, end, orderByComparator);
494 }
495
496 @Override
497 public int getBackgroundTasksCount(long groupId,
498 java.lang.String taskExecutorClassName)
499 throws com.liferay.portal.kernel.exception.SystemException {
500 return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
501 taskExecutorClassName);
502 }
503
504 @Override
505 public int getBackgroundTasksCount(long groupId,
506 java.lang.String taskExecutorClassName, boolean completed)
507 throws com.liferay.portal.kernel.exception.SystemException {
508 return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
509 taskExecutorClassName, completed);
510 }
511
512 @Override
513 public int getBackgroundTasksCount(long groupId, java.lang.String name,
514 java.lang.String taskExecutorClassName)
515 throws com.liferay.portal.kernel.exception.SystemException {
516 return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
517 name, taskExecutorClassName);
518 }
519
520 @Override
521 public int getBackgroundTasksCount(long groupId, java.lang.String name,
522 java.lang.String taskExecutorClassName, boolean completed)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
525 name, taskExecutorClassName, completed);
526 }
527
528 @Override
529 public int getBackgroundTasksCount(long groupId,
530 java.lang.String[] taskExecutorClassNames)
531 throws com.liferay.portal.kernel.exception.SystemException {
532 return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
533 taskExecutorClassNames);
534 }
535
536 @Override
537 public int getBackgroundTasksCount(long groupId,
538 java.lang.String[] taskExecutorClassNames, boolean completed)
539 throws com.liferay.portal.kernel.exception.SystemException {
540 return _backgroundTaskLocalService.getBackgroundTasksCount(groupId,
541 taskExecutorClassNames, completed);
542 }
543
544 @Override
545 public java.lang.String getBackgroundTaskStatusJSON(long backgroundTaskId) {
546 return _backgroundTaskLocalService.getBackgroundTaskStatusJSON(backgroundTaskId);
547 }
548
549 @Override
550 public void resumeBackgroundTask(long backgroundTaskId)
551 throws com.liferay.portal.kernel.exception.SystemException {
552 _backgroundTaskLocalService.resumeBackgroundTask(backgroundTaskId);
553 }
554
555 @Override
556 public void triggerBackgroundTask(long backgroundTaskId) {
557 _backgroundTaskLocalService.triggerBackgroundTask(backgroundTaskId);
558 }
559
560
563 public BackgroundTaskLocalService getWrappedBackgroundTaskLocalService() {
564 return _backgroundTaskLocalService;
565 }
566
567
570 public void setWrappedBackgroundTaskLocalService(
571 BackgroundTaskLocalService backgroundTaskLocalService) {
572 _backgroundTaskLocalService = backgroundTaskLocalService;
573 }
574
575 @Override
576 public BackgroundTaskLocalService getWrappedService() {
577 return _backgroundTaskLocalService;
578 }
579
580 @Override
581 public void setWrappedService(
582 BackgroundTaskLocalService backgroundTaskLocalService) {
583 _backgroundTaskLocalService = backgroundTaskLocalService;
584 }
585
586 private BackgroundTaskLocalService _backgroundTaskLocalService;
587 }