001
014
015 package com.liferay.portlet.tasks.service;
016
017
026 public class TasksReviewServiceWrapper implements TasksReviewService {
027 public TasksReviewServiceWrapper(TasksReviewService tasksReviewService) {
028 _tasksReviewService = tasksReviewService;
029 }
030
031 public com.liferay.portlet.tasks.model.TasksReview approveReview(
032 long proposalId, int stage)
033 throws com.liferay.portal.kernel.exception.PortalException,
034 com.liferay.portal.kernel.exception.SystemException {
035 return _tasksReviewService.approveReview(proposalId, stage);
036 }
037
038 public com.liferay.portlet.tasks.model.TasksReview rejectReview(
039 long proposalId, int stage)
040 throws com.liferay.portal.kernel.exception.PortalException,
041 com.liferay.portal.kernel.exception.SystemException {
042 return _tasksReviewService.rejectReview(proposalId, stage);
043 }
044
045 public void updateReviews(long proposalId, long[][] userIdsPerStage)
046 throws com.liferay.portal.kernel.exception.PortalException,
047 com.liferay.portal.kernel.exception.SystemException {
048 _tasksReviewService.updateReviews(proposalId, userIdsPerStage);
049 }
050
051 public TasksReviewService getWrappedTasksReviewService() {
052 return _tasksReviewService;
053 }
054
055 private TasksReviewService _tasksReviewService;
056 }