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