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

Remote object has been renamed. => Rename the corresponding local object.
Inheritance: AbstractEnhancedSolver
Show file Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

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

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

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

Renames the specified localFile to the name of the given remoteId object by using the storage, localFile and remoteId.

Method Details

RemoteObjectRenamed() public method

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

Solve() public method

Renames the specified localFile to the name of the given remoteId object by using the storage, localFile and remoteId.
public Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFile IFileSystemInfo Local file or folder. It is the source file/folder reference, which should be renamed.
remoteId IObjectId Remote identifier. Should be an instance of IFolder or IDocument.
localContent ContentChangeType Hint if the local content has been changed.
remoteContent ContentChangeType Information if the remote content has been changed.
return void