Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service.impl
Class DLSyncServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, DLSyncService

public class DLSyncServiceImpl
extends DLSyncServiceBaseImpl


Field Summary
 
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
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
DLSyncServiceImpl()
           
 
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 com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLSyncServiceImpl

public DLSyncServiceImpl()
Method Detail

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

Liferay 6.1.2-ce-ga3