C# Class CmisSync.Lib.Cmis.CmisProfile

TODO merge with Config.Feature ?
Afficher le fichier Open project: aegif/CmisSync Class Usage Examples

Protected Properties

Свойство Type Description
Logger log4net.ILog

Méthodes publiques

Méthode Description
CmisProfile ( ) : System
ConfigureOperationContext ( IOperationContext operationContext ) : void

Prepare the given OperationContext for use with this CMIS profile.

localFilename ( IDocument document ) : string

Return the local filename to use for a CMIS document. This name must be unique in the folder, in practice it could be cmis:name or cmis:contentStreamFilename or cmis:objectId or a custom property. This name is then passed to the IPathRepresentationConverter which takes care of the peculiarities of the local filesystem.

Private Methods

Méthode Description
IsFileSystemCaseSensitive ( ) : bool

Whether the operating system is case-sensitive. For instance on Linux you can have two files/folders called "test" and "TEST", but on Windows that does not work. CMIS allows for case-sensitive names. This method does not extend to mounted filesystems, which might have different properties.

Method Details

CmisProfile() public méthode

public CmisProfile ( ) : System
Résultat System

ConfigureOperationContext() public méthode

Prepare the given OperationContext for use with this CMIS profile.
public ConfigureOperationContext ( IOperationContext operationContext ) : void
operationContext IOperationContext
Résultat void

localFilename() public méthode

Return the local filename to use for a CMIS document. This name must be unique in the folder, in practice it could be cmis:name or cmis:contentStreamFilename or cmis:objectId or a custom property. This name is then passed to the IPathRepresentationConverter which takes care of the peculiarities of the local filesystem.
public localFilename ( IDocument document ) : string
document IDocument
Résultat string

Property Details

Logger protected_oe static_oe property

Log.
protected static ILog,log4net Logger
Résultat log4net.ILog