Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acs.damsel.srvr.search
Class AdvancedSearchParams  view AdvancedSearchParams download AdvancedSearchParams.java

java.lang.Object
  extended byorg.acs.damsel.srvr.search.AdvancedSearchParams

public class AdvancedSearchParams
extends java.lang.Object

Title: AdavancedSearchParams

Description: Instances of this object are used in advanced searching. The object stores the collection to be searched as well as four vectors containing search pairs for each of the four different types of advanced searches (all words, any words, exact phrase, without words).

Version:
1.0

Field Summary
private  java.util.Vector allSearch
           
private  java.util.Vector anySearch
           
private  java.lang.String collectionName
           
private  java.util.Vector exactSearch
           
private  java.util.Vector notSearch
           
 
Constructor Summary
AdvancedSearchParams()
          Default constructor initializes all of the vectors but does not set a collection name.
 
Method Summary
 void addAllSearchPair(SearchPair sp)
          Method to add a search pair to the all search vector
 void addAnySearchPair(SearchPair sp)
          Method to add a search pair to the any search vector
 void addExactSearchPair(SearchPair sp)
          Method to add a search pair to the exact search vector
 void addNotSearchPair(SearchPair sp)
          Method to add a search pair to the not search vector
 java.util.Vector getAllSearch()
           
 java.util.Vector getAnySearch()
           
 java.lang.String getCollectionName()
           
 java.util.Vector getExactSearch()
           
 java.util.Vector getNotSearch()
           
 void setAllSearch(java.util.Vector allSearch)
           
 void setAnySearch(java.util.Vector anySearch)
           
 void setCollectionName(java.lang.String collectionName)
           
 void setExactSearch(java.util.Vector exactSearch)
           
 void setNotSearch(java.util.Vector notSearch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

collectionName

private java.lang.String collectionName

allSearch

private java.util.Vector allSearch

exactSearch

private java.util.Vector exactSearch

anySearch

private java.util.Vector anySearch

notSearch

private java.util.Vector notSearch
Constructor Detail

AdvancedSearchParams

public AdvancedSearchParams()
Default constructor initializes all of the vectors but does not set a collection name.

Method Detail

addAllSearchPair

public void addAllSearchPair(SearchPair sp)
Method to add a search pair to the all search vector


addAnySearchPair

public void addAnySearchPair(SearchPair sp)
Method to add a search pair to the any search vector


addExactSearchPair

public void addExactSearchPair(SearchPair sp)
Method to add a search pair to the exact search vector


addNotSearchPair

public void addNotSearchPair(SearchPair sp)
Method to add a search pair to the not search vector


getCollectionName

public java.lang.String getCollectionName()

setCollectionName

public void setCollectionName(java.lang.String collectionName)

getAllSearch

public java.util.Vector getAllSearch()

setAllSearch

public void setAllSearch(java.util.Vector allSearch)

getExactSearch

public java.util.Vector getExactSearch()

setExactSearch

public void setExactSearch(java.util.Vector exactSearch)

getAnySearch

public java.util.Vector getAnySearch()

setAnySearch

public void setAnySearch(java.util.Vector anySearch)

getNotSearch

public java.util.Vector getNotSearch()

setNotSearch

public void setNotSearch(java.util.Vector notSearch)