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

Local object deleted and the corresponding remote object is renamed or moved.
Inheritance: AbstractEnhancedSolver
Mostrar archivo Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

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

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

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

Solve the specified situation by using the storage and remote object id to remove existing db entries and forces a crawl sync by throwing an IOException.

Method Details

LocalObjectDeletedRemoteObjectRenamedOrMoved() public method

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

Solve() public method

Solve the specified situation by using the storage and remote object id to remove existing db entries and forces a crawl sync by throwing an IOException.
public Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFile IFileSystemInfo Deleted Local filesystem info instance.
remoteId IObjectId Remote identifier or object.
localContent ContentChangeType Hint if the local content has been changed. Is not used by this solver.
remoteContent ContentChangeType Information if the remote content has been changed. Is not used by this solver.
return void