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