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.
- Author:
- Brian Wing Shun Chan
- See Also:
DLSyncServiceUtil,
com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl,
com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl- Generated:
|
Method Summary |
DLSyncUpdate |
getDLSyncUpdate(long companyId,
long repositoryId,
java.util.Date lastAccessDate)
|
java.io.InputStream |
getFileDeltaAsStream(long fileEntryId,
java.lang.String sourceVersion,
java.lang.String destinationVersion)
|
FileEntry |
updateFileEntry(long fileEntryId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
boolean majorVersion,
java.io.InputStream deltaInputStream,
long size,
ServiceContext serviceContext)
|
getDLSyncUpdate
@Transactional(propagation=SUPPORTS,
readOnly=true)
DLSyncUpdate getDLSyncUpdate(long companyId,
long repositoryId,
java.util.Date lastAccessDate)
throws SystemException
- Throws:
SystemException
getFileDeltaAsStream
java.io.InputStream getFileDeltaAsStream(long fileEntryId,
java.lang.String sourceVersion,
java.lang.String destinationVersion)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFileEntry
FileEntry updateFileEntry(long fileEntryId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
boolean majorVersion,
java.io.InputStream deltaInputStream,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException