C# Class CmisSync.Lib.Accumulator.RemoteObjectMovedOrRenamedAccumulator

Remote object moved or renamed accumulator. Takes File/Folder Events and checks if the remote object has been moved or renamed. If the file/folder was moved, the privious local path will be added to the event.
Inheritance: CmisSync.Lib.Queueing.ReportingSyncEventHandler
Mostrar archivo Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
Handle ( ISyncEvent e ) : bool

Handles File/FolderEvents.

RemoteObjectMovedOrRenamedAccumulator ( ISyncEventQueue queue, IMetaDataStorage storage, IFileSystemInfoFactory fsFactory = null ) : System

Initializes a new instance of the RemoteObjectMovedOrRenamedAccumulator class.

Private Methods

Method Description
AccumulateEvent ( AbstractFolderEvent abstractFolderEvent, IMappedObject storedObject ) : void
CouldLocalObjectBeAccumulated ( AbstractFolderEvent e ) : bool
GetParentId ( AbstractFolderEvent e ) : string
GetRemoteObjectName ( AbstractFolderEvent e ) : string
GetStoredObject ( AbstractFolderEvent e ) : IMappedObject

Method Details

Handle() public method

Handles File/FolderEvents.
public Handle ( ISyncEvent e ) : bool
e ISyncEvent The event to handle.
return bool

RemoteObjectMovedOrRenamedAccumulator() public method

Initializes a new instance of the RemoteObjectMovedOrRenamedAccumulator class.
public RemoteObjectMovedOrRenamedAccumulator ( ISyncEventQueue queue, IMetaDataStorage storage, IFileSystemInfoFactory fsFactory = null ) : System
queue ISyncEventQueue Sync event queue.
storage IMetaDataStorage Meta data storage.
fsFactory IFileSystemInfoFactory FileSystemInfo factory.
return System