1
14
15 package com.liferay.portlet.documentlibrary.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.documentlibrary.model.DLFileEntry;
20
21
34 public interface DLFileEntryPersistence extends BasePersistence<DLFileEntry> {
35 public void cacheResult(
36 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> dlFileEntries);
40
41 public com.liferay.portlet.documentlibrary.model.DLFileEntry create(
42 long fileEntryId);
43
44 public com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
45 long fileEntryId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
48
49 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
50 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
55 long fileEntryId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
58
59 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
60 long fileEntryId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
64 java.lang.String uuid)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
68 java.lang.String uuid, int start, int end)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
72 java.lang.String uuid, int start, int end,
73 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74 throws com.liferay.portal.kernel.exception.SystemException;
75
76 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
77 java.lang.String uuid,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException,
80 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
81
82 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
83 java.lang.String uuid,
84 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85 throws com.liferay.portal.kernel.exception.SystemException,
86 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
87
88 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
89 long fileEntryId, java.lang.String uuid,
90 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91 throws com.liferay.portal.kernel.exception.SystemException,
92 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
93
94 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUUID_G(
95 java.lang.String uuid, long groupId)
96 throws com.liferay.portal.kernel.exception.SystemException,
97 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
98
99 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
100 java.lang.String uuid, long groupId)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
104 java.lang.String uuid, long groupId, boolean retrieveFromCache)
105 throws com.liferay.portal.kernel.exception.SystemException;
106
107 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
108 long groupId)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
112 long groupId, int start, int end)
113 throws com.liferay.portal.kernel.exception.SystemException;
114
115 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
116 long groupId, int start, int end,
117 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118 throws com.liferay.portal.kernel.exception.SystemException;
119
120 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_First(
121 long groupId,
122 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123 throws com.liferay.portal.kernel.exception.SystemException,
124 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
125
126 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_Last(
127 long groupId,
128 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
129 throws com.liferay.portal.kernel.exception.SystemException,
130 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
131
132 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByGroupId_PrevAndNext(
133 long fileEntryId, long groupId,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException,
136 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
137
138 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
139 long groupId)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
143 long groupId, int start, int end)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
147 long groupId, int start, int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException;
150
151 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
152 long companyId)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
156 long companyId, int start, int end)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
160 long companyId, int start, int end,
161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162 throws com.liferay.portal.kernel.exception.SystemException;
163
164 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
165 long companyId,
166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167 throws com.liferay.portal.kernel.exception.SystemException,
168 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
169
170 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
171 long companyId,
172 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173 throws com.liferay.portal.kernel.exception.SystemException,
174 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
175
176 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
177 long fileEntryId, long companyId,
178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179 throws com.liferay.portal.kernel.exception.SystemException,
180 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
181
182 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
183 long groupId, long userId)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
187 long groupId, long userId, int start, int end)
188 throws com.liferay.portal.kernel.exception.SystemException;
189
190 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
191 long groupId, long userId, int start, int end,
192 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193 throws com.liferay.portal.kernel.exception.SystemException;
194
195 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First(
196 long groupId, long userId,
197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198 throws com.liferay.portal.kernel.exception.SystemException,
199 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
200
201 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last(
202 long groupId, long userId,
203 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
204 throws com.liferay.portal.kernel.exception.SystemException,
205 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
206
207 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext(
208 long fileEntryId, long groupId, long userId,
209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
210 throws com.liferay.portal.kernel.exception.SystemException,
211 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
212
213 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
214 long groupId, long userId)
215 throws com.liferay.portal.kernel.exception.SystemException;
216
217 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
218 long groupId, long userId, int start, int end)
219 throws com.liferay.portal.kernel.exception.SystemException;
220
221 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
222 long groupId, long userId, int start, int end,
223 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
227 long groupId, long folderId)
228 throws com.liferay.portal.kernel.exception.SystemException;
229
230 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
231 long groupId, long folderId, int start, int end)
232 throws com.liferay.portal.kernel.exception.SystemException;
233
234 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
235 long groupId, long folderId, int start, int end,
236 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
237 throws com.liferay.portal.kernel.exception.SystemException;
238
239 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_First(
240 long groupId, long folderId,
241 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
242 throws com.liferay.portal.kernel.exception.SystemException,
243 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
244
245 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_Last(
246 long groupId, long folderId,
247 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
248 throws com.liferay.portal.kernel.exception.SystemException,
249 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
250
251 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_PrevAndNext(
252 long fileEntryId, long groupId, long folderId,
253 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
254 throws com.liferay.portal.kernel.exception.SystemException,
255 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
256
257 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
258 long groupId, long folderId)
259 throws com.liferay.portal.kernel.exception.SystemException;
260
261 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
262 long groupId, long folderId, int start, int end)
263 throws com.liferay.portal.kernel.exception.SystemException;
264
265 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
266 long groupId, long folderId, int start, int end,
267 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
268 throws com.liferay.portal.kernel.exception.SystemException;
269
270 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_N(
271 long groupId, long folderId, java.lang.String name)
272 throws com.liferay.portal.kernel.exception.SystemException,
273 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
274
275 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
276 long groupId, long folderId, java.lang.String name)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
280 long groupId, long folderId, java.lang.String name,
281 boolean retrieveFromCache)
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_T(
285 long groupId, long folderId, java.lang.String title)
286 throws com.liferay.portal.kernel.exception.SystemException,
287 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
288
289 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
290 long groupId, long folderId, java.lang.String title)
291 throws com.liferay.portal.kernel.exception.SystemException;
292
293 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
294 long groupId, long folderId, java.lang.String title,
295 boolean retrieveFromCache)
296 throws com.liferay.portal.kernel.exception.SystemException;
297
298 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll()
299 throws com.liferay.portal.kernel.exception.SystemException;
300
301 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
302 int start, int end)
303 throws com.liferay.portal.kernel.exception.SystemException;
304
305 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
306 int start, int end,
307 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
308 throws com.liferay.portal.kernel.exception.SystemException;
309
310 public void removeByUuid(java.lang.String uuid)
311 throws com.liferay.portal.kernel.exception.SystemException;
312
313 public void removeByUUID_G(java.lang.String uuid, long groupId)
314 throws com.liferay.portal.kernel.exception.SystemException,
315 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
316
317 public void removeByGroupId(long groupId)
318 throws com.liferay.portal.kernel.exception.SystemException;
319
320 public void removeByCompanyId(long companyId)
321 throws com.liferay.portal.kernel.exception.SystemException;
322
323 public void removeByG_U(long groupId, long userId)
324 throws com.liferay.portal.kernel.exception.SystemException;
325
326 public void removeByG_F(long groupId, long folderId)
327 throws com.liferay.portal.kernel.exception.SystemException;
328
329 public void removeByG_F_N(long groupId, long folderId, java.lang.String name)
330 throws com.liferay.portal.kernel.exception.SystemException,
331 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
332
333 public void removeByG_F_T(long groupId, long folderId,
334 java.lang.String title)
335 throws com.liferay.portal.kernel.exception.SystemException,
336 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
337
338 public void removeAll()
339 throws com.liferay.portal.kernel.exception.SystemException;
340
341 public int countByUuid(java.lang.String uuid)
342 throws com.liferay.portal.kernel.exception.SystemException;
343
344 public int countByUUID_G(java.lang.String uuid, long groupId)
345 throws com.liferay.portal.kernel.exception.SystemException;
346
347 public int countByGroupId(long groupId)
348 throws com.liferay.portal.kernel.exception.SystemException;
349
350 public int filterCountByGroupId(long groupId)
351 throws com.liferay.portal.kernel.exception.SystemException;
352
353 public int countByCompanyId(long companyId)
354 throws com.liferay.portal.kernel.exception.SystemException;
355
356 public int countByG_U(long groupId, long userId)
357 throws com.liferay.portal.kernel.exception.SystemException;
358
359 public int filterCountByG_U(long groupId, long userId)
360 throws com.liferay.portal.kernel.exception.SystemException;
361
362 public int countByG_F(long groupId, long folderId)
363 throws com.liferay.portal.kernel.exception.SystemException;
364
365 public int filterCountByG_F(long groupId, long folderId)
366 throws com.liferay.portal.kernel.exception.SystemException;
367
368 public int countByG_F_N(long groupId, long folderId, java.lang.String name)
369 throws com.liferay.portal.kernel.exception.SystemException;
370
371 public int filterCountByG_F_N(long groupId, long folderId,
372 java.lang.String name)
373 throws com.liferay.portal.kernel.exception.SystemException;
374
375 public int countByG_F_T(long groupId, long folderId, java.lang.String title)
376 throws com.liferay.portal.kernel.exception.SystemException;
377
378 public int filterCountByG_F_T(long groupId, long folderId,
379 java.lang.String title)
380 throws com.liferay.portal.kernel.exception.SystemException;
381
382 public int countAll()
383 throws com.liferay.portal.kernel.exception.SystemException;
384 }