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