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> findByCompanyId(
139 long companyId)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
143 long companyId, int start, int end)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
147 long companyId, int start, int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException;
150
151 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
152 long companyId,
153 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154 throws com.liferay.portal.kernel.exception.SystemException,
155 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
156
157 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
158 long companyId,
159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160 throws com.liferay.portal.kernel.exception.SystemException,
161 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
162
163 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
164 long fileEntryId, long companyId,
165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166 throws com.liferay.portal.kernel.exception.SystemException,
167 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
168
169 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
170 long groupId, long userId)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
174 long groupId, long userId, int start, int end)
175 throws com.liferay.portal.kernel.exception.SystemException;
176
177 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
178 long groupId, long userId, int start, int end,
179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180 throws com.liferay.portal.kernel.exception.SystemException;
181
182 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First(
183 long groupId, long userId,
184 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185 throws com.liferay.portal.kernel.exception.SystemException,
186 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
187
188 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last(
189 long groupId, long userId,
190 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
191 throws com.liferay.portal.kernel.exception.SystemException,
192 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
193
194 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext(
195 long fileEntryId, long groupId, long userId,
196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
197 throws com.liferay.portal.kernel.exception.SystemException,
198 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
199
200 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
201 long groupId, long folderId)
202 throws com.liferay.portal.kernel.exception.SystemException;
203
204 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
205 long groupId, long folderId, int start, int end)
206 throws com.liferay.portal.kernel.exception.SystemException;
207
208 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
209 long groupId, long folderId, int start, int end,
210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_First(
214 long groupId, long folderId,
215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216 throws com.liferay.portal.kernel.exception.SystemException,
217 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
218
219 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_Last(
220 long groupId, long folderId,
221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222 throws com.liferay.portal.kernel.exception.SystemException,
223 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
224
225 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_PrevAndNext(
226 long fileEntryId, long groupId, long folderId,
227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228 throws com.liferay.portal.kernel.exception.SystemException,
229 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
230
231 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_N(
232 long groupId, long folderId, java.lang.String name)
233 throws com.liferay.portal.kernel.exception.SystemException,
234 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
235
236 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
237 long groupId, long folderId, java.lang.String name)
238 throws com.liferay.portal.kernel.exception.SystemException;
239
240 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
241 long groupId, long folderId, java.lang.String name,
242 boolean retrieveFromCache)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_T(
246 long groupId, long folderId, java.lang.String title)
247 throws com.liferay.portal.kernel.exception.SystemException,
248 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
249
250 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
251 long groupId, long folderId, java.lang.String title)
252 throws com.liferay.portal.kernel.exception.SystemException;
253
254 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
255 long groupId, long folderId, java.lang.String title,
256 boolean retrieveFromCache)
257 throws com.liferay.portal.kernel.exception.SystemException;
258
259 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll()
260 throws com.liferay.portal.kernel.exception.SystemException;
261
262 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
263 int start, int end)
264 throws com.liferay.portal.kernel.exception.SystemException;
265
266 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
267 int start, int end,
268 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
269 throws com.liferay.portal.kernel.exception.SystemException;
270
271 public void removeByUuid(java.lang.String uuid)
272 throws com.liferay.portal.kernel.exception.SystemException;
273
274 public void removeByUUID_G(java.lang.String uuid, long groupId)
275 throws com.liferay.portal.kernel.exception.SystemException,
276 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
277
278 public void removeByGroupId(long groupId)
279 throws com.liferay.portal.kernel.exception.SystemException;
280
281 public void removeByCompanyId(long companyId)
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284 public void removeByG_U(long groupId, long userId)
285 throws com.liferay.portal.kernel.exception.SystemException;
286
287 public void removeByG_F(long groupId, long folderId)
288 throws com.liferay.portal.kernel.exception.SystemException;
289
290 public void removeByG_F_N(long groupId, long folderId, java.lang.String name)
291 throws com.liferay.portal.kernel.exception.SystemException,
292 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
293
294 public void removeByG_F_T(long groupId, long folderId,
295 java.lang.String title)
296 throws com.liferay.portal.kernel.exception.SystemException,
297 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
298
299 public void removeAll()
300 throws com.liferay.portal.kernel.exception.SystemException;
301
302 public int countByUuid(java.lang.String uuid)
303 throws com.liferay.portal.kernel.exception.SystemException;
304
305 public int countByUUID_G(java.lang.String uuid, long groupId)
306 throws com.liferay.portal.kernel.exception.SystemException;
307
308 public int countByGroupId(long groupId)
309 throws com.liferay.portal.kernel.exception.SystemException;
310
311 public int countByCompanyId(long companyId)
312 throws com.liferay.portal.kernel.exception.SystemException;
313
314 public int countByG_U(long groupId, long userId)
315 throws com.liferay.portal.kernel.exception.SystemException;
316
317 public int countByG_F(long groupId, long folderId)
318 throws com.liferay.portal.kernel.exception.SystemException;
319
320 public int countByG_F_N(long groupId, long folderId, java.lang.String name)
321 throws com.liferay.portal.kernel.exception.SystemException;
322
323 public int countByG_F_T(long groupId, long folderId, java.lang.String title)
324 throws com.liferay.portal.kernel.exception.SystemException;
325
326 public int countAll()
327 throws com.liferay.portal.kernel.exception.SystemException;
328 }