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 DLTrashLocalServiceWrapper implements DLTrashLocalService,
030 ServiceWrapper<DLTrashLocalService> {
031 public DLTrashLocalServiceWrapper(DLTrashLocalService dlTrashLocalService) {
032 _dlTrashLocalService = dlTrashLocalService;
033 }
034
035
040 @Override
041 public java.lang.String getOSGiServiceIdentifier() {
042 return _dlTrashLocalService.getOSGiServiceIdentifier();
043 }
044
045 @Override
046 public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryFromTrash(
047 long userId, long repositoryId, long fileEntryId, long newFolderId,
048 com.liferay.portal.service.ServiceContext serviceContext)
049 throws com.liferay.portal.kernel.exception.PortalException {
050 return _dlTrashLocalService.moveFileEntryFromTrash(userId,
051 repositoryId, fileEntryId, newFolderId, serviceContext);
052 }
053
054 @Override
055 public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryToTrash(
056 long userId, long repositoryId, long fileEntryId)
057 throws com.liferay.portal.kernel.exception.PortalException {
058 return _dlTrashLocalService.moveFileEntryToTrash(userId, repositoryId,
059 fileEntryId);
060 }
061
062 @Override
063 public void restoreFileEntryFromTrash(long userId, long repositoryId,
064 long fileEntryId)
065 throws com.liferay.portal.kernel.exception.PortalException {
066 _dlTrashLocalService.restoreFileEntryFromTrash(userId, repositoryId,
067 fileEntryId);
068 }
069
070
073 @Deprecated
074 public DLTrashLocalService getWrappedDLTrashLocalService() {
075 return _dlTrashLocalService;
076 }
077
078
081 @Deprecated
082 public void setWrappedDLTrashLocalService(
083 DLTrashLocalService dlTrashLocalService) {
084 _dlTrashLocalService = dlTrashLocalService;
085 }
086
087 @Override
088 public DLTrashLocalService getWrappedService() {
089 return _dlTrashLocalService;
090 }
091
092 @Override
093 public void setWrappedService(DLTrashLocalService dlTrashLocalService) {
094 _dlTrashLocalService = dlTrashLocalService;
095 }
096
097 private DLTrashLocalService _dlTrashLocalService;
098 }