com.googlecode.genericdao.search.flex
Class FlexSearch

java.lang.Object
  extended by com.googlecode.genericdao.search.flex.FlexSearch
All Implemented Interfaces:
Serializable

public class FlexSearch
extends Object
implements Serializable

This is a search DTO that is suitable for both Flex and Java. Is can be used to pass search parameters to and from a remote Flex client.

Author:
dwolverton
See Also:
Serialized Form

Field Summary
protected  boolean disjunction
           
protected  boolean distinct
           
protected  List<String> fetches
           
protected  List<Field> fields
           
protected  List<Filter> filters
           
protected  int firstResult
           
protected  int maxResults
           
protected  int page
           
protected  int resultMode
           
protected  String searchClassName
           
protected  List<Sort> sorts
           
 
Constructor Summary
FlexSearch()
           
 
Method Summary
 String[] getFetches()
           
 Field[] getFields()
           
 Filter[] getFilters()
           
 int getFirstResult()
           
 int getMaxResults()
           
 int getPage()
           
 int getResultMode()
           
 String getSearchClassName()
           
 Sort[] getSorts()
           
 boolean isDisjunction()
           
 boolean isDistinct()
           
 void setDisjunction(boolean disjunction)
           
 void setDistinct(boolean distinct)
           
 void setFetches(String[] fetches)
           
 void setFields(Field[] fields)
           
 void setFilters(Filter[] filters)
           
 void setFirstResult(int firstResult)
           
 void setMaxResults(int maxResults)
           
 void setPage(int page)
           
 void setResultMode(int resultMode)
           
 void setSearchClassName(String searchClassName)
           
 void setSorts(Sort[] sorts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

firstResult

protected int firstResult

maxResults

protected int maxResults

page

protected int page

searchClassName

protected String searchClassName

filters

protected List<Filter> filters

disjunction

protected boolean disjunction

sorts

protected List<Sort> sorts

fields

protected List<Field> fields

distinct

protected boolean distinct

fetches

protected List<String> fetches

resultMode

protected int resultMode
Constructor Detail

FlexSearch

public FlexSearch()
Method Detail

setSearchClassName

public void setSearchClassName(String searchClassName)
                        throws ClassNotFoundException
Throws:
ClassNotFoundException

getSearchClassName

public String getSearchClassName()

getFilters

public Filter[] getFilters()

setFilters

public void setFilters(Filter[] filters)

getSorts

public Sort[] getSorts()

setSorts

public void setSorts(Sort[] sorts)

getFields

public Field[] getFields()

setFields

public void setFields(Field[] fields)

getFetches

public String[] getFetches()

setFetches

public void setFetches(String[] fetches)

getFirstResult

public int getFirstResult()

setFirstResult

public void setFirstResult(int firstResult)

getMaxResults

public int getMaxResults()

setMaxResults

public void setMaxResults(int maxResults)

getPage

public int getPage()

setPage

public void setPage(int page)

isDisjunction

public boolean isDisjunction()

setDisjunction

public void setDisjunction(boolean disjunction)

isDistinct

public boolean isDistinct()

setDistinct

public void setDistinct(boolean distinct)

getResultMode

public int getResultMode()

setResultMode

public void setResultMode(int resultMode)


Copyright © 2008-2011. All Rights Reserved.