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