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