|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.uifoundation.component.FilterDefinition
public abstract class FilterDefinition
TODO sbarkdull, may be worth breaking into 4 separate classes, one for each of the ITEM_SOURCE_*'s of course they would all implement the same interface or abstr class A factory class would look at the xml, and create the appropriate instance/type
Method Summary | |
---|---|
void |
fromXml(org.dom4j.Element xMLnode)
order of precedence: session-attribute, global-attribute, data-solution, static-list |
String |
getName()
|
String |
getTitle()
|
void |
getXForm(StringBuffer xformHeader,
StringBuffer xformBody)
Create the XForm header and XForm body, and place the results in the parameters xformHeader and xformBody. |
boolean |
isValid(String[] values)
|
static void |
main(String[] args)
|
boolean |
populate(Map parameterProviders,
String[] value)
|
void |
setDefaultValue(String[] defaultValue)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getTitle()
public String getName()
public void fromXml(org.dom4j.Element xMLnode) throws FilterPanelException
xMLnode
-
FilterPanelException
public void setDefaultValue(String[] defaultValue)
public boolean isValid(String[] values)
public boolean populate(Map parameterProviders, String[] value)
public void getXForm(StringBuffer xformHeader, StringBuffer xformBody) throws ComponentException
xformHeader
- StringBuffer containing the XForm headerxformBody
- StringBuffer containing the XForm body
ComponentException
- if this.nameColumnNo is -1, this.valueColumnNo is -1, or the
this.resultSet is null. nameColumnNo is likely to be -1 if
this.descriptionItem does not correlate with the value of
the public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |