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

Remote object has been moved. => Move the corresponding local object.
Inheritance: AbstractEnhancedSolver
Exibir arquivo Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

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

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

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

Solve the specified situation by using the session, storage, localFile and remoteId. Moves the local file/folder to the new location.

Method Details

RemoteObjectMoved() public method

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.RemoteObjectMoved class.
public RemoteObjectMoved ( 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 session, storage, localFile and remoteId. Moves the local file/folder to the new location.
public Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFile IFileSystemInfo Old local file/folder.
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