Package com.inductiveautomation.rm.shape
Class ReportOwner
java.lang.Object
com.inductiveautomation.rm.shape.ReportOwner
- All Implemented Interfaces:
RMKeyChain.Get
A base class that loads and runs reports.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA shape class to represent multiple pages of shapes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModelObject(Object anObj) Sets objects in this reportmill.voidaddPageReferenceShape(RMShape aShape) Registers a shape with a page key in it.protected ObjectconvertToStandardType(Object anObj) Called by various objects to convert objects to generic types.protected RMDocumentCreates the template.Generates the report.Returns an unmodifiable version of the_dataStack.getKeyChainListValue(String aKeyChain) Returns a list for the given keychain.getKeyChainValue(Object aRoot, RMKeyChain aKeyChain) RMKeyChain.Get implementation to run against DataStack.getModel()Returns the model object.Returns the string used to represent null values.Returns the list of page reference shapes.booleanReturns whether this reportmill paginates.Returns the template.Returns the last data object in the data objects list.Removes a specific object at given index in list.voidpushDataStack(Object anObj) Adds a data object to the data object list.voidPerforms page substitutions on any text fields that were identified as containing @Page@ keys.Performs RPG on a given shape.voidsetNullString(String aString) Sets the string used to represent null values.voidsetPageReferenceShapes(List aList) Sets the list of page reference shapes.voidsetPaginate(boolean aFlag) Sets whether this reportmill paginates.protected voidsetTemplate(RMDocument aDoc) Sets the template.
-
Constructor Details
-
ReportOwner
public ReportOwner()
-
-
Method Details
-
getTemplate
Returns the template. -
createTemplate
Creates the template. -
setTemplate
Sets the template. -
getNullString
Returns the string used to represent null values. -
setNullString
Sets the string used to represent null values. -
getPaginate
public boolean getPaginate()Returns whether this reportmill paginates. -
setPaginate
public void setPaginate(boolean aFlag) Sets whether this reportmill paginates. -
getModel
Returns the model object. -
addModelObject
Sets objects in this reportmill. -
pushDataStack
Adds a data object to the data object list. -
popDataStack
Removes a specific object at given index in list. -
peekDataStack
Returns the last data object in the data objects list. -
getDataStack
Returns an unmodifiable version of the_dataStack. -
generateReport
Generates the report. -
rpg
Performs RPG on a given shape. -
getPageReferenceShapes
Returns the list of page reference shapes. -
setPageReferenceShapes
Sets the list of page reference shapes. -
addPageReferenceShape
Registers a shape with a page key in it. -
getKeyChainValue
RMKeyChain.Get implementation to run against DataStack.- Specified by:
getKeyChainValuein interfaceRMKeyChain.Get
-
getKeyChainListValue
Returns a list for the given keychain. -
convertToStandardType
Called by various objects to convert objects to generic types. -
resolvePageReferences
public void resolvePageReferences()Performs page substitutions on any text fields that were identified as containing @Page@ keys.
-