cmu.survey.data
Class FilterStorage

java.lang.Object
  extended by cmu.survey.data.FilterStorage

public class FilterStorage
extends java.lang.Object


Constructor Summary
FilterStorage(TableStorage tableStorage)
           
 
Method Summary
 VectorDataSet<Filter<?>> getFilters(int id)
           
static Filter<java.lang.String> getNewFilter(java.lang.String field, java.lang.String comparator, java.lang.String value)
           
protected static Filter<java.lang.String> getNewFilter(java.lang.String field, java.lang.String comparator, java.lang.String value, java.lang.Integer id)
           
static void main(java.lang.String[] args)
           
 boolean saveFilters(VectorDataSet<Filter<?>> filters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterStorage

public FilterStorage(TableStorage tableStorage)
Method Detail

getNewFilter

public static Filter<java.lang.String> getNewFilter(java.lang.String field,
                                                    java.lang.String comparator,
                                                    java.lang.String value)

getNewFilter

protected static Filter<java.lang.String> getNewFilter(java.lang.String field,
                                                       java.lang.String comparator,
                                                       java.lang.String value,
                                                       java.lang.Integer id)

getFilters

public VectorDataSet<Filter<?>> getFilters(int id)

saveFilters

public boolean saveFilters(VectorDataSet<Filter<?>> filters)

main

public static final void main(java.lang.String[] args)