|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.search.ASearchEngine com.esri.gpt.catalog.search.SearchEngineCSW com.esri.gpt.catalog.search.SearchEngineExternalCsw
public class SearchEngineExternalCsw
The Class SearchEngineExternalCsw. Request based. For searching Harvest Site CSWs in our repositories. Parameters that can be used are is "uuid" of harvest site
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.esri.gpt.catalog.search.SearchEngineCSW |
---|
SearchEngineCSW.AimsContentTypes, SearchEngineCSW.Scheme, SearchEngineCSW.SEARCH_OPERATION |
Field Summary |
---|
Fields inherited from class com.esri.gpt.catalog.search.SearchEngineCSW |
---|
DATE_FORMAT, KEY_LINK_INFO, KEY_REFERENCES, KEY_TYPES |
Constructor Summary | |
---|---|
SearchEngineExternalCsw()
Instantiates a new search engine external csw. |
Method Summary | |
---|---|
Map<String,Object> |
createInstances(StringSet rids)
Creates the instances. |
String |
getFormerId()
Gets the former hint. |
HrRecord |
getHrRecord()
Gets the hr record. |
String |
getKeyAbstract()
Gets the abstract associated with the key |
protected CswRecord |
getMetadata(String uuid)
Gets the metadata as a csw client api record. |
void |
init()
Initialization |
protected void |
marshallRecords(CswRecords cswRecords)
Marshalls csw records |
protected boolean |
readIsExternalSearch()
Tells us if the search is external to GPT9 or Internal |
protected CswRecords |
sendRequest(String cswRequest)
Sends a CSW GetRecords request to CSW service. |
void |
setFormerId(String formerHint)
Sets the former hint. |
void |
setHrRecord(HrRecord hrRecord)
Sets the hr record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchEngineExternalCsw()
Method Detail |
---|
public String getFormerId()
public void setFormerId(String formerHint)
formerHint
- the new former hintpublic HrRecord getHrRecord()
public void setHrRecord(HrRecord hrRecord)
hrRecord
- the new hr recordprotected boolean readIsExternalSearch()
readIsExternalSearch
in class SearchEngineCSW
protected CswRecords sendRequest(String cswRequest) throws SearchException
sendRequest
in class SearchEngineCSW
cswRequest
- the CSW XML request
SearchException
- the search exceptionprotected void marshallRecords(CswRecords cswRecords) throws SearchException
marshallRecords
in class SearchEngineCSW
cswRecords
- CSW records
SearchException
protected CswRecord getMetadata(String uuid) throws SearchException
getMetadata
in class SearchEngineCSW
uuid
- the uuid
SearchException
- the search exceptionpublic void init() throws SearchException
init
in class SearchEngineCSW
SearchException
public String getKeyAbstract() throws SearchException
getKeyAbstract
in class ASearchEngine
SearchException
public Map<String,Object> createInstances(StringSet rids) throws SearchException
createInstances
in class SearchEngineCSW
rids
- the rids
SearchException
SearchException
- the search exception
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |