001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLFileShortcutServiceWrapper implements DLFileShortcutService,
029 ServiceWrapper<DLFileShortcutService> {
030 public DLFileShortcutServiceWrapper(
031 DLFileShortcutService dlFileShortcutService) {
032 _dlFileShortcutService = dlFileShortcutService;
033 }
034
035 public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
036 long groupId, long folderId, long toFileEntryId,
037 com.liferay.portal.service.ServiceContext serviceContext)
038 throws com.liferay.portal.kernel.exception.PortalException,
039 com.liferay.portal.kernel.exception.SystemException {
040 return _dlFileShortcutService.addFileShortcut(groupId, folderId,
041 toFileEntryId, serviceContext);
042 }
043
044 public void deleteFileShortcut(long fileShortcutId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
048 }
049
050 public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
051 long fileShortcutId)
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException {
054 return _dlFileShortcutService.getFileShortcut(fileShortcutId);
055 }
056
057 public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
058 long fileShortcutId, long folderId, long toFileEntryId,
059 com.liferay.portal.service.ServiceContext serviceContext)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
063 folderId, toFileEntryId, serviceContext);
064 }
065
066
069 public DLFileShortcutService getWrappedDLFileShortcutService() {
070 return _dlFileShortcutService;
071 }
072
073
076 public void setWrappedDLFileShortcutService(
077 DLFileShortcutService dlFileShortcutService) {
078 _dlFileShortcutService = dlFileShortcutService;
079 }
080
081 public DLFileShortcutService getWrappedService() {
082 return _dlFileShortcutService;
083 }
084
085 public void setWrappedService(DLFileShortcutService dlFileShortcutService) {
086 _dlFileShortcutService = dlFileShortcutService;
087 }
088
089 private DLFileShortcutService _dlFileShortcutService;
090 }