butler.sql.filter
Class LikeFilter

java.lang.Object
  extended by butler.sql.filter.Filter
      extended by butler.sql.filter.SimpleFilter
          extended by butler.sql.filter.LikeFilter
Direct Known Subclasses:
Like

public class LikeFilter
extends SimpleFilter


Field Summary
 
Fields inherited from class butler.sql.filter.SimpleFilter
_alias
 
Constructor Summary
LikeFilter(Column col)
           
LikeFilter(Column col, java.lang.Object value)
           
LikeFilter(java.lang.String alias, Column col, java.lang.Object value)
           
 
Method Summary
 Filter modify(QueryParams params)
           
static Filter parse(org.dom4j.Element element, Query q, Query rootQ)
           
 
Methods inherited from class butler.sql.filter.SimpleFilter
filter, getAlias, getCaption, getColumn, getOperator, getParamDatatypes, getSQL, getValue, getValues, getXMLFilterName, params2db, parse, populate, setIgnoreCase, setOperator, setValue, toXML
 
Methods inherited from class butler.sql.filter.Filter
and, copy, createId, equals, getFilter, getId, getLeafFilters, getNestedQuery, getValues, hashCode, not, or, parseFilter, registerFilterParser, setCaption, setId, setSize, setSize, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LikeFilter

public LikeFilter(Column col)
           throws java.lang.Exception
Throws:
java.lang.Exception

LikeFilter

public LikeFilter(Column col,
                  java.lang.Object value)
           throws java.lang.Exception
Throws:
java.lang.Exception

LikeFilter

public LikeFilter(java.lang.String alias,
                  Column col,
                  java.lang.Object value)
           throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

parse

public static Filter parse(org.dom4j.Element element,
                           Query q,
                           Query rootQ)
                    throws java.lang.Exception
Throws:
java.lang.Exception

modify

public Filter modify(QueryParams params)
              throws java.lang.Exception
Overrides:
modify in class Filter
Throws:
java.lang.Exception