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 DLFileShortcutServiceWrapper implements DLFileShortcutService,
030 ServiceWrapper<DLFileShortcutService> {
031 public DLFileShortcutServiceWrapper(
032 DLFileShortcutService dlFileShortcutService) {
033 _dlFileShortcutService = dlFileShortcutService;
034 }
035
036 @Override
037 public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
038 long groupId, long repositoryId, long folderId, long toFileEntryId,
039 com.liferay.portal.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 void deleteFileShortcut(long fileShortcutId)
047 throws com.liferay.portal.kernel.exception.PortalException {
048 _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
049 }
050
051 @Override
052 public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
053 long fileShortcutId)
054 throws com.liferay.portal.kernel.exception.PortalException {
055 return _dlFileShortcutService.getFileShortcut(fileShortcutId);
056 }
057
058
063 @Override
064 public java.lang.String getOSGiServiceIdentifier() {
065 return _dlFileShortcutService.getOSGiServiceIdentifier();
066 }
067
068 @Override
069 public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
070 long fileShortcutId, long repositoryId, long folderId,
071 long toFileEntryId,
072 com.liferay.portal.service.ServiceContext serviceContext)
073 throws com.liferay.portal.kernel.exception.PortalException {
074 return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
075 repositoryId, folderId, toFileEntryId, serviceContext);
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 }