com.mizar.trinidad.components
Class TrinidadQueryBuilder

java.lang.Object
  extended by com.mizar.persistence.jpa.facade.QueryBuilder
      extended by com.mizar.trinidad.components.TrinidadQueryBuilder
Direct Known Subclasses:
Bg00Search, Cd106Search, Cd108Search, Cd110Search, CountySearch, EdgesSearch, Sldl00Search, SldlSearch, Sldu00Search, SlduSearch, TabblockSearch, Tract00Search, UserSearch, VtdSearch

public class TrinidadQueryBuilder
extends QueryBuilder


Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.facade.QueryBuilder
AND, BEGINS, BETWEEN, BEYOND, CONTAINS, CURRENCY, DATE, ENDS, EQ, FLOAT, GT, GTEQ, IGNORE, LIKE, LIST, listTestShortDesc, LONG, LT, LTEQ, NE, numericTestShortDesc, OMITS, operators, OR, STRING, stringTestShortDesc
 
Constructor Summary
TrinidadQueryBuilder()
           
TrinidadQueryBuilder(TrinidadCollection collection)
           
 
Method Summary
 QueryFragment addFragment(QueryFragment fragment)
           
 QueryFragment addFragment(java.lang.String label, java.lang.String property, java.util.List<javax.faces.model.SelectItem> list, java.lang.Object value)
           
 QueryFragment addFragment(java.lang.String label, java.lang.String property, javax.faces.model.SelectItem[] arrayOfSelectItem, java.lang.Object value)
           
 void applyCurrentRowValues(javax.faces.event.ActionEvent ignore)
           
 void cancel(javax.faces.event.ActionEvent ignored)
           
protected  int dataType(QueryFragment fragment)
           
 void dialogListener(oracle.adf.view.rich.event.DialogEvent de)
           
 java.lang.Class getBeanClass()
           
 TrinidadCollection getCollection()
           
static javax.faces.model.SelectItem[] getDateTests()
           
 javax.faces.model.SelectItem[] getNumericTests()
           
 javax.faces.model.SelectItem[] getOperatorSelector()
           
static javax.faces.model.SelectItem[] getStringTests()
           
 java.lang.String getTarget()
           
 boolean isHideAreaSearch()
           
 boolean isSearchFilter()
           
 void launchQueryBuilder(javax.faces.event.ActionEvent ae)
           
 void launchQueryBuilder(org.apache.myfaces.trinidad.event.LaunchEvent le)
           
 void redraw(javax.faces.event.ValueChangeEvent vce)
           
 void resetValues(javax.faces.event.ActionEvent ignore)
           
 java.util.List<RowInterface> search()
           
 void search(javax.faces.event.ActionEvent ignored)
           
 void setCollection(TrinidadCollection collection)
           
 void setHideAreaSearch(boolean hideAreaSearch)
           
 void setTarget(java.lang.String target)
           
 
Methods inherited from class com.mizar.persistence.jpa.facade.QueryBuilder
addFragment, addFragment, addFragment, addFragment, addFragment, addFragment, addFragment, addFragment, addFragment, applyCurrentRowValues, buildExpression, getBaseExpression, getCount, getFragmentMap, getFragments, getNumericTestShortDesc, getOperator, getOperators, getOrderProperty, getReturnType, getSearchArea, getStringTestShortDesc, getTitle, isAllFragmentsIgnorable, removeFragment, removeFragment, resetValues, setBaseExpression, setBeanClass, setFragments, setOperator, setOrderProperty, setSearchArea, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrinidadQueryBuilder

public TrinidadQueryBuilder()

TrinidadQueryBuilder

public TrinidadQueryBuilder(TrinidadCollection collection)
Method Detail

dialogListener

public void dialogListener(oracle.adf.view.rich.event.DialogEvent de)

launchQueryBuilder

public void launchQueryBuilder(javax.faces.event.ActionEvent ae)

launchQueryBuilder

public void launchQueryBuilder(org.apache.myfaces.trinidad.event.LaunchEvent le)

search

public java.util.List<RowInterface> search()

search

public void search(javax.faces.event.ActionEvent ignored)

cancel

public void cancel(javax.faces.event.ActionEvent ignored)

getNumericTests

public javax.faces.model.SelectItem[] getNumericTests()

getDateTests

public static javax.faces.model.SelectItem[] getDateTests()

getStringTests

public static javax.faces.model.SelectItem[] getStringTests()

getOperatorSelector

public javax.faces.model.SelectItem[] getOperatorSelector()

setCollection

public void setCollection(TrinidadCollection collection)

getCollection

public TrinidadCollection getCollection()

getBeanClass

public java.lang.Class getBeanClass()
Overrides:
getBeanClass in class QueryBuilder

setTarget

public void setTarget(java.lang.String target)

getTarget

public java.lang.String getTarget()

dataType

protected int dataType(QueryFragment fragment)
Overrides:
dataType in class QueryBuilder

addFragment

public QueryFragment addFragment(QueryFragment fragment)
Overrides:
addFragment in class QueryBuilder

addFragment

public QueryFragment addFragment(java.lang.String label,
                                 java.lang.String property,
                                 javax.faces.model.SelectItem[] arrayOfSelectItem,
                                 java.lang.Object value)

addFragment

public QueryFragment addFragment(java.lang.String label,
                                 java.lang.String property,
                                 java.util.List<javax.faces.model.SelectItem> list,
                                 java.lang.Object value)

redraw

public void redraw(javax.faces.event.ValueChangeEvent vce)

resetValues

public void resetValues(javax.faces.event.ActionEvent ignore)

applyCurrentRowValues

public void applyCurrentRowValues(javax.faces.event.ActionEvent ignore)

isSearchFilter

public boolean isSearchFilter()

setHideAreaSearch

public void setHideAreaSearch(boolean hideAreaSearch)

isHideAreaSearch

public boolean isHideAreaSearch()