com.liferay.portlet.documentlibrary.service.impl
Class DLSyncServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, DLSyncService
public class DLSyncServiceImpl
- extends DLSyncServiceBaseImpl
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl |
counterLocalService, dlAppHelperLocalService, dlAppLocalService, dlAppService, dlContentLocalService, dlContentPersistence, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryMetadataLocalService, dlFileEntryMetadataPersistence, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlSyncFinder, dlSyncLocalService, dlSyncPersistence, dlSyncService, repositoryLocalService, repositoryPersistence, repositoryService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
DLSyncUpdate |
getDLSyncUpdate(long companyId,
long repositoryId,
Date lastAccessDate)
|
InputStream |
getFileDeltaAsStream(long fileEntryId,
String sourceVersion,
String destinationVersion)
|
protected void |
patchFile(InputStream originalInputStream,
InputStream deltaInputStream,
File patchedFile)
|
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 com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl |
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContentLocalService, getDLContentPersistence, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLSyncFinder, getDLSyncLocalService, getDLSyncPersistence, getDLSyncService, getModelClass, getModelClassName, getRepositoryLocalService, getRepositoryPersistence, getRepositoryService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setDLAppHelperLocalService, setDLAppLocalService, setDLAppService, setDLContentLocalService, setDLContentPersistence, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryMetadataLocalService, setDLFileEntryMetadataPersistence, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncFinder, setDLSyncLocalService, setDLSyncPersistence, setDLSyncService, setRepositoryLocalService, setRepositoryPersistence, setRepositoryService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLSyncServiceImpl
public DLSyncServiceImpl()
getDLSyncUpdate
public DLSyncUpdate getDLSyncUpdate(long companyId,
long repositoryId,
Date lastAccessDate)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileDeltaAsStream
public InputStream getFileDeltaAsStream(long fileEntryId,
String sourceVersion,
String destinationVersion)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFileEntry
public 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
patchFile
protected void patchFile(InputStream originalInputStream,
InputStream deltaInputStream,
File patchedFile)
throws PortalException
- Throws:
PortalException