com.docmosis.document
Class DocumentRenderResult

java.lang.Object
  extended by com.docmosis.document.DocumentRenderResultBase
      extended by com.docmosis.document.DocumentRenderResult

public class DocumentRenderResult
extends com.docmosis.document.DocumentRenderResultBase

The results of a document render. In the case where the rendered template is a "coordinator" template, there will be a list of coordinated results for each of the rendered (coordinated) templates.


Constructor Summary
DocumentRenderResult(long length, int documentPageCount, boolean errorsDetectedInDocument, TemplateIdentifier templateId, boolean isZip)
           
DocumentRenderResult(long length, int documentpageCount, boolean errorsDetectedInDocument, TemplateIdentifier templateId, boolean isZip, com.docmosis.document.CoordinatedRenderResults coordinatedResults)
           
 
Method Summary
 com.docmosis.document.CoordinatedRenderResults getCoordinatedResults()
          Get the list coordinated renders if any.
 boolean isCoordinatedRender()
           
 void setCoordinatedResults(com.docmosis.document.CoordinatedRenderResults coordinatedResults)
           
 
Methods inherited from class com.docmosis.document.DocumentRenderResultBase
getDocumentPageCount, getLength, getTemplateId, isErrorsDetectedInDocument, isZip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentRenderResult

public DocumentRenderResult(long length,
                            int documentPageCount,
                            boolean errorsDetectedInDocument,
                            TemplateIdentifier templateId,
                            boolean isZip)

DocumentRenderResult

public DocumentRenderResult(long length,
                            int documentpageCount,
                            boolean errorsDetectedInDocument,
                            TemplateIdentifier templateId,
                            boolean isZip,
                            com.docmosis.document.CoordinatedRenderResults coordinatedResults)
Method Detail

getCoordinatedResults

public com.docmosis.document.CoordinatedRenderResults getCoordinatedResults()
Get the list coordinated renders if any. This will be populated if the main template is a "coordinator" template.

Returns:
null if none present.

isCoordinatedRender

public boolean isCoordinatedRender()
Returns:
if this result has coordinated sub results.

setCoordinatedResults

public void setCoordinatedResults(com.docmosis.document.CoordinatedRenderResults coordinatedResults)


Copyright © 2014–2022 Docmosis Pty Ltd. All rights reserved.