Node Director
Public Member Functions | Static Public Member Functions | List of all members
sfi.director.application.FrontendSearchResults Class Reference

implements a cache/handler for search results More...

Inheritance diagram for sfi.director.application.FrontendSearchResults:
sfi.director.application.FrontendDisposableAdapter sfi.director.application.FrontendDisposable

Public Member Functions

 FrontendSearchResults (Enumeration results, boolean randomAccess)
 FrontendSearchResults (Enumeration results, boolean randomAccess, String fulltextFilter, String fulltextAttrs[])
String getId ()
void dispose ()
 flush this object
void finalize ()
synchronized DBObject get (int i) throws DirectorException
synchronized Vector getRange (int from, int to) throws DirectorException
int fillCache () throws DirectorException
int size () throws DirectorException
void reorder (String field, boolean ascending) throws DirectorException
int getPosition ()
synchronized DBObject getNext () throws DirectorException
void setTimeout (long timeout)
- Public Member Functions inherited from sfi.director.application.FrontendDisposableAdapter
boolean hasTimedOut ()
 returns true if object is to be disposed
long getTimeout ()
void accessed ()
 reset timeout period

Static Public Member Functions

static FrontendSearchResults getSearch (String id)
static Enumeration getSearchIds ()

Detailed Description

implements a cache/handler for search results

Constructor & Destructor Documentation

sfi.director.application.FrontendSearchResults.FrontendSearchResults ( Enumeration  results,
boolean  randomAccess 
)
sfi.director.application.FrontendSearchResults.FrontendSearchResults ( Enumeration  results,
boolean  randomAccess,
String  fulltextFilter,
String  fulltextAttrs[] 
)

Member Function Documentation

void sfi.director.application.FrontendSearchResults.dispose ( )
int sfi.director.application.FrontendSearchResults.fillCache ( ) throws DirectorException
void sfi.director.application.FrontendSearchResults.finalize ( )
synchronized DBObject sfi.director.application.FrontendSearchResults.get ( int  i) throws DirectorException
String sfi.director.application.FrontendSearchResults.getId ( )
synchronized DBObject sfi.director.application.FrontendSearchResults.getNext ( ) throws DirectorException
int sfi.director.application.FrontendSearchResults.getPosition ( )
synchronized Vector sfi.director.application.FrontendSearchResults.getRange ( int  from,
int  to 
) throws DirectorException
static FrontendSearchResults sfi.director.application.FrontendSearchResults.getSearch ( String  id)
static
static Enumeration sfi.director.application.FrontendSearchResults.getSearchIds ( )
static
void sfi.director.application.FrontendSearchResults.reorder ( String  field,
boolean  ascending 
) throws DirectorException
void sfi.director.application.FrontendSearchResults.setTimeout ( long  timeout)
int sfi.director.application.FrontendSearchResults.size ( ) throws DirectorException

The documentation for this class was generated from the following file: