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

A Local object has been deleted. => Delete the corresponding object on the server, if possible
Inheritance: AbstractEnhancedSolver
Datei anzeigen Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
LocalObjectDeleted ( ISession session, IMetaDataStorage storage ) : System

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

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

Solves the situation by deleting the corresponding remote object.

Private Methods

Method Description
TryDeleteObjectOnServer ( IObjectId remoteId, MappedObjectType type ) : bool

Method Details

LocalObjectDeleted() public method

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

Solve() public method

Solves the situation by deleting the corresponding remote object.
public Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFile IFileSystemInfo Local file.
remoteId IObjectId Remote identifier or object.
localContent ContentChangeType Hint if the local content has been changed.
remoteContent ContentChangeType Information if the remote content has been changed.
return void