Ofcas.Lk.Api.V3  3.0.0.98
Ofcas.Lk.Api.Core.DocumentContainer Class Reference

DocumentContainer gives access to manage documents. Documents can be used in projects (Project). More...

Inheritance diagram for Ofcas.Lk.Api.Core.DocumentContainer:

Public Member Functions

Document GetDocument (DocumentInfo documentInfo)
 Returns the corresponding document based on the given information data. More...
 
DocumentInfo CreateDocument (string name, string suffix, DocumentType type, Stream content)
 Creates a document with the specific name, suffix, type and content. More...
 
void DeleteDocument (DocumentInfo documentInfo)
 Deletes a document specified by an info object. More...
 
override DocumentInfo ExecuteBasicOperation (DocumentInfo sourceInfo, BasicOperationItem basicOperation, IDictionary< string, object > parameters)
 

Protected Member Functions

override List< BasicOperationItemGetBasicOperationItems (DocumentInfo sourceInfo)
 

Detailed Description

DocumentContainer gives access to manage documents. Documents can be used in projects (Project).

Member Function Documentation

◆ CreateDocument()

DocumentInfo Ofcas.Lk.Api.Core.DocumentContainer.CreateDocument ( string  name,
string  suffix,
DocumentType  type,
Stream  content 
)

Creates a document with the specific name, suffix, type and content.

Parameters
nameSpecifies the name of the document.
suffixSpecifies the suffix of the document.
typeSpecifies the type of the document.
contentSpecifies the content of the document.
Returns
Returns the newly created document as info object.

◆ DeleteDocument()

void Ofcas.Lk.Api.Core.DocumentContainer.DeleteDocument ( DocumentInfo  documentInfo)

Deletes a document specified by an info object.

Parameters
documentInfoSpecifies the document to be deleted.

◆ GetDocument()

Document Ofcas.Lk.Api.Core.DocumentContainer.GetDocument ( DocumentInfo  documentInfo)

Returns the corresponding document based on the given information data.

Parameters
documentInfoThe document information obtained through the CoreObject<T>.Infos function.
Returns
the Document
Exceptions
ExceptionIf getting document failed.

The documentation for this class was generated from the following file: