001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLSyncServiceWrapper implements DLSyncService,
029 ServiceWrapper<DLSyncService> {
030 public DLSyncServiceWrapper(DLSyncService dlSyncService) {
031 _dlSyncService = dlSyncService;
032 }
033
034 public com.liferay.portlet.documentlibrary.model.DLSyncUpdate getDLSyncUpdate(
035 long companyId, long repositoryId, java.util.Date lastAccessDate)
036 throws com.liferay.portal.kernel.exception.SystemException {
037 return _dlSyncService.getDLSyncUpdate(companyId, repositoryId,
038 lastAccessDate);
039 }
040
041 public java.io.InputStream getFileDeltaAsStream(long fileEntryId,
042 java.lang.String sourceVersion, java.lang.String destinationVersion)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 return _dlSyncService.getFileDeltaAsStream(fileEntryId, sourceVersion,
046 destinationVersion);
047 }
048
049 public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(
050 long fileEntryId, java.lang.String sourceFileName,
051 java.lang.String mimeType, java.lang.String title,
052 java.lang.String description, java.lang.String changeLog,
053 boolean majorVersion, java.io.InputStream deltaInputStream, long size,
054 com.liferay.portal.service.ServiceContext serviceContext)
055 throws com.liferay.portal.kernel.exception.PortalException,
056 com.liferay.portal.kernel.exception.SystemException {
057 return _dlSyncService.updateFileEntry(fileEntryId, sourceFileName,
058 mimeType, title, description, changeLog, majorVersion,
059 deltaInputStream, size, serviceContext);
060 }
061
062
065 public DLSyncService getWrappedDLSyncService() {
066 return _dlSyncService;
067 }
068
069
072 public void setWrappedDLSyncService(DLSyncService dlSyncService) {
073 _dlSyncService = dlSyncService;
074 }
075
076 public DLSyncService getWrappedService() {
077 return _dlSyncService;
078 }
079
080 public void setWrappedService(DLSyncService dlSyncService) {
081 _dlSyncService = dlSyncService;
082 }
083
084 private DLSyncService _dlSyncService;
085 }