com.trg.search.flex
Class FlexSearch

java.lang.Object
  extended by com.trg.search.flex.FlexSearch
All Implemented Interfaces:
java.io.Serializable

public class FlexSearch
extends java.lang.Object
implements java.io.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  java.util.List<java.lang.String> fetches
           
protected  java.util.List<Field> fields
           
protected  java.util.List<Filter> filters
           
protected  int firstResult
           
protected  int maxResults
           
protected  int page
           
protected  int resultMode
           
protected  java.lang.String searchClassName
           
protected  java.util.List<Sort> sorts
           
 
Constructor Summary
FlexSearch()
           
 
Method Summary
 java.lang.String[] getFetches()
           
 Field[] getFields()
           
 Filter[] getFilters()
           
 int getFirstResult()
           
 int getMaxResults()
           
 int getPage()
           
 int getResultMode()
           
 java.lang.String getSearchClassName()
           
 Sort[] getSorts()
           
 boolean isDisjunction()
           
 boolean isDistinct()
           
 void setDisjunction(boolean disjunction)
           
 void setDistinct(boolean distinct)
           
 void setFetches(java.lang.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(java.lang.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 java.lang.String searchClassName

filters

protected java.util.List<Filter> filters

disjunction

protected boolean disjunction

sorts

protected java.util.List<Sort> sorts

fields

protected java.util.List<Field> fields

distinct

protected boolean distinct

fetches

protected java.util.List<java.lang.String> fetches

resultMode

protected int resultMode
Constructor Detail

FlexSearch

public FlexSearch()
Method Detail

setSearchClassName

public void setSearchClassName(java.lang.String searchClassName)
                        throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

getSearchClassName

public java.lang.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 java.lang.String[] getFetches()

setFetches

public void setFetches(java.lang.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-2010 eBM WebSourcing. All Rights Reserved.