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
039 public java.lang.String getBeanIdentifier() {
040 return _dlSyncService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _dlSyncService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.documentlibrary.model.DLSyncUpdate getDLSyncUpdate(
053 long companyId, long repositoryId, java.util.Date lastAccessDate)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException {
056 return _dlSyncService.getDLSyncUpdate(companyId, repositoryId,
057 lastAccessDate);
058 }
059
060 public java.io.InputStream getFileDeltaAsStream(long fileEntryId,
061 java.lang.String sourceVersion, java.lang.String destinationVersion)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _dlSyncService.getFileDeltaAsStream(fileEntryId, sourceVersion,
065 destinationVersion);
066 }
067
068 public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(
069 long fileEntryId, java.lang.String sourceFileName,
070 java.lang.String mimeType, java.lang.String title,
071 java.lang.String description, java.lang.String changeLog,
072 boolean majorVersion, java.io.InputStream deltaInputStream, long size,
073 com.liferay.portal.service.ServiceContext serviceContext)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _dlSyncService.updateFileEntry(fileEntryId, sourceFileName,
077 mimeType, title, description, changeLog, majorVersion,
078 deltaInputStream, size, serviceContext);
079 }
080
081
084 public DLSyncService getWrappedDLSyncService() {
085 return _dlSyncService;
086 }
087
088
091 public void setWrappedDLSyncService(DLSyncService dlSyncService) {
092 _dlSyncService = dlSyncService;
093 }
094
095 public DLSyncService getWrappedService() {
096 return _dlSyncService;
097 }
098
099 public void setWrappedService(DLSyncService dlSyncService) {
100 _dlSyncService = dlSyncService;
101 }
102
103 private DLSyncService _dlSyncService;
104 }