it.eng.spagobi.kpi.utils
Class BasicTemplateBuilder

java.lang.Object
  extended by it.eng.spagobi.kpi.utils.BasicTemplateBuilder

public class BasicTemplateBuilder
extends java.lang.Object

The Class BasicTemplateBuilder.

Author:
Giulio Gavardi

Field Summary
 it.eng.spago.base.SourceBean detailBandMaster
           
 it.eng.spago.base.SourceBean detailMaster
           
 java.util.List subreports
           
 it.eng.spago.base.SourceBean subTemplateBaseContent
           
 
Constructor Summary
BasicTemplateBuilder(java.lang.String documentName)
           
 
Method Summary
 java.util.List buildTemplate(java.util.List resources)
           
 it.eng.spago.base.SourceBean createNewSubReport(int numOfSubreport)
           
 java.util.List createSubreports(java.util.List resources)
           
 java.lang.String getTemplateSubTemplate()
          Gets the template template.
 java.lang.String getTemplateTemplate()
          Gets the template template.
 it.eng.spago.base.SourceBean increaseHeight(it.eng.spago.base.SourceBean tCont)
           
 java.util.List newLine(KpiLine kpiLine, int level, java.lang.Boolean evenLevel)
           
 java.util.List newResource(KpiResourceBlock block, it.eng.spago.base.SourceBean bandDetailReport)
           
 java.util.List newThresholdBlock(it.eng.spago.base.SourceBean bandDetailReport)
           
 java.util.List newThresholdLine(Threshold t)
           
 java.util.List newThresholdLine(Threshold t, it.eng.spago.base.SourceBean bandDetailReport)
           
protected  java.util.List orderChildren(java.util.List ordered, java.util.List notordered)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

detailMaster

public it.eng.spago.base.SourceBean detailMaster

detailBandMaster

public it.eng.spago.base.SourceBean detailBandMaster

subreports

public java.util.List subreports

subTemplateBaseContent

public it.eng.spago.base.SourceBean subTemplateBaseContent
Constructor Detail

BasicTemplateBuilder

public BasicTemplateBuilder(java.lang.String documentName)
Method Detail

buildTemplate

public java.util.List buildTemplate(java.util.List resources)

createSubreports

public java.util.List createSubreports(java.util.List resources)

createNewSubReport

public it.eng.spago.base.SourceBean createNewSubReport(int numOfSubreport)

increaseHeight

public it.eng.spago.base.SourceBean increaseHeight(it.eng.spago.base.SourceBean tCont)

newResource

public java.util.List newResource(KpiResourceBlock block,
                                  it.eng.spago.base.SourceBean bandDetailReport)

newLine

public java.util.List newLine(KpiLine kpiLine,
                              int level,
                              java.lang.Boolean evenLevel)

orderChildren

protected java.util.List orderChildren(java.util.List ordered,
                                       java.util.List notordered)

newThresholdBlock

public java.util.List newThresholdBlock(it.eng.spago.base.SourceBean bandDetailReport)

newThresholdLine

public java.util.List newThresholdLine(Threshold t)

newThresholdLine

public java.util.List newThresholdLine(Threshold t,
                                       it.eng.spago.base.SourceBean bandDetailReport)

getTemplateTemplate

public java.lang.String getTemplateTemplate()
Gets the template template.

Returns:
the template template

getTemplateSubTemplate

public java.lang.String getTemplateSubTemplate()
Gets the template template.

Returns:
the template template