C# Class CmisSync.Lib.ClientBrandBase

The Base Class (template) for Client Brand support, based on CMIS The client code should derive from this class to support client brand
Mostrar archivo Open project: OpenDataSpace/CmisSync

Public Methods

Method Description
GetFile ( string pathname, Stream output ) : bool

Get the content for the client brand file

GetFileDateTime ( string pathname, System.DateTime &date ) : bool

Get the DateTime for the client brand file

SetupServer ( ServerCredentials credentials ) : bool

Setup the CMIS server to support Client Brand

TestServer ( ServerCredentials credentials ) : bool

Check if the CMIS server holds the client brand files

Private Methods

Method Description
GetRepo ( ServerCredentials credentials ) : IRepository

Method Details

GetFile() public method

Get the content for the client brand file
public GetFile ( string pathname, Stream output ) : bool
pathname string Client brand file path
output Stream Stream to hold the client brand file
return bool

GetFileDateTime() public method

Get the DateTime for the client brand file
public GetFileDateTime ( string pathname, System.DateTime &date ) : bool
pathname string Client brand file path
date System.DateTime The DateTime for the client brand file
return bool

SetupServer() public method

Setup the CMIS server to support Client Brand
public SetupServer ( ServerCredentials credentials ) : bool
credentials CmisSync.Lib.Config.ServerCredentials
return bool

TestServer() public method

Check if the CMIS server holds the client brand files
public TestServer ( ServerCredentials credentials ) : bool
credentials CmisSync.Lib.Config.ServerCredentials
return bool