001
014
015 package com.liferay.portlet.tasks.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.tasks.model.TasksReview;
020
021
027 public interface TasksReviewPersistence extends BasePersistence<TasksReview> {
028 public void cacheResult(
029 com.liferay.portlet.tasks.model.TasksReview tasksReview);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.tasks.model.TasksReview> tasksReviews);
033
034 public com.liferay.portlet.tasks.model.TasksReview create(long reviewId);
035
036 public com.liferay.portlet.tasks.model.TasksReview remove(long reviewId)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.tasks.NoSuchReviewException;
039
040 public com.liferay.portlet.tasks.model.TasksReview updateImpl(
041 com.liferay.portlet.tasks.model.TasksReview tasksReview, boolean merge)
042 throws com.liferay.portal.kernel.exception.SystemException;
043
044 public com.liferay.portlet.tasks.model.TasksReview findByPrimaryKey(
045 long reviewId)
046 throws com.liferay.portal.kernel.exception.SystemException,
047 com.liferay.portlet.tasks.NoSuchReviewException;
048
049 public com.liferay.portlet.tasks.model.TasksReview fetchByPrimaryKey(
050 long reviewId)
051 throws com.liferay.portal.kernel.exception.SystemException;
052
053 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(
054 long userId) throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(
057 long userId, int start, int end)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(
061 long userId, int start, int end,
062 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
063 throws com.liferay.portal.kernel.exception.SystemException;
064
065 public com.liferay.portlet.tasks.model.TasksReview findByUserId_First(
066 long userId,
067 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
068 throws com.liferay.portal.kernel.exception.SystemException,
069 com.liferay.portlet.tasks.NoSuchReviewException;
070
071 public com.liferay.portlet.tasks.model.TasksReview findByUserId_Last(
072 long userId,
073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074 throws com.liferay.portal.kernel.exception.SystemException,
075 com.liferay.portlet.tasks.NoSuchReviewException;
076
077 public com.liferay.portlet.tasks.model.TasksReview[] findByUserId_PrevAndNext(
078 long reviewId, long userId,
079 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
080 throws com.liferay.portal.kernel.exception.SystemException,
081 com.liferay.portlet.tasks.NoSuchReviewException;
082
083 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(
084 long proposalId)
085 throws com.liferay.portal.kernel.exception.SystemException;
086
087 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(
088 long proposalId, int start, int end)
089 throws com.liferay.portal.kernel.exception.SystemException;
090
091 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(
092 long proposalId, int start, int end,
093 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096 public com.liferay.portlet.tasks.model.TasksReview findByProposalId_First(
097 long proposalId,
098 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
099 throws com.liferay.portal.kernel.exception.SystemException,
100 com.liferay.portlet.tasks.NoSuchReviewException;
101
102 public com.liferay.portlet.tasks.model.TasksReview findByProposalId_Last(
103 long proposalId,
104 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105 throws com.liferay.portal.kernel.exception.SystemException,
106 com.liferay.portlet.tasks.NoSuchReviewException;
107
108 public com.liferay.portlet.tasks.model.TasksReview[] findByProposalId_PrevAndNext(
109 long reviewId, long proposalId,
110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111 throws com.liferay.portal.kernel.exception.SystemException,
112 com.liferay.portlet.tasks.NoSuchReviewException;
113
114 public com.liferay.portlet.tasks.model.TasksReview findByU_P(long userId,
115 long proposalId)
116 throws com.liferay.portal.kernel.exception.SystemException,
117 com.liferay.portlet.tasks.NoSuchReviewException;
118
119 public com.liferay.portlet.tasks.model.TasksReview fetchByU_P(long userId,
120 long proposalId)
121 throws com.liferay.portal.kernel.exception.SystemException;
122
123 public com.liferay.portlet.tasks.model.TasksReview fetchByU_P(long userId,
124 long proposalId, boolean retrieveFromCache)
125 throws com.liferay.portal.kernel.exception.SystemException;
126
127 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(
128 long proposalId, int stage)
129 throws com.liferay.portal.kernel.exception.SystemException;
130
131 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(
132 long proposalId, int stage, int start, int end)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(
136 long proposalId, int stage, int start, int end,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.kernel.exception.SystemException;
139
140 public com.liferay.portlet.tasks.model.TasksReview findByP_S_First(
141 long proposalId, int stage,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException,
144 com.liferay.portlet.tasks.NoSuchReviewException;
145
146 public com.liferay.portlet.tasks.model.TasksReview findByP_S_Last(
147 long proposalId, int stage,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException,
150 com.liferay.portlet.tasks.NoSuchReviewException;
151
152 public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_PrevAndNext(
153 long reviewId, long proposalId, int stage,
154 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155 throws com.liferay.portal.kernel.exception.SystemException,
156 com.liferay.portlet.tasks.NoSuchReviewException;
157
158 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(
159 long proposalId, int stage, boolean completed)
160 throws com.liferay.portal.kernel.exception.SystemException;
161
162 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(
163 long proposalId, int stage, boolean completed, int start, int end)
164 throws com.liferay.portal.kernel.exception.SystemException;
165
166 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(
167 long proposalId, int stage, boolean completed, int start, int end,
168 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_First(
172 long proposalId, int stage, boolean completed,
173 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
174 throws com.liferay.portal.kernel.exception.SystemException,
175 com.liferay.portlet.tasks.NoSuchReviewException;
176
177 public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_Last(
178 long proposalId, int stage, boolean completed,
179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180 throws com.liferay.portal.kernel.exception.SystemException,
181 com.liferay.portlet.tasks.NoSuchReviewException;
182
183 public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_C_PrevAndNext(
184 long reviewId, long proposalId, int stage, boolean completed,
185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186 throws com.liferay.portal.kernel.exception.SystemException,
187 com.liferay.portlet.tasks.NoSuchReviewException;
188
189 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(
190 long proposalId, int stage, boolean completed, boolean rejected)
191 throws com.liferay.portal.kernel.exception.SystemException;
192
193 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(
194 long proposalId, int stage, boolean completed, boolean rejected,
195 int start, int end)
196 throws com.liferay.portal.kernel.exception.SystemException;
197
198 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(
199 long proposalId, int stage, boolean completed, boolean rejected,
200 int start, int end,
201 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
202 throws com.liferay.portal.kernel.exception.SystemException;
203
204 public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_R_First(
205 long proposalId, int stage, boolean completed, boolean rejected,
206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207 throws com.liferay.portal.kernel.exception.SystemException,
208 com.liferay.portlet.tasks.NoSuchReviewException;
209
210 public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_R_Last(
211 long proposalId, int stage, boolean completed, boolean rejected,
212 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
213 throws com.liferay.portal.kernel.exception.SystemException,
214 com.liferay.portlet.tasks.NoSuchReviewException;
215
216 public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_C_R_PrevAndNext(
217 long reviewId, long proposalId, int stage, boolean completed,
218 boolean rejected,
219 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220 throws com.liferay.portal.kernel.exception.SystemException,
221 com.liferay.portlet.tasks.NoSuchReviewException;
222
223 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll()
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll(
227 int start, int end)
228 throws com.liferay.portal.kernel.exception.SystemException;
229
230 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll(
231 int start, int end,
232 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
233 throws com.liferay.portal.kernel.exception.SystemException;
234
235 public void removeByUserId(long userId)
236 throws com.liferay.portal.kernel.exception.SystemException;
237
238 public void removeByProposalId(long proposalId)
239 throws com.liferay.portal.kernel.exception.SystemException;
240
241 public void removeByU_P(long userId, long proposalId)
242 throws com.liferay.portal.kernel.exception.SystemException,
243 com.liferay.portlet.tasks.NoSuchReviewException;
244
245 public void removeByP_S(long proposalId, int stage)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 public void removeByP_S_C(long proposalId, int stage, boolean completed)
249 throws com.liferay.portal.kernel.exception.SystemException;
250
251 public void removeByP_S_C_R(long proposalId, int stage, boolean completed,
252 boolean rejected)
253 throws com.liferay.portal.kernel.exception.SystemException;
254
255 public void removeAll()
256 throws com.liferay.portal.kernel.exception.SystemException;
257
258 public int countByUserId(long userId)
259 throws com.liferay.portal.kernel.exception.SystemException;
260
261 public int countByProposalId(long proposalId)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 public int countByU_P(long userId, long proposalId)
265 throws com.liferay.portal.kernel.exception.SystemException;
266
267 public int countByP_S(long proposalId, int stage)
268 throws com.liferay.portal.kernel.exception.SystemException;
269
270 public int countByP_S_C(long proposalId, int stage, boolean completed)
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 public int countByP_S_C_R(long proposalId, int stage, boolean completed,
274 boolean rejected)
275 throws com.liferay.portal.kernel.exception.SystemException;
276
277 public int countAll()
278 throws com.liferay.portal.kernel.exception.SystemException;
279 }