Свойство | Type | Description | |
---|---|---|---|
OperationsLogger | log4net.ILog |
Méthode | Description | |
---|---|---|
AbstractEnhancedSolver ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage = null ) : System |
Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.AbstractEnhancedSolver class.
|
|
Solve ( IFileSystemInfo localFileSystemInfo, IObjectId remoteId, ContentChangeType localContent, ContentChangeType remoteContent ) : void |
Solve the specified situation by using localFile and remote object.
|
Méthode | Description | |
---|---|---|
DownloadCacheFile ( IFileInfo target, IDocument remoteDocument, |
||
DownloadChanges ( IFileInfo target, IDocument remoteDocument, IMappedObject obj, IFileSystemInfoFactory fsFactory, ITransmissionManager transmissionManager, log4net.ILog logger ) : byte[] | ||
EnsureThatLocalFileNameContainsLegalCharacters ( IFileSystemInfo localFile, DotCMIS.Exceptions.CmisConstraintException e ) : void |
Ensures the that local file name contains legal characters. If the given file contains UTF-8 only character and the given exception has been returned from the server on creating a file/folder, an interaction exception is thrown with a hint about the problem. Otherwise nothing happens.
|
|
GetParent ( IFileSystemInfo fileInfo ) : IDirectoryInfo | ||
IsParentReadOnly ( IFileSystemInfo localFileSystemInfo ) : bool | ||
UploadFile ( IFileInfo localFile, IDocument doc, |
Uploads the file content to the remote document.
|
|
WriteOrUseUuidIfSupported ( IFileSystemInfo info ) : System.Guid |
Méthode | Description | |
---|---|---|
LoadCacheFile ( IFileInfo target, IDocument remoteDocument, IFileSystemInfoFactory fsFactory ) : bool | ||
SaveCacheFile ( IFileInfo target, IDocument remoteDocument, byte hash, long length, |
public AbstractEnhancedSolver ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage = null ) : System | ||
session | ISession | Cmis Session. |
storage | IMetaDataStorage | Meta Data Storage. |
transmissionStorage | IFileTransmissionStorage | File Transmission Storage. |
Résultat | System |
protected DownloadCacheFile ( IFileInfo target, IDocument remoteDocument, |
||
target | IFileInfo | |
remoteDocument | IDocument | |
transmission | ||
fsFactory | IFileSystemInfoFactory | |
Résultat | byte[] |
protected DownloadChanges ( IFileInfo target, IDocument remoteDocument, IMappedObject obj, IFileSystemInfoFactory fsFactory, ITransmissionManager transmissionManager, log4net.ILog logger ) : byte[] | ||
target | IFileInfo | |
remoteDocument | IDocument | |
obj | IMappedObject | |
fsFactory | IFileSystemInfoFactory | |
transmissionManager | ITransmissionManager | |
logger | log4net.ILog | |
Résultat | byte[] |
protected EnsureThatLocalFileNameContainsLegalCharacters ( IFileSystemInfo localFile, DotCMIS.Exceptions.CmisConstraintException e ) : void | ||
localFile | IFileSystemInfo | Local file which produces a CmisConstraintException on the server. |
e | DotCMIS.Exceptions.CmisConstraintException | The returned CmisConstraintException returned by the server. |
Résultat | void |
protected GetParent ( IFileSystemInfo fileInfo ) : IDirectoryInfo | ||
fileInfo | IFileSystemInfo | |
Résultat | IDirectoryInfo |
protected IsParentReadOnly ( IFileSystemInfo localFileSystemInfo ) : bool | ||
localFileSystemInfo | IFileSystemInfo | |
Résultat | bool |
public abstract Solve ( IFileSystemInfo localFileSystemInfo, IObjectId remoteId, ContentChangeType localContent, ContentChangeType remoteContent ) : void | ||
localFileSystemInfo | IFileSystemInfo | Local filesystem info instance. |
remoteId | IObjectId | Remote identifier or object. |
localContent | ContentChangeType | Signalizes how the local content has been modified. |
remoteContent | ContentChangeType | Signalizes how the remote content has been modified. |
Résultat | void |
protected UploadFile ( IFileInfo localFile, IDocument doc, |
||
localFile | IFileInfo | Local file. |
doc | IDocument | Remote document. |
transmission | ||
Résultat | byte[] |
protected WriteOrUseUuidIfSupported ( IFileSystemInfo info ) : System.Guid | ||
info | IFileSystemInfo | |
Résultat | System.Guid |