nesstar.api
Class DBSearchEx

java.lang.Object
  extended by java.util.Observable
      extended by nesstar.rdf.RDFObject
          extended by nesstar.api.Operation
              extended by nesstar.api.ExplorerOp
                  extended by nesstar.api.Search
                      extended by nesstar.api.DBSearchEx
All Implemented Interfaces:
Comparable, RDFObj

public abstract class DBSearchEx
extends Search

Perform a search on a database.


Field Summary
 
Fields inherited from class nesstar.rdf.RDFObject
COLSEP, IS_GETTER, IS_PART, IS_PART_OF, WRITE_OP
 
Constructor Summary
DBSearchEx(RDFDB db, URL id)
          Constructor for the DBSearchEx object
 
Method Summary
static void dbg(String msg)
           
 Vector getCatalogs()
           
static int getLimit()
           
 Vector search()
           
static Vector search(ServerEx server, String query, boolean returnErrors)
          Method SEARCHING ON CHESHIRE SERVERS
static Vector search(Vector cats, String query, boolean returnErrors)
          Method SEARCHING ON EJB SERVERS
static Vector searchOld(Vector catalogsToSearch, String query, boolean returnErrors)
          Method
static void setLimit(int limit)
           
static void stopAll()
           
 
Methods inherited from class nesstar.api.Search
get_catalogs, get_query, get_searchData, get_searchType, set_catalogs, set_query, set_searchData, set_searchType
 
Methods inherited from class nesstar.api.Operation
execute
 
Methods inherited from class nesstar.rdf.RDFObject
AddProperty, AddStringProperty, chkFinal, clear, compareTo, equals, err, err, get_comment, get_creationDate, get_label, get, getAccessCondition, getBinding, getBindings, getBookmarkLabel, getCollectionURL, getComment, getCreationDate, getDB, getDescriptor, getDescriptor, getDomain, getGetterMethods, getID, getInitialisedProperties, getInternalID, getLabel, getLastClear, getPartsDescriptor, getPartsDescriptor, getPartsDescriptor, getPath, getProperties, GetProperties, GetProperty, GetPropertyStatement, GetPropertyStatements, getRange, getRangeType, getRef, getRef, getServer, getShortId, getShortID, getStatementHome, GetStringProperties, GetStringProperty, getTimeoutInSecs, getType, init, init, initialised, isComplete, isLocal, isMeta, isStale, loaded, neededCollectionReload, neededReload, neededReload, neededReload, neededReload, needsReload, reload, remove, set_comment, set_complete, set_creationDate, set_label, set, setComment, setComplete, setCreationDate, setDB, setHardOrSoft, setID, setLabel, setLastClear, SetProperty, setServer, SetStringProperty, setTimeoutInSecs, setTimestamp, setType, setTypeID, stale, toRDF, toRDFWrapped, toString, update
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBSearchEx

public DBSearchEx(RDFDB db,
                  URL id)
           throws Exception
Constructor for the DBSearchEx object

Parameters:
db -
id -
Throws:
Exception
Method Detail

setLimit

public static void setLimit(int limit)
Parameters:
limit -

getLimit

public static int getLimit()

getCatalogs

public Vector getCatalogs()
                   throws Exception
Throws:
Exception

dbg

public static void dbg(String msg)
Parameters:
msg -

stopAll

public static void stopAll()

search

public static Vector search(ServerEx server,
                            String query,
                            boolean returnErrors)
                     throws Exception
Method SEARCHING ON CHESHIRE SERVERS

Parameters:
server -
query -
returnErrors -
Returns:
Throws:
Exception

search

public static Vector search(Vector cats,
                            String query,
                            boolean returnErrors)
                     throws Exception
Method SEARCHING ON EJB SERVERS

Parameters:
query -
returnErrors -
cats -
Returns:
Throws:
Exception

searchOld

public static Vector searchOld(Vector catalogsToSearch,
                               String query,
                               boolean returnErrors)
                        throws Exception
Method

Parameters:
catalogsToSearch -
query -
returnErrors -
Returns:
Throws:
Exception

search

public Vector search()
              throws Exception
Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved