1
22
23 package com.liferay.portlet.blogs.service.persistence;
24
25
31 public interface BlogsEntryPersistence {
32 public com.liferay.portlet.blogs.model.BlogsEntry create(long entryId);
33
34 public com.liferay.portlet.blogs.model.BlogsEntry remove(long entryId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.blogs.NoSuchEntryException;
37
38 public com.liferay.portlet.blogs.model.BlogsEntry remove(
39 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portlet.blogs.model.BlogsEntry update(
46 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portlet.blogs.model.BlogsEntry update(
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 updateImpl(
67 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(
71 long entryId)
72 throws com.liferay.portal.SystemException,
73 com.liferay.portlet.blogs.NoSuchEntryException;
74
75 public com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(
76 long entryId) throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
79 java.lang.String uuid) 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 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
86 java.lang.String uuid, int start, int end,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException;
89
90 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First(
91 java.lang.String uuid,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.blogs.NoSuchEntryException;
95
96 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last(
97 java.lang.String uuid,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.blogs.NoSuchEntryException;
101
102 public com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext(
103 long entryId, java.lang.String uuid,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.blogs.NoSuchEntryException;
107
108 public com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G(
109 java.lang.String uuid, long groupId)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.blogs.NoSuchEntryException;
112
113 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
114 java.lang.String uuid, long groupId)
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 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
204 long groupId, boolean draft) throws com.liferay.portal.SystemException;
205
206 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
207 long groupId, boolean draft, int start, int end)
208 throws com.liferay.portal.SystemException;
209
210 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
211 long groupId, boolean draft, int start, int end,
212 com.liferay.portal.kernel.util.OrderByComparator obc)
213 throws com.liferay.portal.SystemException;
214
215 public com.liferay.portlet.blogs.model.BlogsEntry findByG_D_First(
216 long groupId, boolean draft,
217 com.liferay.portal.kernel.util.OrderByComparator obc)
218 throws com.liferay.portal.SystemException,
219 com.liferay.portlet.blogs.NoSuchEntryException;
220
221 public com.liferay.portlet.blogs.model.BlogsEntry findByG_D_Last(
222 long groupId, boolean draft,
223 com.liferay.portal.kernel.util.OrderByComparator obc)
224 throws com.liferay.portal.SystemException,
225 com.liferay.portlet.blogs.NoSuchEntryException;
226
227 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_D_PrevAndNext(
228 long entryId, long groupId, boolean draft,
229 com.liferay.portal.kernel.util.OrderByComparator obc)
230 throws com.liferay.portal.SystemException,
231 com.liferay.portlet.blogs.NoSuchEntryException;
232
233 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
234 long companyId, boolean draft)
235 throws com.liferay.portal.SystemException;
236
237 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
238 long companyId, boolean draft, int start, int end)
239 throws com.liferay.portal.SystemException;
240
241 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
242 long companyId, boolean draft, int start, int end,
243 com.liferay.portal.kernel.util.OrderByComparator obc)
244 throws com.liferay.portal.SystemException;
245
246 public com.liferay.portlet.blogs.model.BlogsEntry findByC_D_First(
247 long companyId, 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 findByC_D_Last(
253 long companyId, 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 com.liferay.portlet.blogs.model.BlogsEntry[] findByC_D_PrevAndNext(
259 long entryId, long companyId, boolean draft,
260 com.liferay.portal.kernel.util.OrderByComparator obc)
261 throws com.liferay.portal.SystemException,
262 com.liferay.portlet.blogs.NoSuchEntryException;
263
264 public com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(long groupId,
265 java.lang.String urlTitle)
266 throws com.liferay.portal.SystemException,
267 com.liferay.portlet.blogs.NoSuchEntryException;
268
269 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
270 long groupId, java.lang.String urlTitle)
271 throws com.liferay.portal.SystemException;
272
273 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
274 long groupId, long userId, boolean draft)
275 throws com.liferay.portal.SystemException;
276
277 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
278 long groupId, long userId, boolean draft, int start, int end)
279 throws com.liferay.portal.SystemException;
280
281 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
282 long groupId, long userId, boolean draft, int start, int end,
283 com.liferay.portal.kernel.util.OrderByComparator obc)
284 throws com.liferay.portal.SystemException;
285
286 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_First(
287 long groupId, long userId, 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 findByG_U_D_Last(
293 long groupId, long userId, boolean draft,
294 com.liferay.portal.kernel.util.OrderByComparator obc)
295 throws com.liferay.portal.SystemException,
296 com.liferay.portlet.blogs.NoSuchEntryException;
297
298 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_D_PrevAndNext(
299 long entryId, long groupId, long userId, boolean draft,
300 com.liferay.portal.kernel.util.OrderByComparator obc)
301 throws com.liferay.portal.SystemException,
302 com.liferay.portlet.blogs.NoSuchEntryException;
303
304 public java.util.List<Object> findWithDynamicQuery(
305 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
306 throws com.liferay.portal.SystemException;
307
308 public java.util.List<Object> findWithDynamicQuery(
309 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
310 int end) throws com.liferay.portal.SystemException;
311
312 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll()
313 throws com.liferay.portal.SystemException;
314
315 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
316 int start, int end) throws com.liferay.portal.SystemException;
317
318 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
319 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
320 throws com.liferay.portal.SystemException;
321
322 public void removeByUuid(java.lang.String uuid)
323 throws com.liferay.portal.SystemException;
324
325 public void removeByUUID_G(java.lang.String uuid, long groupId)
326 throws com.liferay.portal.SystemException,
327 com.liferay.portlet.blogs.NoSuchEntryException;
328
329 public void removeByGroupId(long groupId)
330 throws com.liferay.portal.SystemException;
331
332 public void removeByCompanyId(long companyId)
333 throws com.liferay.portal.SystemException;
334
335 public void removeByG_U(long groupId, long userId)
336 throws com.liferay.portal.SystemException;
337
338 public void removeByG_D(long groupId, boolean draft)
339 throws com.liferay.portal.SystemException;
340
341 public void removeByC_D(long companyId, boolean draft)
342 throws com.liferay.portal.SystemException;
343
344 public void removeByG_UT(long groupId, java.lang.String urlTitle)
345 throws com.liferay.portal.SystemException,
346 com.liferay.portlet.blogs.NoSuchEntryException;
347
348 public void removeByG_U_D(long groupId, long userId, boolean draft)
349 throws com.liferay.portal.SystemException;
350
351 public void removeAll() throws com.liferay.portal.SystemException;
352
353 public int countByUuid(java.lang.String uuid)
354 throws com.liferay.portal.SystemException;
355
356 public int countByUUID_G(java.lang.String uuid, long groupId)
357 throws com.liferay.portal.SystemException;
358
359 public int countByGroupId(long groupId)
360 throws com.liferay.portal.SystemException;
361
362 public int countByCompanyId(long companyId)
363 throws com.liferay.portal.SystemException;
364
365 public int countByG_U(long groupId, long userId)
366 throws com.liferay.portal.SystemException;
367
368 public int countByG_D(long groupId, boolean draft)
369 throws com.liferay.portal.SystemException;
370
371 public int countByC_D(long companyId, boolean draft)
372 throws com.liferay.portal.SystemException;
373
374 public int countByG_UT(long groupId, java.lang.String urlTitle)
375 throws com.liferay.portal.SystemException;
376
377 public int countByG_U_D(long groupId, long userId, boolean draft)
378 throws com.liferay.portal.SystemException;
379
380 public int countAll() throws com.liferay.portal.SystemException;
381
382 public void registerListener(
383 com.liferay.portal.model.ModelListener listener);
384
385 public void unregisterListener(
386 com.liferay.portal.model.ModelListener listener);
387 }