1
14
15 package com.liferay.portlet.documentlibrary.service;
16
17
18
34 public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService {
35 public DLFileEntryLocalServiceWrapper(
36 DLFileEntryLocalService dlFileEntryLocalService) {
37 _dlFileEntryLocalService = dlFileEntryLocalService;
38 }
39
40 public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
41 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
44 }
45
46 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
47 long fileEntryId) {
48 return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
49 }
50
51 public void deleteDLFileEntry(long fileEntryId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
55 }
56
57 public void deleteDLFileEntry(
58 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
61 }
62
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException {
80 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
81 orderByComparator);
82 }
83
84 public int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
91 long fileEntryId)
92 throws com.liferay.portal.kernel.exception.PortalException,
93 com.liferay.portal.kernel.exception.SystemException {
94 return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
95 }
96
97 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
98 int start, int end)
99 throws com.liferay.portal.kernel.exception.SystemException {
100 return _dlFileEntryLocalService.getDLFileEntries(start, end);
101 }
102
103 public int getDLFileEntriesCount()
104 throws com.liferay.portal.kernel.exception.SystemException {
105 return _dlFileEntryLocalService.getDLFileEntriesCount();
106 }
107
108 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
109 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
112 }
113
114 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
115 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
116 boolean merge)
117 throws com.liferay.portal.kernel.exception.SystemException {
118 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
119 }
120
121 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
122 java.lang.String uuid, long userId, long groupId, long folderId,
123 java.lang.String name, java.lang.String title,
124 java.lang.String description, java.lang.String versionDescription,
125 java.lang.String extraSettings, byte[] bytes,
126 com.liferay.portal.service.ServiceContext serviceContext)
127 throws com.liferay.portal.kernel.exception.PortalException,
128 com.liferay.portal.kernel.exception.SystemException {
129 return _dlFileEntryLocalService.addFileEntry(uuid, userId, groupId,
130 folderId, name, title, description, versionDescription,
131 extraSettings, bytes, serviceContext);
132 }
133
134 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
135 java.lang.String uuid, long userId, long groupId, long folderId,
136 java.lang.String name, java.lang.String title,
137 java.lang.String description, java.lang.String versionDescription,
138 java.lang.String extraSettings, java.io.File file,
139 com.liferay.portal.service.ServiceContext serviceContext)
140 throws com.liferay.portal.kernel.exception.PortalException,
141 com.liferay.portal.kernel.exception.SystemException {
142 return _dlFileEntryLocalService.addFileEntry(uuid, userId, groupId,
143 folderId, name, title, description, versionDescription,
144 extraSettings, file, serviceContext);
145 }
146
147 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
148 java.lang.String uuid, long userId, long groupId, long folderId,
149 java.lang.String name, java.lang.String title,
150 java.lang.String description, java.lang.String versionDescription,
151 java.lang.String extraSettings, java.io.InputStream is, long size,
152 com.liferay.portal.service.ServiceContext serviceContext)
153 throws com.liferay.portal.kernel.exception.PortalException,
154 com.liferay.portal.kernel.exception.SystemException {
155 return _dlFileEntryLocalService.addFileEntry(uuid, userId, groupId,
156 folderId, name, title, description, versionDescription,
157 extraSettings, is, size, serviceContext);
158 }
159
160 public void addFileEntryResources(
161 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
162 boolean addCommunityPermissions, boolean addGuestPermissions)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
166 addCommunityPermissions, addGuestPermissions);
167 }
168
169 public void addFileEntryResources(
170 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
171 java.lang.String[] communityPermissions,
172 java.lang.String[] guestPermissions)
173 throws com.liferay.portal.kernel.exception.PortalException,
174 com.liferay.portal.kernel.exception.SystemException {
175 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
176 communityPermissions, guestPermissions);
177 }
178
179 public void addFileEntryResources(long fileEntryId,
180 boolean addCommunityPermissions, boolean addGuestPermissions)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException {
183 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
184 addCommunityPermissions, addGuestPermissions);
185 }
186
187 public void addFileEntryResources(long fileEntryId,
188 java.lang.String[] communityPermissions,
189 java.lang.String[] guestPermissions)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException {
192 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
193 communityPermissions, guestPermissions);
194 }
195
196 public com.liferay.portlet.documentlibrary.model.DLFileEntry addOrOverwriteFileEntry(
197 long userId, long groupId, long folderId, java.lang.String name,
198 java.lang.String sourceName, java.lang.String title,
199 java.lang.String description, java.lang.String versionDescription,
200 java.lang.String extraSettings, java.io.File file,
201 com.liferay.portal.service.ServiceContext serviceContext)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return _dlFileEntryLocalService.addOrOverwriteFileEntry(userId,
205 groupId, folderId, name, sourceName, title, description,
206 versionDescription, extraSettings, file, serviceContext);
207 }
208
209 public void deleteFileEntries(long groupId, long folderId)
210 throws com.liferay.portal.kernel.exception.PortalException,
211 com.liferay.portal.kernel.exception.SystemException {
212 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
213 }
214
215 public void deleteFileEntry(
216 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException {
219 _dlFileEntryLocalService.deleteFileEntry(fileEntry);
220 }
221
222 public void deleteFileEntry(long groupId, long folderId,
223 java.lang.String name)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 _dlFileEntryLocalService.deleteFileEntry(groupId, folderId, name);
227 }
228
229 public void deleteFileEntry(long groupId, long folderId,
230 java.lang.String name, java.lang.String version)
231 throws com.liferay.portal.kernel.exception.PortalException,
232 com.liferay.portal.kernel.exception.SystemException {
233 _dlFileEntryLocalService.deleteFileEntry(groupId, folderId, name,
234 version);
235 }
236
237 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
238 long companyId, int start, int end)
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
241 end);
242 }
243
244 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
245 long companyId, int start, int end,
246 com.liferay.portal.kernel.util.OrderByComparator obc)
247 throws com.liferay.portal.kernel.exception.SystemException {
248 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
249 end, obc);
250 }
251
252 public int getCompanyFileEntriesCount(long companyId)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 return _dlFileEntryLocalService.getCompanyFileEntriesCount(companyId);
255 }
256
257 public java.io.InputStream getFileAsStream(long companyId, long userId,
258 long groupId, long folderId, java.lang.String name)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
262 groupId, folderId, name);
263 }
264
265 public java.io.InputStream getFileAsStream(long companyId, long userId,
266 long groupId, long folderId, java.lang.String name,
267 java.lang.String version)
268 throws com.liferay.portal.kernel.exception.PortalException,
269 com.liferay.portal.kernel.exception.SystemException {
270 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
271 groupId, folderId, name, version);
272 }
273
274 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
275 long groupId, long folderId)
276 throws com.liferay.portal.kernel.exception.SystemException {
277 return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
278 }
279
280 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
281 long groupId, long folderId, int start, int end)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
284 start, end);
285 }
286
287 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
288 long groupId, long folderId, int start, int end,
289 com.liferay.portal.kernel.util.OrderByComparator obc)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
292 start, end, obc);
293 }
294
295 public int getFileEntriesCount(long groupId, long folderId)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
298 }
299
300 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
301 long fileEntryId)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException {
304 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
305 }
306
307 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
308 long groupId, long folderId, java.lang.String name)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, name);
312 }
313
314 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
315 long groupId, long folderId, java.lang.String title)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 return _dlFileEntryLocalService.getFileEntryByTitle(groupId, folderId,
319 title);
320 }
321
322 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
323 java.lang.String uuid, long groupId)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
327 groupId);
328 }
329
330 public int getFoldersFileEntriesCount(long groupId,
331 java.util.List<Long> folderIds, int status)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _dlFileEntryLocalService.getFoldersFileEntriesCount(groupId,
334 folderIds, status);
335 }
336
337 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
338 long groupId, int start, int end)
339 throws com.liferay.portal.kernel.exception.SystemException {
340 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
341 }
342
343 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
344 long groupId, int start, int end,
345 com.liferay.portal.kernel.util.OrderByComparator obc)
346 throws com.liferay.portal.kernel.exception.SystemException {
347 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
348 end, obc);
349 }
350
351 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
352 long groupId, long userId, int start, int end)
353 throws com.liferay.portal.kernel.exception.SystemException {
354 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
355 start, end);
356 }
357
358 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
359 long groupId, long userId, int start, int end,
360 com.liferay.portal.kernel.util.OrderByComparator obc)
361 throws com.liferay.portal.kernel.exception.SystemException {
362 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
363 start, end, obc);
364 }
365
366 public int getGroupFileEntriesCount(long groupId)
367 throws com.liferay.portal.kernel.exception.SystemException {
368 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
369 }
370
371 public int getGroupFileEntriesCount(long groupId, long userId)
372 throws com.liferay.portal.kernel.exception.SystemException {
373 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
374 }
375
376 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
377 throws com.liferay.portal.kernel.exception.SystemException {
378 return _dlFileEntryLocalService.getNoAssetFileEntries();
379 }
380
381 public void updateAsset(long userId,
382 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
383 long[] assetCategoryIds, java.lang.String[] assetTagNames)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 _dlFileEntryLocalService.updateAsset(userId, fileEntry,
387 assetCategoryIds, assetTagNames);
388 }
389
390 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
391 long userId, long groupId, long folderId, long newFolderId,
392 java.lang.String name, java.lang.String sourceFileName,
393 java.lang.String title, java.lang.String description,
394 java.lang.String versionDescription, boolean majorVersion,
395 java.lang.String extraSettings, byte[] bytes,
396 com.liferay.portal.service.ServiceContext serviceContext)
397 throws com.liferay.portal.kernel.exception.PortalException,
398 com.liferay.portal.kernel.exception.SystemException {
399 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
400 folderId, newFolderId, name, sourceFileName, title, description,
401 versionDescription, majorVersion, extraSettings, bytes,
402 serviceContext);
403 }
404
405 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
406 long userId, long groupId, long folderId, long newFolderId,
407 java.lang.String name, java.lang.String sourceFileName,
408 java.lang.String title, java.lang.String description,
409 java.lang.String versionDescription, boolean majorVersion,
410 java.lang.String extraSettings, java.io.File file,
411 com.liferay.portal.service.ServiceContext serviceContext)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException {
414 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
415 folderId, newFolderId, name, sourceFileName, title, description,
416 versionDescription, majorVersion, extraSettings, file,
417 serviceContext);
418 }
419
420 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
421 long userId, long groupId, long folderId, long newFolderId,
422 java.lang.String name, java.lang.String sourceFileName,
423 java.lang.String title, java.lang.String description,
424 java.lang.String versionDescription, boolean majorVersion,
425 java.lang.String extraSettings, java.io.InputStream is, long size,
426 com.liferay.portal.service.ServiceContext serviceContext)
427 throws com.liferay.portal.kernel.exception.PortalException,
428 com.liferay.portal.kernel.exception.SystemException {
429 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
430 folderId, newFolderId, name, sourceFileName, title, description,
431 versionDescription, majorVersion, extraSettings, is, size,
432 serviceContext);
433 }
434
435 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
436 long userId, long fileEntryId,
437 com.liferay.portal.service.ServiceContext serviceContext)
438 throws com.liferay.portal.kernel.exception.PortalException,
439 com.liferay.portal.kernel.exception.SystemException {
440 return _dlFileEntryLocalService.updateStatus(userId, fileEntryId,
441 serviceContext);
442 }
443
444 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
445 return _dlFileEntryLocalService;
446 }
447
448 private DLFileEntryLocalService _dlFileEntryLocalService;
449 }