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.PortalException,
037 com.liferay.portal.kernel.exception.SystemException {
038 return _dlSyncService.getDLSyncUpdate(companyId, repositoryId,
039 lastAccessDate);
040 }
041
042 public java.io.InputStream getFileDeltaAsStream(long fileEntryId,
043 java.lang.String sourceVersion, java.lang.String destinationVersion)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 return _dlSyncService.getFileDeltaAsStream(fileEntryId, sourceVersion,
047 destinationVersion);
048 }
049
050 public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(
051 long fileEntryId, java.lang.String sourceFileName,
052 java.lang.String mimeType, java.lang.String title,
053 java.lang.String description, java.lang.String changeLog,
054 boolean majorVersion, java.io.InputStream deltaInputStream, long size,
055 com.liferay.portal.service.ServiceContext serviceContext)
056 throws com.liferay.portal.kernel.exception.PortalException,
057 com.liferay.portal.kernel.exception.SystemException {
058 return _dlSyncService.updateFileEntry(fileEntryId, sourceFileName,
059 mimeType, title, description, changeLog, majorVersion,
060 deltaInputStream, size, serviceContext);
061 }
062
063
066 public DLSyncService getWrappedDLSyncService() {
067 return _dlSyncService;
068 }
069
070
073 public void setWrappedDLSyncService(DLSyncService dlSyncService) {
074 _dlSyncService = dlSyncService;
075 }
076
077 public DLSyncService getWrappedService() {
078 return _dlSyncService;
079 }
080
081 public void setWrappedService(DLSyncService dlSyncService) {
082 _dlSyncService = dlSyncService;
083 }
084
085 private DLSyncService _dlSyncService;
086 }