C# Class CmisSync.Lib.Cmis.CmisProfile

TODO merge with Config.Feature ?
Datei anzeigen Open project: aegif/CmisSync Class Usage Examples

Protected Properties

Property Type Description
Logger log4net.ILog

Public Methods

Method 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

Method 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 method

public CmisProfile ( ) : System
return System

ConfigureOperationContext() public method

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

localFilename() public method

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
return string

Property Details

Logger protected_oe static_oe property

Log.
protected static ILog,log4net Logger
return log4net.ILog