1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.tasks.service;
16  
17  /**
18   * <a href="TasksReviewLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link TasksReviewLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       TasksReviewLocalService
31   * @generated
32   */
33  public class TasksReviewLocalServiceWrapper implements TasksReviewLocalService {
34      public TasksReviewLocalServiceWrapper(
35          TasksReviewLocalService tasksReviewLocalService) {
36          _tasksReviewLocalService = tasksReviewLocalService;
37      }
38  
39      public com.liferay.portlet.tasks.model.TasksReview addTasksReview(
40          com.liferay.portlet.tasks.model.TasksReview tasksReview)
41          throws com.liferay.portal.SystemException {
42          return _tasksReviewLocalService.addTasksReview(tasksReview);
43      }
44  
45      public com.liferay.portlet.tasks.model.TasksReview createTasksReview(
46          long reviewId) {
47          return _tasksReviewLocalService.createTasksReview(reviewId);
48      }
49  
50      public void deleteTasksReview(long reviewId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _tasksReviewLocalService.deleteTasksReview(reviewId);
54      }
55  
56      public void deleteTasksReview(
57          com.liferay.portlet.tasks.model.TasksReview tasksReview)
58          throws com.liferay.portal.SystemException {
59          _tasksReviewLocalService.deleteTasksReview(tasksReview);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _tasksReviewLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _tasksReviewLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _tasksReviewLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _tasksReviewLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.tasks.model.TasksReview getTasksReview(
93          long reviewId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _tasksReviewLocalService.getTasksReview(reviewId);
97      }
98  
99      public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getTasksReviews(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _tasksReviewLocalService.getTasksReviews(start, end);
102     }
103 
104     public int getTasksReviewsCount() throws com.liferay.portal.SystemException {
105         return _tasksReviewLocalService.getTasksReviewsCount();
106     }
107 
108     public com.liferay.portlet.tasks.model.TasksReview updateTasksReview(
109         com.liferay.portlet.tasks.model.TasksReview tasksReview)
110         throws com.liferay.portal.SystemException {
111         return _tasksReviewLocalService.updateTasksReview(tasksReview);
112     }
113 
114     public com.liferay.portlet.tasks.model.TasksReview updateTasksReview(
115         com.liferay.portlet.tasks.model.TasksReview tasksReview, boolean merge)
116         throws com.liferay.portal.SystemException {
117         return _tasksReviewLocalService.updateTasksReview(tasksReview, merge);
118     }
119 
120     public com.liferay.portlet.tasks.model.TasksReview addReview(long userId,
121         long proposalId, long assignedByUserId, int stage)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _tasksReviewLocalService.addReview(userId, proposalId,
125             assignedByUserId, stage);
126     }
127 
128     public com.liferay.portlet.tasks.model.TasksReview approveReview(
129         long userId, long proposalId, int stage)
130         throws com.liferay.portal.PortalException,
131             com.liferay.portal.SystemException {
132         return _tasksReviewLocalService.approveReview(userId, proposalId, stage);
133     }
134 
135     public void deleteReview(long reviewId)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         _tasksReviewLocalService.deleteReview(reviewId);
139     }
140 
141     public void deleteReview(com.liferay.portlet.tasks.model.TasksReview review)
142         throws com.liferay.portal.SystemException {
143         _tasksReviewLocalService.deleteReview(review);
144     }
145 
146     public void deleteReviews(long proposalId)
147         throws com.liferay.portal.SystemException {
148         _tasksReviewLocalService.deleteReviews(proposalId);
149     }
150 
151     public com.liferay.portlet.tasks.model.TasksReview getReview(long reviewId)
152         throws com.liferay.portal.PortalException,
153             com.liferay.portal.SystemException {
154         return _tasksReviewLocalService.getReview(reviewId);
155     }
156 
157     public com.liferay.portlet.tasks.model.TasksReview getReview(long userId,
158         long proposalId)
159         throws com.liferay.portal.PortalException,
160             com.liferay.portal.SystemException {
161         return _tasksReviewLocalService.getReview(userId, proposalId);
162     }
163 
164     public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(
165         long proposalId) throws com.liferay.portal.SystemException {
166         return _tasksReviewLocalService.getReviews(proposalId);
167     }
168 
169     public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(
170         long proposalId, int stage) throws com.liferay.portal.SystemException {
171         return _tasksReviewLocalService.getReviews(proposalId, stage);
172     }
173 
174     public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(
175         long proposalId, int stage, boolean completed)
176         throws com.liferay.portal.SystemException {
177         return _tasksReviewLocalService.getReviews(proposalId, stage, completed);
178     }
179 
180     public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(
181         long proposalId, int stage, boolean completed, boolean rejected)
182         throws com.liferay.portal.SystemException {
183         return _tasksReviewLocalService.getReviews(proposalId, stage,
184             completed, rejected);
185     }
186 
187     public com.liferay.portlet.tasks.model.TasksReview rejectReview(
188         long userId, long proposalId, int stage)
189         throws com.liferay.portal.PortalException,
190             com.liferay.portal.SystemException {
191         return _tasksReviewLocalService.rejectReview(userId, proposalId, stage);
192     }
193 
194     public void updateReviews(long proposalId, long assignedByUserId,
195         long[][] userIdsPerStage)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         _tasksReviewLocalService.updateReviews(proposalId, assignedByUserId,
199             userIdsPerStage);
200     }
201 
202     public TasksReviewLocalService getWrappedTasksReviewLocalService() {
203         return _tasksReviewLocalService;
204     }
205 
206     private TasksReviewLocalService _tasksReviewLocalService;
207 }