|
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.GetRecordsGenerator
public class GetRecordsGenerator
Generates a CSW GetRecords request from a discovery query.
Constructor Summary | |
---|---|
GetRecordsGenerator(RequestContext context)
Constructs with a an active request context. |
Method Summary | |
---|---|
String |
generateCswByIdRequest(String id)
Generates a CSW GetRecordById request. |
String |
generateCswRequest(DiscoveryQuery query)
Generates a CSW GetRecords request string from a DiscoveryQuery. |
String |
getElementSetName()
Gets the CSW element set name to return. |
String |
getFilterVersion()
Gets the CSW filter version. |
String |
getResultType()
Gets the CSW result type. |
String |
getService()
Gets the OGC service type. |
String |
getTypeNames()
Gets the CSW type names to query. |
String |
getVersion()
Gets the CSW version. |
void |
setElementSetName(String elementSetName)
Sets the CSW element set name to return. |
void |
setFilterVersion(String version)
Sets the CSW filter version. |
void |
setResultType(String resultType)
Sets the CSW result type. |
void |
setService(String service)
Sets the OGC service type. |
void |
setTypeNames(String typeNames)
Sets the CSW type names to query. |
void |
setVersion(String version)
Sets the CSW version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetRecordsGenerator(RequestContext context)
context
- the request contextMethod Detail |
---|
public String getElementSetName()
public void setElementSetName(String elementSetName)
elementSetName
- the element set namepublic String getFilterVersion()
public void setFilterVersion(String version)
version
- the filter versionpublic String getResultType()
public void setResultType(String resultType)
resultType
- the result typepublic String getService()
public void setService(String service)
service
- the OGC service typepublic String getTypeNames()
public void setTypeNames(String typeNames)
typeNames
- the type namespublic String getVersion()
public void setVersion(String version)
version
- the CSW versionpublic String generateCswRequest(DiscoveryQuery query) throws Exception
query
- the discovery query
Exception
- if an exception occurspublic String generateCswByIdRequest(String id) throws Exception
id
- the record ID
Exception
- if an exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |