public class AllObjectsNodeLink extends SmartReportNodeLink
Constructor and Description |
---|
AllObjectsNodeLink(SmartReportNode childnode)
Creates a node link gathering all objects of a given type
|
Modifier and Type | Method and Description |
---|---|
protected void |
gatherData(SourceGenerator sg,
SmartReportNode parent,
java.lang.String prefixparent,
java.lang.String prefixforlinkandchild,
boolean firstobjectnode,
int circuitbreaker,
DataObjectDefinition rootobject,
java.lang.String reportname)
writes the data gathering code
|
java.util.List<FilterElement<?>> |
getFilterelement() |
DataObjectDefinition |
getLeftObject() |
java.util.List<LineGroupingCriteria> |
getLineGroupingCriteria() |
protected void |
orderData(SourceGenerator sg,
SmartReportNode smartReportNode,
java.lang.String prefix,
java.lang.String prefixforlink,
boolean first,
int circuitbreaker,
DataObjectDefinition rootobject,
java.lang.String reportname)
writes the data ordering code
|
getChildNode
public AllObjectsNodeLink(SmartReportNode childnode)
childnode
- the child node corresponding to the objects to selectpublic DataObjectDefinition getLeftObject()
getLeftObject
in class SmartReportNodeLink
public java.util.List<FilterElement<?>> getFilterelement()
public java.util.List<LineGroupingCriteria> getLineGroupingCriteria()
protected void gatherData(SourceGenerator sg, SmartReportNode parent, java.lang.String prefixparent, java.lang.String prefixforlinkandchild, boolean firstobjectnode, int circuitbreaker, DataObjectDefinition rootobject, java.lang.String reportname) throws java.io.IOException
SmartReportNodeLink
gatherData
in class SmartReportNodeLink
sg
- the source generator to write data gathering
code toparent
- parent node parent nodeprefixparent
- prefix for parentprefixforlinkandchild
- prefix for link and childfirstobjectnode
- true if first element of the recurive data
orderingcircuitbreaker
- recursive circuit breakerrootobject
- root object for the data reportreportname
- report namejava.io.IOException
- if any error is encountered during the writing of data
gatheringprotected void orderData(SourceGenerator sg, SmartReportNode smartReportNode, java.lang.String prefix, java.lang.String prefixforlink, boolean first, int circuitbreaker, DataObjectDefinition rootobject, java.lang.String reportname)
SmartReportNodeLink
orderData
in class SmartReportNodeLink
sg
- the source generator to write data gathering code tosmartReportNode
- parent nodeprefix
- prefix for parentprefixforlink
- prefix for link and childfirst
- true if first element of the recursive data orderingcircuitbreaker
- recursive circuit breakerrootobject
- root object for the data reportreportname
- report name