1
14
15 package com.liferay.portlet.tasks.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.tasks.model.TasksReview;
20
21
34 public interface TasksReviewPersistence extends BasePersistence<TasksReview> {
35 public void cacheResult(
36 com.liferay.portlet.tasks.model.TasksReview tasksReview);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.tasks.model.TasksReview> tasksReviews);
40
41 public com.liferay.portlet.tasks.model.TasksReview create(long reviewId);
42
43 public com.liferay.portlet.tasks.model.TasksReview remove(long reviewId)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.tasks.NoSuchReviewException;
46
47 public com.liferay.portlet.tasks.model.TasksReview updateImpl(
48 com.liferay.portlet.tasks.model.TasksReview tasksReview, boolean merge)
49 throws com.liferay.portal.kernel.exception.SystemException;
50
51 public com.liferay.portlet.tasks.model.TasksReview findByPrimaryKey(
52 long reviewId)
53 throws com.liferay.portal.kernel.exception.SystemException,
54 com.liferay.portlet.tasks.NoSuchReviewException;
55
56 public com.liferay.portlet.tasks.model.TasksReview fetchByPrimaryKey(
57 long reviewId)
58 throws com.liferay.portal.kernel.exception.SystemException;
59
60 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(
61 long userId) throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(
64 long userId, int start, int end)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(
68 long userId, int start, int end,
69 com.liferay.portal.kernel.util.OrderByComparator obc)
70 throws com.liferay.portal.kernel.exception.SystemException;
71
72 public com.liferay.portlet.tasks.model.TasksReview findByUserId_First(
73 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.kernel.exception.SystemException,
75 com.liferay.portlet.tasks.NoSuchReviewException;
76
77 public com.liferay.portlet.tasks.model.TasksReview findByUserId_Last(
78 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
79 throws com.liferay.portal.kernel.exception.SystemException,
80 com.liferay.portlet.tasks.NoSuchReviewException;
81
82 public com.liferay.portlet.tasks.model.TasksReview[] findByUserId_PrevAndNext(
83 long reviewId, long userId,
84 com.liferay.portal.kernel.util.OrderByComparator obc)
85 throws com.liferay.portal.kernel.exception.SystemException,
86 com.liferay.portlet.tasks.NoSuchReviewException;
87
88 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(
89 long proposalId)
90 throws com.liferay.portal.kernel.exception.SystemException;
91
92 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(
93 long proposalId, int start, int end)
94 throws com.liferay.portal.kernel.exception.SystemException;
95
96 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(
97 long proposalId, int start, int end,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public com.liferay.portlet.tasks.model.TasksReview findByProposalId_First(
102 long proposalId, com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.kernel.exception.SystemException,
104 com.liferay.portlet.tasks.NoSuchReviewException;
105
106 public com.liferay.portlet.tasks.model.TasksReview findByProposalId_Last(
107 long proposalId, com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.kernel.exception.SystemException,
109 com.liferay.portlet.tasks.NoSuchReviewException;
110
111 public com.liferay.portlet.tasks.model.TasksReview[] findByProposalId_PrevAndNext(
112 long reviewId, long proposalId,
113 com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.kernel.exception.SystemException,
115 com.liferay.portlet.tasks.NoSuchReviewException;
116
117 public com.liferay.portlet.tasks.model.TasksReview findByU_P(long userId,
118 long proposalId)
119 throws com.liferay.portal.kernel.exception.SystemException,
120 com.liferay.portlet.tasks.NoSuchReviewException;
121
122 public com.liferay.portlet.tasks.model.TasksReview fetchByU_P(long userId,
123 long proposalId)
124 throws com.liferay.portal.kernel.exception.SystemException;
125
126 public com.liferay.portlet.tasks.model.TasksReview fetchByU_P(long userId,
127 long proposalId, boolean retrieveFromCache)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(
131 long proposalId, int stage)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(
135 long proposalId, int stage, int start, int end)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(
139 long proposalId, int stage, int start, int end,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public com.liferay.portlet.tasks.model.TasksReview findByP_S_First(
144 long proposalId, int stage,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.kernel.exception.SystemException,
147 com.liferay.portlet.tasks.NoSuchReviewException;
148
149 public com.liferay.portlet.tasks.model.TasksReview findByP_S_Last(
150 long proposalId, int stage,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.kernel.exception.SystemException,
153 com.liferay.portlet.tasks.NoSuchReviewException;
154
155 public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_PrevAndNext(
156 long reviewId, long proposalId, int stage,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.kernel.exception.SystemException,
159 com.liferay.portlet.tasks.NoSuchReviewException;
160
161 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(
162 long proposalId, int stage, boolean completed)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(
166 long proposalId, int stage, boolean completed, int start, int end)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(
170 long proposalId, int stage, boolean completed, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_First(
175 long proposalId, int stage, boolean completed,
176 com.liferay.portal.kernel.util.OrderByComparator obc)
177 throws com.liferay.portal.kernel.exception.SystemException,
178 com.liferay.portlet.tasks.NoSuchReviewException;
179
180 public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_Last(
181 long proposalId, int stage, boolean completed,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.kernel.exception.SystemException,
184 com.liferay.portlet.tasks.NoSuchReviewException;
185
186 public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_C_PrevAndNext(
187 long reviewId, long proposalId, int stage, boolean completed,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.kernel.exception.SystemException,
190 com.liferay.portlet.tasks.NoSuchReviewException;
191
192 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(
193 long proposalId, int stage, boolean completed, boolean rejected)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(
197 long proposalId, int stage, boolean completed, boolean rejected,
198 int start, int end)
199 throws com.liferay.portal.kernel.exception.SystemException;
200
201 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(
202 long proposalId, int stage, boolean completed, boolean rejected,
203 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
204 throws com.liferay.portal.kernel.exception.SystemException;
205
206 public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_R_First(
207 long proposalId, int stage, boolean completed, boolean rejected,
208 com.liferay.portal.kernel.util.OrderByComparator obc)
209 throws com.liferay.portal.kernel.exception.SystemException,
210 com.liferay.portlet.tasks.NoSuchReviewException;
211
212 public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_R_Last(
213 long proposalId, int stage, boolean completed, boolean rejected,
214 com.liferay.portal.kernel.util.OrderByComparator obc)
215 throws com.liferay.portal.kernel.exception.SystemException,
216 com.liferay.portlet.tasks.NoSuchReviewException;
217
218 public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_C_R_PrevAndNext(
219 long reviewId, long proposalId, int stage, boolean completed,
220 boolean rejected, com.liferay.portal.kernel.util.OrderByComparator obc)
221 throws com.liferay.portal.kernel.exception.SystemException,
222 com.liferay.portlet.tasks.NoSuchReviewException;
223
224 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll()
225 throws com.liferay.portal.kernel.exception.SystemException;
226
227 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll(
228 int start, int end)
229 throws com.liferay.portal.kernel.exception.SystemException;
230
231 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll(
232 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
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 }