com.googlecode.genericdao.search.flex
Class FlexSearch
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
FlexSearch
public FlexSearch()
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.