Liferay 6.1.0

com.liferay.portlet.documentlibrary.service
Class DLSyncServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLSyncServiceWrapper
All Implemented Interfaces:
DLSyncService

public class DLSyncServiceWrapper
extends Object
implements DLSyncService

This class is a wrapper for DLSyncService.

See Also:
DLSyncService

Constructor Summary
DLSyncServiceWrapper(DLSyncService dlSyncService)
           
 
Method Summary
 DLSyncUpdate getDLSyncUpdate(long companyId, long repositoryId, Date lastAccessDate)
           
 InputStream getFileDeltaAsStream(long fileEntryId, String sourceVersion, String destinationVersion)
           
 DLSyncService getWrappedDLSyncService()
           
 void setWrappedDLSyncService(DLSyncService dlSyncService)
           
 FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream deltaInputStream, long size, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLSyncServiceWrapper

public DLSyncServiceWrapper(DLSyncService dlSyncService)
Method Detail

getDLSyncUpdate

public DLSyncUpdate getDLSyncUpdate(long companyId,
                                    long repositoryId,
                                    Date lastAccessDate)
                             throws SystemException
Specified by:
getDLSyncUpdate in interface DLSyncService
Throws:
SystemException

getFileDeltaAsStream

public InputStream getFileDeltaAsStream(long fileEntryId,
                                        String sourceVersion,
                                        String destinationVersion)
                                 throws PortalException,
                                        SystemException
Specified by:
getFileDeltaAsStream in interface DLSyncService
Throws:
PortalException
SystemException

updateFileEntry

public FileEntry updateFileEntry(long fileEntryId,
                                 String sourceFileName,
                                 String mimeType,
                                 String title,
                                 String description,
                                 String changeLog,
                                 boolean majorVersion,
                                 InputStream deltaInputStream,
                                 long size,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
updateFileEntry in interface DLSyncService
Throws:
PortalException
SystemException

getWrappedDLSyncService

public DLSyncService getWrappedDLSyncService()

setWrappedDLSyncService

public void setWrappedDLSyncService(DLSyncService dlSyncService)

Liferay 6.1.0