1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface MBMessageFlagPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> mbMessageFlags);
46
47 public void clearCache();
48
49 public com.liferay.portlet.messageboards.model.MBMessageFlag create(
50 long messageFlagId);
51
52 public com.liferay.portlet.messageboards.model.MBMessageFlag remove(
53 long messageFlagId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
56
57 public com.liferay.portlet.messageboards.model.MBMessageFlag remove(
58 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.messageboards.model.MBMessageFlag update(
65 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.messageboards.model.MBMessageFlag update(
81 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.messageboards.model.MBMessageFlag updateImpl(
85 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.messageboards.model.MBMessageFlag findByPrimaryKey(
89 long messageFlagId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
92
93 public com.liferay.portlet.messageboards.model.MBMessageFlag fetchByPrimaryKey(
94 long messageFlagId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByUserId(
97 long userId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByUserId(
100 long userId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByUserId(
104 long userId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.messageboards.model.MBMessageFlag findByUserId_First(
109 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
112
113 public com.liferay.portlet.messageboards.model.MBMessageFlag findByUserId_Last(
114 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
117
118 public com.liferay.portlet.messageboards.model.MBMessageFlag[] findByUserId_PrevAndNext(
119 long messageFlagId, long userId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
123
124 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByThreadId(
125 long threadId) throws com.liferay.portal.SystemException;
126
127 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByThreadId(
128 long threadId, int start, int end)
129 throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByThreadId(
132 long threadId, int start, int end,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException;
135
136 public com.liferay.portlet.messageboards.model.MBMessageFlag findByThreadId_First(
137 long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
140
141 public com.liferay.portlet.messageboards.model.MBMessageFlag findByThreadId_Last(
142 long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException,
144 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
145
146 public com.liferay.portlet.messageboards.model.MBMessageFlag[] findByThreadId_PrevAndNext(
147 long messageFlagId, long threadId,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException,
150 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
151
152 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByMessageId(
153 long messageId) throws com.liferay.portal.SystemException;
154
155 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByMessageId(
156 long messageId, int start, int end)
157 throws com.liferay.portal.SystemException;
158
159 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByMessageId(
160 long messageId, int start, int end,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException;
163
164 public com.liferay.portlet.messageboards.model.MBMessageFlag findByMessageId_First(
165 long messageId, com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
168
169 public com.liferay.portlet.messageboards.model.MBMessageFlag findByMessageId_Last(
170 long messageId, com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
173
174 public com.liferay.portlet.messageboards.model.MBMessageFlag[] findByMessageId_PrevAndNext(
175 long messageFlagId, long messageId,
176 com.liferay.portal.kernel.util.OrderByComparator obc)
177 throws com.liferay.portal.SystemException,
178 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
179
180 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByT_F(
181 long threadId, int flag) throws com.liferay.portal.SystemException;
182
183 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByT_F(
184 long threadId, int flag, int start, int end)
185 throws com.liferay.portal.SystemException;
186
187 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByT_F(
188 long threadId, int flag, int start, int end,
189 com.liferay.portal.kernel.util.OrderByComparator obc)
190 throws com.liferay.portal.SystemException;
191
192 public com.liferay.portlet.messageboards.model.MBMessageFlag findByT_F_First(
193 long threadId, int flag,
194 com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
197
198 public com.liferay.portlet.messageboards.model.MBMessageFlag findByT_F_Last(
199 long threadId, int flag,
200 com.liferay.portal.kernel.util.OrderByComparator obc)
201 throws com.liferay.portal.SystemException,
202 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
203
204 public com.liferay.portlet.messageboards.model.MBMessageFlag[] findByT_F_PrevAndNext(
205 long messageFlagId, long threadId, int flag,
206 com.liferay.portal.kernel.util.OrderByComparator obc)
207 throws com.liferay.portal.SystemException,
208 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
209
210 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByM_F(
211 long messageId, int flag) throws com.liferay.portal.SystemException;
212
213 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByM_F(
214 long messageId, int flag, int start, int end)
215 throws com.liferay.portal.SystemException;
216
217 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByM_F(
218 long messageId, int flag, int start, int end,
219 com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.SystemException;
221
222 public com.liferay.portlet.messageboards.model.MBMessageFlag findByM_F_First(
223 long messageId, int flag,
224 com.liferay.portal.kernel.util.OrderByComparator obc)
225 throws com.liferay.portal.SystemException,
226 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
227
228 public com.liferay.portlet.messageboards.model.MBMessageFlag findByM_F_Last(
229 long messageId, int flag,
230 com.liferay.portal.kernel.util.OrderByComparator obc)
231 throws com.liferay.portal.SystemException,
232 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
233
234 public com.liferay.portlet.messageboards.model.MBMessageFlag[] findByM_F_PrevAndNext(
235 long messageFlagId, long messageId, int flag,
236 com.liferay.portal.kernel.util.OrderByComparator obc)
237 throws com.liferay.portal.SystemException,
238 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
239
240 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByU_T_F(
241 long userId, long threadId, int flag)
242 throws com.liferay.portal.SystemException;
243
244 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByU_T_F(
245 long userId, long threadId, int flag, int start, int end)
246 throws com.liferay.portal.SystemException;
247
248 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findByU_T_F(
249 long userId, long threadId, int flag, int start, int end,
250 com.liferay.portal.kernel.util.OrderByComparator obc)
251 throws com.liferay.portal.SystemException;
252
253 public com.liferay.portlet.messageboards.model.MBMessageFlag findByU_T_F_First(
254 long userId, long threadId, int flag,
255 com.liferay.portal.kernel.util.OrderByComparator obc)
256 throws com.liferay.portal.SystemException,
257 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
258
259 public com.liferay.portlet.messageboards.model.MBMessageFlag findByU_T_F_Last(
260 long userId, long threadId, int flag,
261 com.liferay.portal.kernel.util.OrderByComparator obc)
262 throws com.liferay.portal.SystemException,
263 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
264
265 public com.liferay.portlet.messageboards.model.MBMessageFlag[] findByU_T_F_PrevAndNext(
266 long messageFlagId, long userId, long threadId, int flag,
267 com.liferay.portal.kernel.util.OrderByComparator obc)
268 throws com.liferay.portal.SystemException,
269 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
270
271 public com.liferay.portlet.messageboards.model.MBMessageFlag findByU_M_F(
272 long userId, long messageId, int flag)
273 throws com.liferay.portal.SystemException,
274 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
275
276 public com.liferay.portlet.messageboards.model.MBMessageFlag fetchByU_M_F(
277 long userId, long messageId, int flag)
278 throws com.liferay.portal.SystemException;
279
280 public com.liferay.portlet.messageboards.model.MBMessageFlag fetchByU_M_F(
281 long userId, long messageId, int flag, boolean retrieveFromCache)
282 throws com.liferay.portal.SystemException;
283
284 public java.util.List<Object> findWithDynamicQuery(
285 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
286 throws com.liferay.portal.SystemException;
287
288 public java.util.List<Object> findWithDynamicQuery(
289 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
290 int end) throws com.liferay.portal.SystemException;
291
292 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findAll()
293 throws com.liferay.portal.SystemException;
294
295 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findAll(
296 int start, int end) throws com.liferay.portal.SystemException;
297
298 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> findAll(
299 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
300 throws com.liferay.portal.SystemException;
301
302 public void removeByUserId(long userId)
303 throws com.liferay.portal.SystemException;
304
305 public void removeByThreadId(long threadId)
306 throws com.liferay.portal.SystemException;
307
308 public void removeByMessageId(long messageId)
309 throws com.liferay.portal.SystemException;
310
311 public void removeByT_F(long threadId, int flag)
312 throws com.liferay.portal.SystemException;
313
314 public void removeByM_F(long messageId, int flag)
315 throws com.liferay.portal.SystemException;
316
317 public void removeByU_T_F(long userId, long threadId, int flag)
318 throws com.liferay.portal.SystemException;
319
320 public void removeByU_M_F(long userId, long messageId, int flag)
321 throws com.liferay.portal.SystemException,
322 com.liferay.portlet.messageboards.NoSuchMessageFlagException;
323
324 public void removeAll() throws com.liferay.portal.SystemException;
325
326 public int countByUserId(long userId)
327 throws com.liferay.portal.SystemException;
328
329 public int countByThreadId(long threadId)
330 throws com.liferay.portal.SystemException;
331
332 public int countByMessageId(long messageId)
333 throws com.liferay.portal.SystemException;
334
335 public int countByT_F(long threadId, int flag)
336 throws com.liferay.portal.SystemException;
337
338 public int countByM_F(long messageId, int flag)
339 throws com.liferay.portal.SystemException;
340
341 public int countByU_T_F(long userId, long threadId, int flag)
342 throws com.liferay.portal.SystemException;
343
344 public int countByU_M_F(long userId, long messageId, int flag)
345 throws com.liferay.portal.SystemException;
346
347 public int countAll() throws com.liferay.portal.SystemException;
348 }