001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017
026 public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService {
027 public DLFileEntryLocalServiceWrapper(
028 DLFileEntryLocalService dlFileEntryLocalService) {
029 _dlFileEntryLocalService = dlFileEntryLocalService;
030 }
031
032 public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
033 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
036 }
037
038 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
039 long fileEntryId) {
040 return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
041 }
042
043 public void deleteDLFileEntry(long fileEntryId)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
047 }
048
049 public void deleteDLFileEntry(
050 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
053 }
054
055 @SuppressWarnings("unchecked")
056 public java.util.List dynamicQuery(
057 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058 throws com.liferay.portal.kernel.exception.SystemException {
059 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
060 }
061
062 @SuppressWarnings("unchecked")
063 public java.util.List dynamicQuery(
064 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065 int end) throws com.liferay.portal.kernel.exception.SystemException {
066 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
067 }
068
069 @SuppressWarnings("unchecked")
070 public java.util.List dynamicQuery(
071 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072 int end,
073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
076 orderByComparator);
077 }
078
079 public long dynamicQueryCount(
080 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
083 }
084
085 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
086 long fileEntryId)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
090 }
091
092 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
093 java.lang.String uuid, long groupId)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
097 groupId);
098 }
099
100 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
101 int start, int end)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _dlFileEntryLocalService.getDLFileEntries(start, end);
104 }
105
106 public int getDLFileEntriesCount()
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return _dlFileEntryLocalService.getDLFileEntriesCount();
109 }
110
111 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
112 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
115 }
116
117 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
118 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
119 boolean merge)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
122 }
123
124 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
125 long userId, long groupId, long folderId, java.lang.String name,
126 java.lang.String title, java.lang.String description,
127 java.lang.String changeLog, java.lang.String extraSettings,
128 byte[] bytes, com.liferay.portal.service.ServiceContext serviceContext)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException {
131 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
132 name, title, description, changeLog, extraSettings, bytes,
133 serviceContext);
134 }
135
136 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
137 long userId, long groupId, long folderId, java.lang.String name,
138 java.lang.String title, java.lang.String description,
139 java.lang.String changeLog, java.lang.String extraSettings,
140 java.io.File file,
141 com.liferay.portal.service.ServiceContext serviceContext)
142 throws com.liferay.portal.kernel.exception.PortalException,
143 com.liferay.portal.kernel.exception.SystemException {
144 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
145 name, title, description, changeLog, extraSettings, file,
146 serviceContext);
147 }
148
149 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
150 long userId, long groupId, long folderId, java.lang.String name,
151 java.lang.String title, java.lang.String description,
152 java.lang.String changeLog, java.lang.String extraSettings,
153 java.io.InputStream is, long size,
154 com.liferay.portal.service.ServiceContext serviceContext)
155 throws com.liferay.portal.kernel.exception.PortalException,
156 com.liferay.portal.kernel.exception.SystemException {
157 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
158 name, title, description, changeLog, extraSettings, is, size,
159 serviceContext);
160 }
161
162 public void addFileEntryResources(
163 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
164 boolean addCommunityPermissions, boolean addGuestPermissions)
165 throws com.liferay.portal.kernel.exception.PortalException,
166 com.liferay.portal.kernel.exception.SystemException {
167 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
168 addCommunityPermissions, addGuestPermissions);
169 }
170
171 public void addFileEntryResources(
172 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
173 java.lang.String[] communityPermissions,
174 java.lang.String[] guestPermissions)
175 throws com.liferay.portal.kernel.exception.PortalException,
176 com.liferay.portal.kernel.exception.SystemException {
177 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
178 communityPermissions, guestPermissions);
179 }
180
181 public void addFileEntryResources(long fileEntryId,
182 boolean addCommunityPermissions, boolean addGuestPermissions)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
186 addCommunityPermissions, addGuestPermissions);
187 }
188
189 public void addFileEntryResources(long fileEntryId,
190 java.lang.String[] communityPermissions,
191 java.lang.String[] guestPermissions)
192 throws com.liferay.portal.kernel.exception.PortalException,
193 com.liferay.portal.kernel.exception.SystemException {
194 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
195 communityPermissions, guestPermissions);
196 }
197
198 public com.liferay.portlet.documentlibrary.model.DLFileEntry addOrOverwriteFileEntry(
199 long userId, long groupId, long folderId, java.lang.String name,
200 java.lang.String sourceName, java.lang.String title,
201 java.lang.String description, java.lang.String changeLog,
202 java.lang.String extraSettings, java.io.File file,
203 com.liferay.portal.service.ServiceContext serviceContext)
204 throws com.liferay.portal.kernel.exception.PortalException,
205 com.liferay.portal.kernel.exception.SystemException {
206 return _dlFileEntryLocalService.addOrOverwriteFileEntry(userId,
207 groupId, folderId, name, sourceName, title, description, changeLog,
208 extraSettings, file, serviceContext);
209 }
210
211 public void deleteFileEntries(long groupId, long folderId)
212 throws com.liferay.portal.kernel.exception.PortalException,
213 com.liferay.portal.kernel.exception.SystemException {
214 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
215 }
216
217 public void deleteFileEntry(
218 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry)
219 throws com.liferay.portal.kernel.exception.PortalException,
220 com.liferay.portal.kernel.exception.SystemException {
221 _dlFileEntryLocalService.deleteFileEntry(fileEntry);
222 }
223
224 public void deleteFileEntry(long groupId, long folderId,
225 java.lang.String name)
226 throws com.liferay.portal.kernel.exception.PortalException,
227 com.liferay.portal.kernel.exception.SystemException {
228 _dlFileEntryLocalService.deleteFileEntry(groupId, folderId, name);
229 }
230
231 public void deleteFileEntry(long groupId, long folderId,
232 java.lang.String name, java.lang.String version)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 _dlFileEntryLocalService.deleteFileEntry(groupId, folderId, name,
236 version);
237 }
238
239 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
240 long companyId, int start, int end)
241 throws com.liferay.portal.kernel.exception.SystemException {
242 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
243 end);
244 }
245
246 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
247 long companyId, int start, int end,
248 com.liferay.portal.kernel.util.OrderByComparator obc)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
251 end, obc);
252 }
253
254 public int getCompanyFileEntriesCount(long companyId)
255 throws com.liferay.portal.kernel.exception.SystemException {
256 return _dlFileEntryLocalService.getCompanyFileEntriesCount(companyId);
257 }
258
259 public java.io.InputStream getFileAsStream(long companyId, long userId,
260 long groupId, long folderId, java.lang.String name)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
264 groupId, folderId, name);
265 }
266
267 public java.io.InputStream getFileAsStream(long companyId, long userId,
268 long groupId, long folderId, java.lang.String name,
269 java.lang.String version)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException {
272 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
273 groupId, folderId, name, version);
274 }
275
276 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
277 long groupId, long folderId)
278 throws com.liferay.portal.kernel.exception.SystemException {
279 return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
280 }
281
282 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
283 long groupId, long folderId, int start, int end)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
286 start, end);
287 }
288
289 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
290 long groupId, long folderId, int start, int end,
291 com.liferay.portal.kernel.util.OrderByComparator obc)
292 throws com.liferay.portal.kernel.exception.SystemException {
293 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
294 start, end, obc);
295 }
296
297 public int getFileEntriesCount(long groupId, long folderId)
298 throws com.liferay.portal.kernel.exception.SystemException {
299 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
300 }
301
302 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
303 long fileEntryId)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
307 }
308
309 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
310 long groupId, long folderId, java.lang.String name)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException {
313 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, name);
314 }
315
316 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
317 long groupId, long folderId, java.lang.String title)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 return _dlFileEntryLocalService.getFileEntryByTitle(groupId, folderId,
321 title);
322 }
323
324 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
325 java.lang.String uuid, long groupId)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
329 groupId);
330 }
331
332 public int getFoldersFileEntriesCount(long groupId,
333 java.util.List<java.lang.Long> folderIds, int status)
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return _dlFileEntryLocalService.getFoldersFileEntriesCount(groupId,
336 folderIds, status);
337 }
338
339 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
340 long groupId, int start, int end)
341 throws com.liferay.portal.kernel.exception.SystemException {
342 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
343 }
344
345 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
346 long groupId, int start, int end,
347 com.liferay.portal.kernel.util.OrderByComparator obc)
348 throws com.liferay.portal.kernel.exception.SystemException {
349 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
350 end, obc);
351 }
352
353 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
354 long groupId, long userId, int start, int end)
355 throws com.liferay.portal.kernel.exception.SystemException {
356 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
357 start, end);
358 }
359
360 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
361 long groupId, long userId, int start, int end,
362 com.liferay.portal.kernel.util.OrderByComparator obc)
363 throws com.liferay.portal.kernel.exception.SystemException {
364 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
365 start, end, obc);
366 }
367
368 public int getGroupFileEntriesCount(long groupId)
369 throws com.liferay.portal.kernel.exception.SystemException {
370 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
371 }
372
373 public int getGroupFileEntriesCount(long groupId, long userId)
374 throws com.liferay.portal.kernel.exception.SystemException {
375 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
376 }
377
378 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return _dlFileEntryLocalService.getNoAssetFileEntries();
381 }
382
383 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
384 long userId, long groupId, long folderId, long newFolderId,
385 java.lang.String name,
386 com.liferay.portal.service.ServiceContext serviceContext)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException {
389 return _dlFileEntryLocalService.moveFileEntry(userId, groupId,
390 folderId, newFolderId, name, serviceContext);
391 }
392
393 public void updateAsset(long userId,
394 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
395 com.liferay.portlet.documentlibrary.model.DLFileVersion fileVersion,
396 long[] assetCategoryIds, java.lang.String[] assetTagNames)
397 throws com.liferay.portal.kernel.exception.PortalException,
398 com.liferay.portal.kernel.exception.SystemException {
399 _dlFileEntryLocalService.updateAsset(userId, fileEntry, fileVersion,
400 assetCategoryIds, assetTagNames);
401 }
402
403 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
404 long userId, long groupId, long folderId, java.lang.String name,
405 java.lang.String sourceFileName, java.lang.String title,
406 java.lang.String description, java.lang.String changeLog,
407 boolean majorVersion, java.lang.String extraSettings, byte[] bytes,
408 com.liferay.portal.service.ServiceContext serviceContext)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
412 folderId, name, sourceFileName, title, description, changeLog,
413 majorVersion, extraSettings, bytes, serviceContext);
414 }
415
416 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
417 long userId, long groupId, long folderId, java.lang.String name,
418 java.lang.String sourceFileName, java.lang.String title,
419 java.lang.String description, java.lang.String changeLog,
420 boolean majorVersion, java.lang.String extraSettings,
421 java.io.File file,
422 com.liferay.portal.service.ServiceContext serviceContext)
423 throws com.liferay.portal.kernel.exception.PortalException,
424 com.liferay.portal.kernel.exception.SystemException {
425 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
426 folderId, name, sourceFileName, title, description, changeLog,
427 majorVersion, extraSettings, file, serviceContext);
428 }
429
430 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
431 long userId, long groupId, long folderId, java.lang.String name,
432 java.lang.String sourceFileName, java.lang.String title,
433 java.lang.String description, java.lang.String changeLog,
434 boolean majorVersion, java.lang.String extraSettings,
435 java.io.InputStream is, long size,
436 com.liferay.portal.service.ServiceContext serviceContext)
437 throws com.liferay.portal.kernel.exception.PortalException,
438 com.liferay.portal.kernel.exception.SystemException {
439 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
440 folderId, name, sourceFileName, title, description, changeLog,
441 majorVersion, extraSettings, is, size, serviceContext);
442 }
443
444 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
445 long userId, long fileEntryId, int status,
446 com.liferay.portal.service.ServiceContext serviceContext)
447 throws com.liferay.portal.kernel.exception.PortalException,
448 com.liferay.portal.kernel.exception.SystemException {
449 return _dlFileEntryLocalService.updateStatus(userId, fileEntryId,
450 status, serviceContext);
451 }
452
453 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
454 return _dlFileEntryLocalService;
455 }
456
457 private DLFileEntryLocalService _dlFileEntryLocalService;
458 }