|
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.server.csw.client.CswSearchRequest
public class CswSearchRequest
CswSearchRequest class. CswSearchRequest class is used to submit CSW search queries and to return CSW search results. Before submiting a request, you need to specify a catalog and provide search criteria.
Constructor Summary | |
---|---|
CswSearchRequest()
|
|
CswSearchRequest(CswCatalog catalog,
String searchText)
|
Method Summary | |
---|---|
CswCatalog |
getCatalog()
Accessor methods |
CswSearchCriteria |
getCriteria()
|
CswClient |
getCswClient()
|
CswSearchResponse |
getCswSearchResponse()
|
void |
getMetadataByID(String DocID)
Retrieve metadata from CSW service by its ID |
CswRecord |
getRecordById(String requestURL,
String DocID,
CswProfile profile)
Gets the record by id. |
CswRecord |
getRecordById(String requestURL,
String DocID,
CswProfile profile,
String username,
String password)
Gets the record by id. |
CswSearchResponse |
getResponse()
Get the CSW search response of a CSW search request Get the CSW search response of a CSW search request |
void |
search()
Search CSW catalog using the provided criteria. |
void |
setCatalog(CswCatalog catalog)
|
void |
setCriteria(CswSearchCriteria criteria)
|
void |
setCswClient(CswClient cswClient)
|
void |
setCswSearchResponse(CswSearchResponse response)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CswSearchRequest()
public CswSearchRequest(CswCatalog catalog, String searchText)
Method Detail |
---|
public CswCatalog getCatalog()
public void setCatalog(CswCatalog catalog)
public CswSearchCriteria getCriteria()
public void setCriteria(CswSearchCriteria criteria)
public CswClient getCswClient()
public void setCswClient(CswClient cswClient)
public CswSearchResponse getCswSearchResponse()
public void setCswSearchResponse(CswSearchResponse response)
public void getMetadataByID(String DocID) throws NullReferenceException, IOException, InvalidOperationException, TransformerException
DocID
- Metadata document ID
NullReferenceException
IOException
InvalidOperationException
TransformerException
public CswRecord getRecordById(String requestURL, String DocID, CswProfile profile) throws IOException, TransformerException, NullReferenceException, InvalidOperationException
requestURL
- the request URL (CSW service url)DocID
- the doc ID (GUID or UUID)profile
- the profile
IOException
- Signals that an I/O exception has occurred.
TransformerException
- the transformer exception
NullReferenceException
- the null reference exception
InvalidOperationException
- the invalid operation exceptionpublic CswRecord getRecordById(String requestURL, String DocID, CswProfile profile, String username, String password) throws IOException, TransformerException, NullReferenceException, InvalidOperationException
requestURL
- the request URL (CSW service url)DocID
- the doc ID (GUID or UUID)profile
- the profile
IOException
- Signals that an I/O exception has occurred.
TransformerException
- the transformer exception
NullReferenceException
- the null reference exception
InvalidOperationException
- the invalid operation exceptionpublic CswSearchResponse getResponse()
public void search() throws NullReferenceException, XPathExpressionException, ParserConfigurationException, SAXException, IOException, TransformerException
IOException
SAXException
ParserConfigurationException
XPathExpressionException
TransformerException
NullReferenceException
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |