public class PdfExportController extends AgentController
| Constructor and Description |
|---|
PdfExportController() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateVelocityPDF(java.io.File outputFile,
java.util.Map<java.lang.String,java.lang.Object> models,
java.io.InputStream template)
Generate a PDF File on the given location with the given model and template
|
boolean |
setupAgent()
is called by create an agent. and setup default values.
|
addChild, getParent, receiveMessage, removeCildren, setParentpublic boolean setupAgent()
AgentControllersetupAgent in class AgentControllerpublic void generateVelocityPDF(java.io.File outputFile,
java.util.Map<java.lang.String,java.lang.Object> models,
java.io.InputStream template)
outputFile - The File object where it should be savedmodels - the data Models as a maptemplate - the Template which should be used