001
014
015 package com.liferay.portal.service;
016
017
024 public class BackgroundTaskLocalServiceWrapper
025 implements BackgroundTaskLocalService,
026 ServiceWrapper<BackgroundTaskLocalService> {
027 public BackgroundTaskLocalServiceWrapper(
028 BackgroundTaskLocalService backgroundTaskLocalService) {
029 _backgroundTaskLocalService = backgroundTaskLocalService;
030 }
031
032
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
052 @Override
053 public com.liferay.portal.model.BackgroundTask createBackgroundTask(
054 long backgroundTaskId) {
055 return _backgroundTaskLocalService.createBackgroundTask(backgroundTaskId);
056 }
057
058
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
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
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
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
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
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
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
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
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
243 @Override
244 public int getBackgroundTasksCount()
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _backgroundTaskLocalService.getBackgroundTasksCount();
247 }
248
249
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
268 @Override
269 public java.lang.String getBeanIdentifier() {
270 return _backgroundTaskLocalService.getBeanIdentifier();
271 }
272
273
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
550 public BackgroundTaskLocalService getWrappedBackgroundTaskLocalService() {
551 return _backgroundTaskLocalService;
552 }
553
554
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 }