001
014
015 package com.liferay.document.library.kernel.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class DLFileShortcutServiceWrapper implements DLFileShortcutService,
030 ServiceWrapper<DLFileShortcutService> {
031 public DLFileShortcutServiceWrapper(
032 DLFileShortcutService dlFileShortcutService) {
033 _dlFileShortcutService = dlFileShortcutService;
034 }
035
036 @Override
037 public com.liferay.document.library.kernel.model.DLFileShortcut addFileShortcut(
038 long groupId, long repositoryId, long folderId, long toFileEntryId,
039 com.liferay.portal.kernel.service.ServiceContext serviceContext)
040 throws com.liferay.portal.kernel.exception.PortalException {
041 return _dlFileShortcutService.addFileShortcut(groupId, repositoryId,
042 folderId, toFileEntryId, serviceContext);
043 }
044
045 @Override
046 public com.liferay.document.library.kernel.model.DLFileShortcut getFileShortcut(
047 long fileShortcutId)
048 throws com.liferay.portal.kernel.exception.PortalException {
049 return _dlFileShortcutService.getFileShortcut(fileShortcutId);
050 }
051
052 @Override
053 public com.liferay.document.library.kernel.model.DLFileShortcut updateFileShortcut(
054 long fileShortcutId, long repositoryId, long folderId,
055 long toFileEntryId,
056 com.liferay.portal.kernel.service.ServiceContext serviceContext)
057 throws com.liferay.portal.kernel.exception.PortalException {
058 return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
059 repositoryId, folderId, toFileEntryId, serviceContext);
060 }
061
062
067 @Override
068 public java.lang.String getOSGiServiceIdentifier() {
069 return _dlFileShortcutService.getOSGiServiceIdentifier();
070 }
071
072 @Override
073 public void deleteFileShortcut(long fileShortcutId)
074 throws com.liferay.portal.kernel.exception.PortalException {
075 _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
076 }
077
078 @Override
079 public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
080 throws com.liferay.portal.kernel.exception.PortalException {
081 _dlFileShortcutService.updateFileShortcuts(oldToFileEntryId,
082 newToFileEntryId);
083 }
084
085 @Override
086 public DLFileShortcutService getWrappedService() {
087 return _dlFileShortcutService;
088 }
089
090 @Override
091 public void setWrappedService(DLFileShortcutService dlFileShortcutService) {
092 _dlFileShortcutService = dlFileShortcutService;
093 }
094
095 private DLFileShortcutService _dlFileShortcutService;
096 }