Package com.inductiveautomation.rm.shape
Class ReportOwner
- java.lang.Object
- 
- com.inductiveautomation.rm.shape.ReportOwner
 
- 
- All Implemented Interfaces:
- RMKeyChain.Get
 
 public class ReportOwner extends java.lang.Object implements RMKeyChain.Get A base class that loads and runs reports.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classReportOwner.ShapeListA shape class to represent multiple pages of shapes.
 - 
Constructor SummaryConstructors Constructor Description ReportOwner()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddModelObject(java.lang.Object anObj)Sets objects in this reportmill.voidaddPageReferenceShape(RMShape aShape)Registers a shape with a page key in it.protected java.lang.ObjectconvertToStandardType(java.lang.Object anObj)Called by various objects to convert objects to generic types.protected RMDocumentcreateTemplate()Creates the template.RMDocumentgenerateReport()Generates the report.java.util.ListgetDataStack()Returns an unmodifiable version of the_dataStack.java.util.ListgetKeyChainListValue(java.lang.String aKeyChain)Returns a list for the given keychain.java.lang.ObjectgetKeyChainValue(java.lang.Object aRoot, RMKeyChain aKeyChain)RMKeyChain.Get implementation to run against DataStack.java.lang.ObjectgetModel()Returns the model object.java.lang.StringgetNullString()Returns the string used to represent null values.java.util.List<RMShape>getPageReferenceShapes()Returns the list of page reference shapes.booleangetPaginate()Returns whether this reportmill paginates.RMDocumentgetTemplate()Returns the template.java.lang.ObjectpeekDataStack()Returns the last data object in the data objects list.java.lang.ObjectpopDataStack()Removes a specific object at given index in list.voidpushDataStack(java.lang.Object anObj)Adds a data object to the data object list.voidresolvePageReferences()Performs page substitutions on any text fields that were identified as containing @Page@ keys.RMShaperpg(RMShape aShape, RMShape aParent)Performs RPG on a given shape.voidsetNullString(java.lang.String aString)Sets the string used to represent null values.voidsetPageReferenceShapes(java.util.List aList)Sets the list of page reference shapes.voidsetPaginate(boolean aFlag)Sets whether this reportmill paginates.protected voidsetTemplate(RMDocument aDoc)Sets the template.
 
- 
- 
- 
Method Detail- 
getTemplatepublic RMDocument getTemplate() Returns the template.
 - 
createTemplateprotected RMDocument createTemplate() Creates the template.
 - 
setTemplateprotected void setTemplate(RMDocument aDoc) Sets the template.
 - 
getNullStringpublic java.lang.String getNullString() Returns the string used to represent null values.
 - 
setNullStringpublic void setNullString(java.lang.String aString) Sets the string used to represent null values.
 - 
getPaginatepublic boolean getPaginate() Returns whether this reportmill paginates.
 - 
setPaginatepublic void setPaginate(boolean aFlag) Sets whether this reportmill paginates.
 - 
getModelpublic java.lang.Object getModel() Returns the model object.
 - 
addModelObjectpublic void addModelObject(java.lang.Object anObj) Sets objects in this reportmill.
 - 
pushDataStackpublic void pushDataStack(java.lang.Object anObj) Adds a data object to the data object list.
 - 
popDataStackpublic java.lang.Object popDataStack() Removes a specific object at given index in list.
 - 
peekDataStackpublic java.lang.Object peekDataStack() Returns the last data object in the data objects list.
 - 
getDataStackpublic java.util.List getDataStack() Returns an unmodifiable version of the_dataStack.
 - 
generateReportpublic RMDocument generateReport() Generates the report.
 - 
getPageReferenceShapespublic java.util.List<RMShape> getPageReferenceShapes() Returns the list of page reference shapes.
 - 
setPageReferenceShapespublic void setPageReferenceShapes(java.util.List aList) Sets the list of page reference shapes.
 - 
addPageReferenceShapepublic void addPageReferenceShape(RMShape aShape) Registers a shape with a page key in it.
 - 
getKeyChainValuepublic java.lang.Object getKeyChainValue(java.lang.Object aRoot, RMKeyChain aKeyChain)RMKeyChain.Get implementation to run against DataStack.- Specified by:
- getKeyChainValuein interface- RMKeyChain.Get
 
 - 
getKeyChainListValuepublic java.util.List getKeyChainListValue(java.lang.String aKeyChain) Returns a list for the given keychain.
 - 
convertToStandardTypeprotected java.lang.Object convertToStandardType(java.lang.Object anObj) Called by various objects to convert objects to generic types.
 - 
resolvePageReferencespublic void resolvePageReferences() Performs page substitutions on any text fields that were identified as containing @Page@ keys.
 
- 
 
-