C# Class CmisSync.Lib.Consumer.SituationSolver.RemoteObjectDeleted

Remote object has been deleted. => Delete the corresponding local object as well.
Inheritance: AbstractEnhancedSolver
Mostra file Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
RemoteObjectDeleted ( ISession session, IMetaDataStorage storage, IFilterAggregator filters ) : System

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.RemoteObjectDeleted class.

Solve ( IFileSystemInfo localFileInfo, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void

Deletes the given localFileInfo on file system and removes the stored object from storage.

Private Methods

Method Description
DeleteLocalObjectIfHasBeenSyncedBefore ( IFileSystemInfo fsInfo ) : bool

Method Details

RemoteObjectDeleted() public method

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.RemoteObjectDeleted class.
public RemoteObjectDeleted ( ISession session, IMetaDataStorage storage, IFilterAggregator filters ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
filters IFilterAggregator
return System

Solve() public method

Deletes the given localFileInfo on file system and removes the stored object from storage.
public Solve ( IFileSystemInfo localFileInfo, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFileInfo IFileSystemInfo Local file info.
remoteId IObjectId Remote identifier.
localContent ContentChangeType Hint if the local content has been changed.
remoteContent ContentChangeType Information if the remote content has been changed.
return void