com.liferay.portlet.documentlibrary.service
Class DLSyncServiceUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLSyncServiceUtil
public class DLSyncServiceUtil
- extends Object
The utility for the d l sync remote service. This utility wraps com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
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:
DLSyncService
,
com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl
,
com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl
Method Summary |
static DLSyncUpdate |
getDLSyncUpdate(long companyId,
long repositoryId,
Date lastAccessDate)
|
static InputStream |
getFileDeltaAsStream(long fileEntryId,
String sourceVersion,
String destinationVersion)
|
static DLSyncService |
getService()
|
void |
setService(DLSyncService service)
|
static 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 |
DLSyncServiceUtil
public DLSyncServiceUtil()
getDLSyncUpdate
public static DLSyncUpdate getDLSyncUpdate(long companyId,
long repositoryId,
Date lastAccessDate)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileDeltaAsStream
public static InputStream getFileDeltaAsStream(long fileEntryId,
String sourceVersion,
String destinationVersion)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFileEntry
public static 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
getService
public static DLSyncService getService()
setService
public void setService(DLSyncService service)