|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.firstpartners.rp.back.search.RpSearcher
public class RpSearcher
Searcher plugin
Field Summary | |
---|---|
protected org.apache.log4j.Logger |
logger
Logger for this class and subclasses |
private ISearchResult |
result
Search result object |
Constructor Summary | |
---|---|
RpSearcher()
|
Method Summary | |
---|---|
void |
doSearch(ISearchQuery searchQuery,
java.lang.String sortField,
boolean sortDescMode,
int maxDocNo)
Search the Known Data |
ISearchResult |
getResults()
Get the Search results generated by doSearch |
boolean |
isReady()
Poll to see if the search has finished |
void |
onLoad()
No process occur for the searcher |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.log4j.Logger logger
private ISearchResult result
Constructor Detail |
---|
public RpSearcher()
Method Detail |
---|
public void doSearch(ISearchQuery searchQuery, java.lang.String sortField, boolean sortDescMode, int maxDocNo) throws RpException
doSearch
in interface IInterestedInSearch
searchQuery
- Search queryysortField
- Sort fieldsortDescMode
- Descendent mode = true, false - otherwisemaxDocNo
- The maxim count of documents which the searcher must to deliver
RpException
- Error occur in search processpublic boolean isReady()
isReady
in interface IInterestedInSearch
public ISearchResult getResults()
getResults
in interface IInterestedInSearch
public void onLoad()
onLoad
in interface IPlugin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |