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

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

Méthodes publiques

Méthode 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

Méthode Description
DeleteLocalObjectIfHasBeenSyncedBefore ( IFileSystemInfo fsInfo ) : bool

Method Details

RemoteObjectDeleted() public méthode

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
Résultat System

Solve() public méthode

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.
Résultat void