Liferay 6.1.10-ee-ga1

com.liferay.portlet.documentlibrary.service
Interface DLSyncService

All Known Implementing Classes:
DLSyncServiceBaseImpl, DLSyncServiceImpl, DLSyncServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DLSyncService

The interface for the d l sync remote service.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
DLSyncServiceUtil, DLSyncServiceBaseImpl, DLSyncServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 DLSyncUpdate getDLSyncUpdate(long companyId, long repositoryId, Date lastAccessDate)
           
 InputStream getFileDeltaAsStream(long fileEntryId, String sourceVersion, String destinationVersion)
           
 FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream deltaInputStream, long size, ServiceContext serviceContext)
           
 

Method Detail

getDLSyncUpdate

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLSyncUpdate getDLSyncUpdate(long companyId,
                                                                      long repositoryId,
                                                                      Date lastAccessDate)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getFileDeltaAsStream

InputStream getFileDeltaAsStream(long fileEntryId,
                                 String sourceVersion,
                                 String destinationVersion)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

updateFileEntry

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
Throws:
PortalException
SystemException

Liferay 6.1.10-ee-ga1