|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.search.ASearchEngine
com.esri.gpt.catalog.search.SearchEngineRest
public class SearchEngineRest
The class SearchEngineCSW. Accesses a CSW repository to send searTch and parse back results. works closely with the csw client jar.
| Field Summary | |
|---|---|
static String |
DELIMETER_KV
The Constant DELIMETER_VALUES between key value |
static String |
DELIMETER_KVP
The Constant DELIMETER key value pair |
| Constructor Summary | |
|---|---|
SearchEngineRest(RequestContext context)
Instantiates a new search engine rest. |
|
| Method Summary | |
|---|---|
Map<String,Object> |
createInstances(StringSet rids)
Creates instances of this search engines from the rids |
void |
doSearch()
Do search. |
URI |
getConnectionUri()
Get the connection uri |
String |
getEndPointMetadataUrl()
Gets the end point metadata url. |
String |
getEndPointSearchUrl()
Gets the end point url. |
String |
getKeyAbstract()
Gets the abstract associated with the key |
SearchResultRecord |
getMetadataAsSearchResultRecord(String uuid)
Gets the metadata as object. |
String |
getMetadataAsText(String uuid)
Gets the metadata as text. |
String |
getMetadataUrl(String uuid)
Gets the metadata url for record. |
String |
getProfileId()
Gets the profile id. |
String |
getRecordByIdKvpurl()
Gets the record by id kvpurl. |
String |
getSearchQuery()
Gets the search query. |
SearchGptXslProfiles |
getXslProfiles()
Gets the xsl profiles. |
void |
parseResponse(String xml)
Parses the response. |
Map<String,String> |
readDefaultParamValues()
Gets the default param values as map. |
protected boolean |
readIsExternalSearch()
Read is external search. |
Map<String,String> |
readReplaceParamValues()
Read replace param values as map. |
SearchXslProfile |
readXslProfile()
Read xsl profile. |
void |
setDefaultParamValues(String defaultParamValues)
Sets the default param values. |
void |
setEndPointMetadataUrl(String endPointMetadataUrl)
Sets the end point metadata url. |
void |
setEndPointSearchUrl(String endPointUrl)
Sets the end point url. |
void |
setProfileId(String profileId)
Sets the profile id. |
void |
setRecordByIdKvpurl(String recordByIdKvpurl)
Sets the record by id kvpurl. |
void |
setReplaceUrlValues(String replaceUrlValues)
Sets the replace url values. |
void |
setXslProfiles(SearchGptXslProfiles xslProfiles)
Sets the xsl profiles. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DELIMETER_KVP
public static final String DELIMETER_KV
| Constructor Detail |
|---|
public SearchEngineRest(RequestContext context)
context - the context| Method Detail |
|---|
public void setDefaultParamValues(String defaultParamValues)
defaultParamValues - the new default param valuespublic String getEndPointSearchUrl()
public void setEndPointSearchUrl(String endPointUrl)
endPointUrl - the new end point urlpublic String getProfileId()
public void setProfileId(String profileId)
profileId - the new profile id
public String getRecordByIdKvpurl()
throws SearchException
SearchExceptionpublic void setRecordByIdKvpurl(String recordByIdKvpurl)
recordByIdKvpurl - the new record by id kvpurlpublic void setReplaceUrlValues(String replaceUrlValues)
replaceUrlValues - the new replace url values
public SearchGptXslProfiles getXslProfiles()
throws SearchException
SearchException - the search exceptionpublic void setXslProfiles(SearchGptXslProfiles xslProfiles)
xslProfiles - the new xsl profilespublic String getEndPointMetadataUrl()
public void setEndPointMetadataUrl(String endPointMetadataUrl)
endPointMetadataUrl - the new end point metadata url
public String getMetadataUrl(String uuid)
throws SearchException
getMetadataUrl in class ASearchEngineuuid - the uuid
SearchException - the search exception
public URI getConnectionUri()
throws SearchException
getConnectionUri in class ASearchEngineSearchException - if uri from criteria is invalid
public void doSearch()
throws SearchException
ASearchEngine
doSearch in class ASearchEngineSearchException - Exceptions from performing a search
public void parseResponse(String xml)
throws SearchException
xml - the xml
SearchException
public SearchResultRecord getMetadataAsSearchResultRecord(String uuid)
throws SearchException
getMetadataAsSearchResultRecord in class ASearchEngineuuid - the uuid
SearchException - the search exceptionASearchEngine.getMetadataAsSearchResultRecord(java.lang.String)
public String getMetadataAsText(String uuid)
throws SearchException
getMetadataAsText in class ASearchEngineuuid - the uuid
SearchException - the search exceptionASearchEngine.getMetadataAsText(java.lang.String)public Map<String,String> readDefaultParamValues()
public Map<String,String> readReplaceParamValues()
public SearchXslProfile readXslProfile()
throws SearchException
SearchException - the search exception
public String getSearchQuery()
throws SearchException
getSearchQuery in class ASearchEngineSearchException - the search exceptionprotected boolean readIsExternalSearch()
readIsExternalSearch in class ASearchEngineASearchEngine.readIsExternalSearch()
public Map<String,Object> createInstances(StringSet rids)
throws SearchException
createInstances in class ASearchEnginerids -
SearchException
public String getKeyAbstract()
throws SearchException
getKeyAbstract in class ASearchEngineSearchException
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||