com.liferay.portlet.documentlibrary.service
Class DLSyncServiceUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLSyncServiceUtil
public class DLSyncServiceUtil
- extends java.lang.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.
- Author:
- Brian Wing Shun Chan
- See Also:
DLSyncService,
com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl,
com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl- Generated:
|
Method Summary |
static DLSyncUpdate |
getDLSyncUpdate(long companyId,
long repositoryId,
java.util.Date lastAccessDate)
|
static java.io.InputStream |
getFileDeltaAsStream(long fileEntryId,
java.lang.String sourceVersion,
java.lang.String destinationVersion)
|
static DLSyncService |
getService()
|
void |
setService(DLSyncService service)
|
static 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)
|
| 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,
java.util.Date lastAccessDate)
throws SystemException
- Throws:
SystemException
getFileDeltaAsStream
public static java.io.InputStream getFileDeltaAsStream(long fileEntryId,
java.lang.String sourceVersion,
java.lang.String destinationVersion)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFileEntry
public static 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
getService
public static DLSyncService getService()
setService
public void setService(DLSyncService service)