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.SystemException,
47 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
48
49
52 public com.liferay.portlet.documentlibrary.model.DLFileEntry update(
53 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
57 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
61 long fileEntryId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
64
65 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
66 long fileEntryId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
69 java.lang.String uuid) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
72 java.lang.String uuid, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
76 java.lang.String uuid, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
81 java.lang.String uuid,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
85
86 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
87 java.lang.String uuid,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
91
92 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
93 long fileEntryId, java.lang.String uuid,
94 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
97
98 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUUID_G(
99 java.lang.String uuid, long groupId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
102
103 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
104 java.lang.String uuid, long groupId)
105 throws com.liferay.portal.SystemException;
106
107 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
108 java.lang.String uuid, long groupId, boolean retrieveFromCache)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
112 long groupId) throws com.liferay.portal.SystemException;
113
114 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
115 long groupId, int start, int end)
116 throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
119 long groupId, int start, int end,
120 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
121 throws com.liferay.portal.SystemException;
122
123 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_First(
124 long groupId,
125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
128
129 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_Last(
130 long groupId,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.SystemException,
133 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
134
135 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByGroupId_PrevAndNext(
136 long fileEntryId, long groupId,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
140
141 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
142 long companyId) throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
145 long companyId, int start, int end)
146 throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
149 long companyId, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151 throws com.liferay.portal.SystemException;
152
153 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
154 long companyId,
155 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
158
159 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
160 long companyId,
161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
164
165 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
166 long fileEntryId, long companyId,
167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
170
171 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
172 long folderId) throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
175 long folderId, int start, int end)
176 throws com.liferay.portal.SystemException;
177
178 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
179 long folderId, int start, int end,
180 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
181 throws com.liferay.portal.SystemException;
182
183 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_First(
184 long folderId,
185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
188
189 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_Last(
190 long folderId,
191 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
192 throws com.liferay.portal.SystemException,
193 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
194
195 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByFolderId_PrevAndNext(
196 long fileEntryId, long folderId,
197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
200
201 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
202 long groupId, long userId) throws com.liferay.portal.SystemException;
203
204 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
205 long groupId, long userId, int start, int end)
206 throws com.liferay.portal.SystemException;
207
208 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
209 long groupId, long userId, int start, int end,
210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211 throws com.liferay.portal.SystemException;
212
213 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First(
214 long groupId, long userId,
215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216 throws com.liferay.portal.SystemException,
217 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
218
219 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last(
220 long groupId, long userId,
221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222 throws com.liferay.portal.SystemException,
223 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
224
225 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext(
226 long fileEntryId, long groupId, long userId,
227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
230
231 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N(
232 long folderId, java.lang.String name)
233 throws com.liferay.portal.SystemException,
234 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
235
236 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N(
237 long folderId, java.lang.String name)
238 throws com.liferay.portal.SystemException;
239
240 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N(
241 long folderId, java.lang.String name, boolean retrieveFromCache)
242 throws com.liferay.portal.SystemException;
243
244 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
245 long folderId, java.lang.String title)
246 throws com.liferay.portal.SystemException;
247
248 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
249 long folderId, java.lang.String title, int start, int end)
250 throws com.liferay.portal.SystemException;
251
252 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
253 long folderId, java.lang.String title, int start, int end,
254 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255 throws com.liferay.portal.SystemException;
256
257 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_T_First(
258 long folderId, java.lang.String title,
259 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
260 throws com.liferay.portal.SystemException,
261 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
262
263 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_T_Last(
264 long folderId, java.lang.String title,
265 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
266 throws com.liferay.portal.SystemException,
267 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
268
269 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByF_T_PrevAndNext(
270 long fileEntryId, long folderId, java.lang.String title,
271 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
272 throws com.liferay.portal.SystemException,
273 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
274
275 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll()
276 throws com.liferay.portal.SystemException;
277
278 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
279 int start, int end) throws com.liferay.portal.SystemException;
280
281 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
282 int start, int end,
283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
284 throws com.liferay.portal.SystemException;
285
286 public void removeByUuid(java.lang.String uuid)
287 throws com.liferay.portal.SystemException;
288
289 public void removeByUUID_G(java.lang.String uuid, long groupId)
290 throws com.liferay.portal.SystemException,
291 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
292
293 public void removeByGroupId(long groupId)
294 throws com.liferay.portal.SystemException;
295
296 public void removeByCompanyId(long companyId)
297 throws com.liferay.portal.SystemException;
298
299 public void removeByFolderId(long folderId)
300 throws com.liferay.portal.SystemException;
301
302 public void removeByG_U(long groupId, long userId)
303 throws com.liferay.portal.SystemException;
304
305 public void removeByF_N(long folderId, java.lang.String name)
306 throws com.liferay.portal.SystemException,
307 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
308
309 public void removeByF_T(long folderId, java.lang.String title)
310 throws com.liferay.portal.SystemException;
311
312 public void removeAll() throws com.liferay.portal.SystemException;
313
314 public int countByUuid(java.lang.String uuid)
315 throws com.liferay.portal.SystemException;
316
317 public int countByUUID_G(java.lang.String uuid, long groupId)
318 throws com.liferay.portal.SystemException;
319
320 public int countByGroupId(long groupId)
321 throws com.liferay.portal.SystemException;
322
323 public int countByCompanyId(long companyId)
324 throws com.liferay.portal.SystemException;
325
326 public int countByFolderId(long folderId)
327 throws com.liferay.portal.SystemException;
328
329 public int countByG_U(long groupId, long userId)
330 throws com.liferay.portal.SystemException;
331
332 public int countByF_N(long folderId, java.lang.String name)
333 throws com.liferay.portal.SystemException;
334
335 public int countByF_T(long folderId, java.lang.String title)
336 throws com.liferay.portal.SystemException;
337
338 public int countAll() throws com.liferay.portal.SystemException;
339 }