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 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
539 public BackgroundTaskLocalService getWrappedBackgroundTaskLocalService() {
540 return _backgroundTaskLocalService;
541 }
542
543
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 }