org.fao.geonet.kernel.search
Class KeywordsSearcher
java.lang.Object
org.fao.geonet.kernel.search.KeywordsSearcher
public class KeywordsSearcher
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeywordsSearcher
public KeywordsSearcher(ThesaurusManager tm)
searchById
public KeywordBean searchById(java.lang.String id,
java.lang.String sThesaurusName,
java.lang.String lang)
throws java.lang.Exception
- Throws:
java.lang.Exception
search
public void search(jeeves.server.context.ServiceContext srvContext,
org.jdom.Element params)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchBN
public void searchBN(jeeves.server.context.ServiceContext srvContext,
org.jdom.Element params,
java.lang.String request)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchBN
public void searchBN(java.lang.String id,
java.lang.String sThesaurusName,
java.lang.String request,
java.lang.String _lang)
throws java.lang.Exception
- Throws:
java.lang.Exception
findEnclosedGeoKeyword
public void findEnclosedGeoKeyword(java.lang.String sKeywordCode)
getNbResults
public int getNbResults()
sortResults
public void sortResults(java.lang.String tri)
getResults
public org.jdom.Element getResults(org.jdom.Element params)
throws java.lang.Exception
- Throws:
java.lang.Exception
selectUnselectKeywords
public void selectUnselectKeywords(org.jdom.Element params)
getSelectedKeywords
public org.jdom.Element getSelectedKeywords()
- Returns:
- an element describing the list of selected keywords
getSelectedKeywordsInDescKeys
public java.util.ArrayList getSelectedKeywordsInDescKeys()
- Returns:
- a collection of descKeys element describing the list of selected keywords
getSelectedKeywordsInList
public java.util.List getSelectedKeywordsInList()
existsResult
public KeywordBean existsResult(java.lang.String id)