Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service
Interface DLSyncService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DLSyncServiceWrapper

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

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
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DLSyncUpdate getDLSyncUpdate(long companyId, long repositoryId, Date lastAccessDate)
           
 InputStream getFileDeltaAsStream(long fileEntryId, String sourceVersion, String destinationVersion)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream deltaInputStream, long size, ServiceContext serviceContext)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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.2-ce-ga3