public interface DocumentOutputStorage
Modifier and Type | Method and Description |
---|---|
DocumentOutput |
dequeueDocumentOutput(java.lang.String id)
Returns the document outputs previously enqueued with
enqueueDocumentOutput(String, DocumentOutput) . |
void |
enqueueDocumentOutput(java.lang.String id,
DocumentOutput docOutput)
The method stores document outputs pending to be sent to the Javascript part of FWD client.
|
void enqueueDocumentOutput(java.lang.String id, DocumentOutput docOutput)
id
- Id of the document output.docOutput
- The object that encapsulates the document output being enqueued.DocumentOutput dequeueDocumentOutput(java.lang.String id)
enqueueDocumentOutput(String, DocumentOutput)
. The returned entry is removed from the storage
before it is returned to the caller.id
- Id of the document output.null
when the id is invalid or doesn't represent
a previously enqueued print output.