com.liferay.portlet.documentlibrary.service
Interface DLSyncService
- All Known Implementing Classes:
- 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
,
com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl
,
com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl
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)
|
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