001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class DLAppHelperLocalServiceWrapper implements DLAppHelperLocalService,
030 ServiceWrapper<DLAppHelperLocalService> {
031 public DLAppHelperLocalServiceWrapper(
032 DLAppHelperLocalService dlAppHelperLocalService) {
033 _dlAppHelperLocalService = dlAppHelperLocalService;
034 }
035
036
041 @Override
042 public java.lang.String getBeanIdentifier() {
043 return _dlAppHelperLocalService.getBeanIdentifier();
044 }
045
046
051 @Override
052 public void setBeanIdentifier(java.lang.String beanIdentifier) {
053 _dlAppHelperLocalService.setBeanIdentifier(beanIdentifier);
054 }
055
056 @Override
057 public void addFileEntry(long userId,
058 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
059 com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
060 com.liferay.portal.service.ServiceContext serviceContext)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 _dlAppHelperLocalService.addFileEntry(userId, fileEntry, fileVersion,
064 serviceContext);
065 }
066
067 @Override
068 public void addFolder(long userId,
069 com.liferay.portal.kernel.repository.model.Folder folder,
070 com.liferay.portal.service.ServiceContext serviceContext)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 _dlAppHelperLocalService.addFolder(userId, folder, serviceContext);
074 }
075
076 @Override
077 public void cancelCheckOut(long userId,
078 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
079 com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
080 com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
081 com.liferay.portal.kernel.repository.model.FileVersion draftFileVersion,
082 com.liferay.portal.service.ServiceContext serviceContext)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException {
085 _dlAppHelperLocalService.cancelCheckOut(userId, fileEntry,
086 sourceFileVersion, destinationFileVersion, draftFileVersion,
087 serviceContext);
088 }
089
090 @Override
091 public void checkAssetEntry(long userId,
092 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
093 com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 _dlAppHelperLocalService.checkAssetEntry(userId, fileEntry, fileVersion);
097 }
098
099 @Override
100 public void deleteFileEntry(
101 com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 _dlAppHelperLocalService.deleteFileEntry(fileEntry);
105 }
106
107 @Override
108 public void deleteFolder(
109 com.liferay.portal.kernel.repository.model.Folder folder)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 _dlAppHelperLocalService.deleteFolder(folder);
113 }
114
115 @Override
116 public void getFileAsStream(long userId,
117 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
118 boolean incrementCounter)
119 throws com.liferay.portal.kernel.exception.SystemException {
120 _dlAppHelperLocalService.getFileAsStream(userId, fileEntry,
121 incrementCounter);
122 }
123
124 @Override
125 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getFileShortcuts(
126 long groupId, long folderId, boolean active, int status)
127 throws com.liferay.portal.kernel.exception.SystemException {
128 return _dlAppHelperLocalService.getFileShortcuts(groupId, folderId,
129 active, status);
130 }
131
132
136 @Override
137 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getFileShortcuts(
138 long groupId, long folderId, int status)
139 throws com.liferay.portal.kernel.exception.SystemException {
140 return _dlAppHelperLocalService.getFileShortcuts(groupId, folderId,
141 status);
142 }
143
144 @Override
145 public int getFileShortcutsCount(long groupId, long folderId,
146 boolean active, int status)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _dlAppHelperLocalService.getFileShortcutsCount(groupId,
149 folderId, active, status);
150 }
151
152
156 @Override
157 public int getFileShortcutsCount(long groupId, long folderId, int status)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _dlAppHelperLocalService.getFileShortcutsCount(groupId,
160 folderId, status);
161 }
162
163 @Override
164 public java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getNoAssetFileEntries() {
165 return _dlAppHelperLocalService.getNoAssetFileEntries();
166 }
167
168 @Override
169 public void moveDependentsToTrash(
170 java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
171 long trashEntryId)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 _dlAppHelperLocalService.moveDependentsToTrash(dlFileEntriesAndDLFolders,
175 trashEntryId);
176 }
177
178 @Override
179 public void moveFileEntry(
180 com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException {
183 _dlAppHelperLocalService.moveFileEntry(fileEntry);
184 }
185
186 @Override
187 public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryFromTrash(
188 long userId,
189 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
190 long newFolderId,
191 com.liferay.portal.service.ServiceContext serviceContext)
192 throws com.liferay.portal.kernel.exception.PortalException,
193 com.liferay.portal.kernel.exception.SystemException {
194 return _dlAppHelperLocalService.moveFileEntryFromTrash(userId,
195 fileEntry, newFolderId, serviceContext);
196 }
197
198
207 @Override
208 public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryToTrash(
209 long userId,
210 com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
211 throws com.liferay.portal.kernel.exception.PortalException,
212 com.liferay.portal.kernel.exception.SystemException {
213 return _dlAppHelperLocalService.moveFileEntryToTrash(userId, fileEntry);
214 }
215
216 @Override
217 public com.liferay.portlet.documentlibrary.model.DLFileShortcut moveFileShortcutFromTrash(
218 long userId,
219 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
220 long newFolderId,
221 com.liferay.portal.service.ServiceContext serviceContext)
222 throws com.liferay.portal.kernel.exception.PortalException,
223 com.liferay.portal.kernel.exception.SystemException {
224 return _dlAppHelperLocalService.moveFileShortcutFromTrash(userId,
225 dlFileShortcut, newFolderId, serviceContext);
226 }
227
228
237 @Override
238 public com.liferay.portlet.documentlibrary.model.DLFileShortcut moveFileShortcutToTrash(
239 long userId,
240 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException {
243 return _dlAppHelperLocalService.moveFileShortcutToTrash(userId,
244 dlFileShortcut);
245 }
246
247 @Override
248 public void moveFolder(
249 com.liferay.portal.kernel.repository.model.Folder folder)
250 throws com.liferay.portal.kernel.exception.SystemException {
251 _dlAppHelperLocalService.moveFolder(folder);
252 }
253
254 @Override
255 public com.liferay.portal.kernel.repository.model.Folder moveFolderFromTrash(
256 long userId, com.liferay.portal.kernel.repository.model.Folder folder,
257 long parentFolderId,
258 com.liferay.portal.service.ServiceContext serviceContext)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _dlAppHelperLocalService.moveFolderFromTrash(userId, folder,
262 parentFolderId, serviceContext);
263 }
264
265
274 @Override
275 public com.liferay.portal.kernel.repository.model.Folder moveFolderToTrash(
276 long userId, com.liferay.portal.kernel.repository.model.Folder folder)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 return _dlAppHelperLocalService.moveFolderToTrash(userId, folder);
280 }
281
282 @Override
283 public void registerDLSyncEventCallback(java.lang.String event,
284 com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
285 throws com.liferay.portal.kernel.exception.PortalException,
286 com.liferay.portal.kernel.exception.SystemException {
287 _dlAppHelperLocalService.registerDLSyncEventCallback(event, fileEntry);
288 }
289
290 @Override
291 public void registerDLSyncEventCallback(java.lang.String event,
292 com.liferay.portal.kernel.repository.model.Folder folder)
293 throws com.liferay.portal.kernel.exception.SystemException {
294 _dlAppHelperLocalService.registerDLSyncEventCallback(event, folder);
295 }
296
297 @Override
298 public void restoreDependentsFromTrash(
299 java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
300 long trashEntryId)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 _dlAppHelperLocalService.restoreDependentsFromTrash(dlFileEntriesAndDLFolders,
304 trashEntryId);
305 }
306
307 @Override
308 public void restoreFileEntryFromTrash(long userId,
309 com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 _dlAppHelperLocalService.restoreFileEntryFromTrash(userId, fileEntry);
313 }
314
315 @Override
316 public void restoreFileShortcutFromTrash(long userId,
317 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 _dlAppHelperLocalService.restoreFileShortcutFromTrash(userId,
321 dlFileShortcut);
322 }
323
324 @Override
325 public void restoreFolderFromTrash(long userId,
326 com.liferay.portal.kernel.repository.model.Folder folder)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 _dlAppHelperLocalService.restoreFolderFromTrash(userId, folder);
330 }
331
332 @Override
333 public com.liferay.portlet.asset.model.AssetEntry updateAsset(long userId,
334 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
335 com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
336 long assetClassPk)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 return _dlAppHelperLocalService.updateAsset(userId, fileEntry,
340 fileVersion, assetClassPk);
341 }
342
343 @Override
344 public com.liferay.portlet.asset.model.AssetEntry updateAsset(long userId,
345 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
346 com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
347 long[] assetCategoryIds, java.lang.String[] assetTagNames,
348 long[] assetLinkEntryIds)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 return _dlAppHelperLocalService.updateAsset(userId, fileEntry,
352 fileVersion, assetCategoryIds, assetTagNames, assetLinkEntryIds);
353 }
354
355 @Override
356 public com.liferay.portlet.asset.model.AssetEntry updateAsset(long userId,
357 com.liferay.portal.kernel.repository.model.Folder folder,
358 long[] assetCategoryIds, java.lang.String[] assetTagNames,
359 long[] assetLinkEntryIds)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 return _dlAppHelperLocalService.updateAsset(userId, folder,
363 assetCategoryIds, assetTagNames, assetLinkEntryIds);
364 }
365
366 @Override
367 public void updateFileEntry(long userId,
368 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
369 com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
370 com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
371 long assetClassPk)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException {
374 _dlAppHelperLocalService.updateFileEntry(userId, fileEntry,
375 sourceFileVersion, destinationFileVersion, assetClassPk);
376 }
377
378 @Override
379 public void updateFileEntry(long userId,
380 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
381 com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
382 com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
383 com.liferay.portal.service.ServiceContext serviceContext)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 _dlAppHelperLocalService.updateFileEntry(userId, fileEntry,
387 sourceFileVersion, destinationFileVersion, serviceContext);
388 }
389
390 @Override
391 public void updateFolder(long userId,
392 com.liferay.portal.kernel.repository.model.Folder folder,
393 com.liferay.portal.service.ServiceContext serviceContext)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException {
396 _dlAppHelperLocalService.updateFolder(userId, folder, serviceContext);
397 }
398
399 @Override
400 public void updateStatus(long userId,
401 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
402 com.liferay.portal.kernel.repository.model.FileVersion latestFileVersion,
403 int oldStatus, int newStatus,
404 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
405 com.liferay.portal.service.ServiceContext serviceContext)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 _dlAppHelperLocalService.updateStatus(userId, fileEntry,
409 latestFileVersion, oldStatus, newStatus, workflowContext,
410 serviceContext);
411 }
412
413
416 public DLAppHelperLocalService getWrappedDLAppHelperLocalService() {
417 return _dlAppHelperLocalService;
418 }
419
420
423 public void setWrappedDLAppHelperLocalService(
424 DLAppHelperLocalService dlAppHelperLocalService) {
425 _dlAppHelperLocalService = dlAppHelperLocalService;
426 }
427
428 @Override
429 public DLAppHelperLocalService getWrappedService() {
430 return _dlAppHelperLocalService;
431 }
432
433 @Override
434 public void setWrappedService(
435 DLAppHelperLocalService dlAppHelperLocalService) {
436 _dlAppHelperLocalService = dlAppHelperLocalService;
437 }
438
439 private DLAppHelperLocalService _dlAppHelperLocalService;
440 }