1
19
20 package com.liferay.portlet.blogs.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface BlogsEntryPersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> blogsEntries);
36
37 public void clearCache();
38
39 public com.liferay.portlet.blogs.model.BlogsEntry create(long entryId);
40
41 public com.liferay.portlet.blogs.model.BlogsEntry remove(long entryId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.blogs.NoSuchEntryException;
44
45 public com.liferay.portlet.blogs.model.BlogsEntry remove(
46 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.blogs.model.BlogsEntry update(
53 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.blogs.model.BlogsEntry update(
70 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
71 throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.blogs.model.BlogsEntry updateImpl(
74 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
75 throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(
78 long entryId)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portlet.blogs.NoSuchEntryException;
81
82 public com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(
83 long entryId) throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
86 java.lang.String uuid) throws com.liferay.portal.SystemException;
87
88 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
89 java.lang.String uuid, int start, int end)
90 throws com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
93 java.lang.String uuid, int start, int end,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException;
96
97 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First(
98 java.lang.String uuid,
99 com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.blogs.NoSuchEntryException;
102
103 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last(
104 java.lang.String uuid,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.blogs.NoSuchEntryException;
108
109 public com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext(
110 long entryId, java.lang.String uuid,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.blogs.NoSuchEntryException;
114
115 public com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G(
116 java.lang.String uuid, long groupId)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.blogs.NoSuchEntryException;
119
120 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
121 java.lang.String uuid, long groupId)
122 throws com.liferay.portal.SystemException;
123
124 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
125 java.lang.String uuid, long groupId, boolean retrieveFromCache)
126 throws com.liferay.portal.SystemException;
127
128 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
129 long groupId) throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
132 long groupId, int start, int end)
133 throws com.liferay.portal.SystemException;
134
135 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
136 long groupId, int start, int end,
137 com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException;
139
140 public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(
141 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.blogs.NoSuchEntryException;
144
145 public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(
146 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.blogs.NoSuchEntryException;
149
150 public com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(
151 long entryId, long groupId,
152 com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException,
154 com.liferay.portlet.blogs.NoSuchEntryException;
155
156 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
157 long companyId) throws com.liferay.portal.SystemException;
158
159 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
160 long companyId, int start, int end)
161 throws com.liferay.portal.SystemException;
162
163 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
164 long companyId, int start, int end,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException;
167
168 public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(
169 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.blogs.NoSuchEntryException;
172
173 public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(
174 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.blogs.NoSuchEntryException;
177
178 public com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(
179 long entryId, long companyId,
180 com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.blogs.NoSuchEntryException;
183
184 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
185 long groupId, long userId) throws com.liferay.portal.SystemException;
186
187 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
188 long groupId, long userId, int start, int end)
189 throws com.liferay.portal.SystemException;
190
191 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
192 long groupId, long userId, int start, int end,
193 com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException;
195
196 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_First(
197 long groupId, long userId,
198 com.liferay.portal.kernel.util.OrderByComparator obc)
199 throws com.liferay.portal.SystemException,
200 com.liferay.portlet.blogs.NoSuchEntryException;
201
202 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_Last(
203 long groupId, long userId,
204 com.liferay.portal.kernel.util.OrderByComparator obc)
205 throws com.liferay.portal.SystemException,
206 com.liferay.portlet.blogs.NoSuchEntryException;
207
208 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_PrevAndNext(
209 long entryId, long groupId, long userId,
210 com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.blogs.NoSuchEntryException;
213
214 public com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(long groupId,
215 java.lang.String urlTitle)
216 throws com.liferay.portal.SystemException,
217 com.liferay.portlet.blogs.NoSuchEntryException;
218
219 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
220 long groupId, java.lang.String urlTitle)
221 throws com.liferay.portal.SystemException;
222
223 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
224 long groupId, java.lang.String urlTitle, boolean retrieveFromCache)
225 throws com.liferay.portal.SystemException;
226
227 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
228 long groupId, java.util.Date displayDate, boolean draft)
229 throws com.liferay.portal.SystemException;
230
231 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
232 long groupId, java.util.Date displayDate, boolean draft, int start,
233 int end) throws com.liferay.portal.SystemException;
234
235 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
236 long groupId, java.util.Date displayDate, boolean draft, int start,
237 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
238 throws com.liferay.portal.SystemException;
239
240 public com.liferay.portlet.blogs.model.BlogsEntry findByG_D_D_First(
241 long groupId, java.util.Date displayDate, boolean draft,
242 com.liferay.portal.kernel.util.OrderByComparator obc)
243 throws com.liferay.portal.SystemException,
244 com.liferay.portlet.blogs.NoSuchEntryException;
245
246 public com.liferay.portlet.blogs.model.BlogsEntry findByG_D_D_Last(
247 long groupId, java.util.Date displayDate, boolean draft,
248 com.liferay.portal.kernel.util.OrderByComparator obc)
249 throws com.liferay.portal.SystemException,
250 com.liferay.portlet.blogs.NoSuchEntryException;
251
252 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_D_D_PrevAndNext(
253 long entryId, long groupId, java.util.Date displayDate, boolean draft,
254 com.liferay.portal.kernel.util.OrderByComparator obc)
255 throws com.liferay.portal.SystemException,
256 com.liferay.portlet.blogs.NoSuchEntryException;
257
258 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
259 long companyId, java.util.Date displayDate, boolean draft)
260 throws com.liferay.portal.SystemException;
261
262 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
263 long companyId, java.util.Date displayDate, boolean draft, int start,
264 int end) throws com.liferay.portal.SystemException;
265
266 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
267 long companyId, java.util.Date displayDate, boolean draft, int start,
268 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
269 throws com.liferay.portal.SystemException;
270
271 public com.liferay.portlet.blogs.model.BlogsEntry findByC_D_D_First(
272 long companyId, java.util.Date displayDate, boolean draft,
273 com.liferay.portal.kernel.util.OrderByComparator obc)
274 throws com.liferay.portal.SystemException,
275 com.liferay.portlet.blogs.NoSuchEntryException;
276
277 public com.liferay.portlet.blogs.model.BlogsEntry findByC_D_D_Last(
278 long companyId, java.util.Date displayDate, boolean draft,
279 com.liferay.portal.kernel.util.OrderByComparator obc)
280 throws com.liferay.portal.SystemException,
281 com.liferay.portlet.blogs.NoSuchEntryException;
282
283 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_D_D_PrevAndNext(
284 long entryId, long companyId, java.util.Date displayDate,
285 boolean draft, com.liferay.portal.kernel.util.OrderByComparator obc)
286 throws com.liferay.portal.SystemException,
287 com.liferay.portlet.blogs.NoSuchEntryException;
288
289 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
290 long groupId, long userId, java.util.Date displayDate, boolean draft)
291 throws com.liferay.portal.SystemException;
292
293 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
294 long groupId, long userId, java.util.Date displayDate, boolean draft,
295 int start, int end) throws com.liferay.portal.SystemException;
296
297 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
298 long groupId, long userId, java.util.Date displayDate, boolean draft,
299 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
300 throws com.liferay.portal.SystemException;
301
302 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_D_First(
303 long groupId, long userId, java.util.Date displayDate, boolean draft,
304 com.liferay.portal.kernel.util.OrderByComparator obc)
305 throws com.liferay.portal.SystemException,
306 com.liferay.portlet.blogs.NoSuchEntryException;
307
308 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_D_Last(
309 long groupId, long userId, java.util.Date displayDate, boolean draft,
310 com.liferay.portal.kernel.util.OrderByComparator obc)
311 throws com.liferay.portal.SystemException,
312 com.liferay.portlet.blogs.NoSuchEntryException;
313
314 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_D_D_PrevAndNext(
315 long entryId, long groupId, long userId, java.util.Date displayDate,
316 boolean draft, com.liferay.portal.kernel.util.OrderByComparator obc)
317 throws com.liferay.portal.SystemException,
318 com.liferay.portlet.blogs.NoSuchEntryException;
319
320 public java.util.List<Object> findWithDynamicQuery(
321 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
322 throws com.liferay.portal.SystemException;
323
324 public java.util.List<Object> findWithDynamicQuery(
325 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
326 int end) throws com.liferay.portal.SystemException;
327
328 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll()
329 throws com.liferay.portal.SystemException;
330
331 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
332 int start, int end) throws com.liferay.portal.SystemException;
333
334 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
335 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
336 throws com.liferay.portal.SystemException;
337
338 public void removeByUuid(java.lang.String uuid)
339 throws com.liferay.portal.SystemException;
340
341 public void removeByUUID_G(java.lang.String uuid, long groupId)
342 throws com.liferay.portal.SystemException,
343 com.liferay.portlet.blogs.NoSuchEntryException;
344
345 public void removeByGroupId(long groupId)
346 throws com.liferay.portal.SystemException;
347
348 public void removeByCompanyId(long companyId)
349 throws com.liferay.portal.SystemException;
350
351 public void removeByG_U(long groupId, long userId)
352 throws com.liferay.portal.SystemException;
353
354 public void removeByG_UT(long groupId, java.lang.String urlTitle)
355 throws com.liferay.portal.SystemException,
356 com.liferay.portlet.blogs.NoSuchEntryException;
357
358 public void removeByG_D_D(long groupId, java.util.Date displayDate,
359 boolean draft) throws com.liferay.portal.SystemException;
360
361 public void removeByC_D_D(long companyId, java.util.Date displayDate,
362 boolean draft) throws com.liferay.portal.SystemException;
363
364 public void removeByG_U_D_D(long groupId, long userId,
365 java.util.Date displayDate, boolean draft)
366 throws com.liferay.portal.SystemException;
367
368 public void removeAll() throws com.liferay.portal.SystemException;
369
370 public int countByUuid(java.lang.String uuid)
371 throws com.liferay.portal.SystemException;
372
373 public int countByUUID_G(java.lang.String uuid, long groupId)
374 throws com.liferay.portal.SystemException;
375
376 public int countByGroupId(long groupId)
377 throws com.liferay.portal.SystemException;
378
379 public int countByCompanyId(long companyId)
380 throws com.liferay.portal.SystemException;
381
382 public int countByG_U(long groupId, long userId)
383 throws com.liferay.portal.SystemException;
384
385 public int countByG_UT(long groupId, java.lang.String urlTitle)
386 throws com.liferay.portal.SystemException;
387
388 public int countByG_D_D(long groupId, java.util.Date displayDate,
389 boolean draft) throws com.liferay.portal.SystemException;
390
391 public int countByC_D_D(long companyId, java.util.Date displayDate,
392 boolean draft) throws com.liferay.portal.SystemException;
393
394 public int countByG_U_D_D(long groupId, long userId,
395 java.util.Date displayDate, boolean draft)
396 throws com.liferay.portal.SystemException;
397
398 public int countAll() throws com.liferay.portal.SystemException;
399 }