Package de.aeb.xnsg.documentcore.bf
Class GenerateDocumentResponseDTO
- java.lang.Object
-
- de.aeb.xnsg.documentcore.bf.GenerateDocumentResponseDTO
-
public class GenerateDocumentResponseDTO extends Object
Contains the generated document and accompanying information.
-
-
Field Summary
Fields Modifier and Type Field Description javax.activation.DataHandler
documentContent
The content of the result document file as byte array.PageNumberMappingDTO[]
pageNumberMappings
Resulting template page name to page range mappings.DocumentProcessingInfoDTO[]
processingInfos
The processing traces and problems as array of structured information (type, description, element path).String
state
The result state of the document processing: SUCCESS - everything is fine (theprocessingInfos
can contain traces) TEMPLATE_MISSING - the document template is unknown to the server (if content was empty), retry with the template data PROCESSING_PROBLEMS - there were some problems during the processing, seeprocessingInfos
for more information length of the state: 20
-
Constructor Summary
Constructors Constructor Description GenerateDocumentResponseDTO()
-
-
-
Field Detail
-
state
public String state
The result state of the document processing:- SUCCESS - everything is fine (the
processingInfos
can contain traces) - TEMPLATE_MISSING - the document template is unknown to the server (if content was empty), retry with the template data
- PROCESSING_PROBLEMS - there were some problems during the processing,
see
processingInfos
for more information
- SUCCESS - everything is fine (the
-
documentContent
public javax.activation.DataHandler documentContent
The content of the result document file as byte array. The content depends on the applied processor and the processing options and parameters (format etc.).
-
pageNumberMappings
public PageNumberMappingDTO[] pageNumberMappings
Resulting template page name to page range mappings.
-
processingInfos
public DocumentProcessingInfoDTO[] processingInfos
The processing traces and problems as array of structured information (type, description, element path).
-
-