|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.xreporter.report.instance.Qbe
Qbe settings for a specific report instance.
Field Summary | |
protected java.util.ArrayList |
conditionsByLine
|
protected static java.lang.String |
LINE_EL
|
protected java.lang.String |
naturalDescription
|
protected java.lang.String |
orientation
Defines how the QBE is presented to the user: row or column. |
protected static java.lang.String |
QBE_EL
|
protected QbeDefinition |
qbeDefinition
|
protected boolean |
valid
true when all conditions are valid |
Constructor Summary | |
Qbe(QbeDefinition qbeDefinition)
|
Method Summary | |
boolean |
areAllInputFieldsValid()
Returns true if all conditions have a valid value (or no value). |
void |
generateSaxFragment(org.xml.sax.ContentHandler contentHandler,
ExecutionContext executionContext,
ResourceHandle resourceHandle)
Generates a SAX representation of this QBE instance. |
java.util.List |
getConditionsByLine()
Returns a List of Lists containing conditions. |
java.lang.String |
getNaturalDescription(ResourceHandle resourceHandle)
Generates a human readable description of the QBE settings. |
boolean |
notEmptyAndValid()
|
void |
reset()
Removes all QBE conditions. |
void |
setOrientation(java.lang.String orientation)
|
void |
storeState(ReportState reportState)
|
void |
submit(java.util.Map values,
ExecutionContext executionContext)
|
void |
submit(java.util.Map values,
ExecutionContext executionContext,
boolean rawLocale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected QbeDefinition qbeDefinition
protected java.util.ArrayList conditionsByLine
protected boolean valid
protected java.lang.String orientation
protected java.lang.String naturalDescription
protected static final java.lang.String QBE_EL
protected static final java.lang.String LINE_EL
Constructor Detail |
public Qbe(QbeDefinition qbeDefinition)
Method Detail |
public void submit(java.util.Map values, ExecutionContext executionContext, boolean rawLocale)
public void submit(java.util.Map values, ExecutionContext executionContext)
public boolean areAllInputFieldsValid()
public void generateSaxFragment(org.xml.sax.ContentHandler contentHandler, ExecutionContext executionContext, ResourceHandle resourceHandle) throws java.lang.Exception
java.lang.Exception
public void reset()
public void setOrientation(java.lang.String orientation)
public boolean notEmptyAndValid()
public java.util.List getConditionsByLine()
public void storeState(ReportState reportState)
public java.lang.String getNaturalDescription(ResourceHandle resourceHandle)
QbeSqlPart
but is more readable (uses column titles instead
of field names, formats values, and operators are formatted more readable).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |