| java.lang.Object org.fao.geonet.csw.common.requests.CatalogRequest org.fao.geonet.csw.common.requests.GetRecordsRequest
GetRecordsRequest | public class GetRecordsRequest extends CatalogRequest (Code) | | Params:
- resultType (0..1) Can be 'hits', 'results', 'validate'. Default is 'hits'
- outputFormat (0..1) Can be only 'application/xml'
- namespace (0..1) Used for the GET request
- outputSchema (0..1) Can be 'ogccore', 'profile'. Default is 'ogccore'
- startPosition (0..1) Default is 1
- maxRecords (0..1) Default is 10
- TypeNames (1..1) A set of 'dataset', 'datasetcollection', 'service', 'application'
- elementSetName (0..1) Can be 'brief', 'summary', 'full'. Default is 'summary'
- constraintLanguage (1..1) Can be 'CQL_TEXT', 'FILTER'. Must be included
when 'constraint' is specified
- constraintLanguageVersion (1..1) Example '1.0.0'
- constraint (0..1) Query to execute
- distributedSearch (0..1) TRUE|FALSE
- hopCount (0..1) default is 2
|
GetRecordsRequest | public GetRecordsRequest()(Code) | | |
addSortBy | public void addSortBy(String field, boolean ascend)(Code) | | |
addTypeName | public void addTypeName(TypeName typeName)(Code) | | |
getPostParams | protected Element getPostParams()(Code) | | |
setConstraintLangVersion | public void setConstraintLangVersion(String version)(Code) | | |
setConstraintLanguage | public void setConstraintLanguage(ConstraintLanguage lang)(Code) | | |
setDistributedSearch | public void setDistributedSearch(boolean yesno)(Code) | | |
setElementSetName | public void setElementSetName(ElementSetName name)(Code) | | |
setOutputFormat | public void setOutputFormat(String format)(Code) | | |
setOutputSchema | public void setOutputSchema(OutputSchema schema)(Code) | | |
setResultType | public void setResultType(ResultType type)(Code) | | |
setStartPosition | public void setStartPosition(String start)(Code) | | |
setupGetParams | protected void setupGetParams()(Code) | | |
Methods inherited from org.fao.geonet.csw.common.requests.CatalogRequest | protected void addParam(Element root, String name, Object value)(Code)(Java Doc) protected void addParam(String name, Object value)(Code)(Java Doc) protected void addParam(String name, Object value, String prefix)(Code)(Java Doc) public Element execute() throws IOException, CatalogException, JDOMException, Exception(Code)(Java Doc) protected void fill(String param, Iterable iter)(Code)(Java Doc) protected void fill(String param, Iterable iter, String prefix)(Code)(Java Doc) protected void fill(Element root, String parentName, String childName, Iterable iter, Namespace ns)(Code)(Java Doc) protected void fill(Element root, String childName, Iterable iter)(Code)(Java Doc) public String getAddress()(Code)(Java Doc) public String getHost()(Code)(Java Doc) public Method getMethod()(Code)(Java Doc) public int getPort()(Code)(Java Doc) abstract protected Element getPostParams()(Code)(Java Doc) public String getReceivedData()(Code)(Java Doc) abstract protected String getRequestName()(Code)(Java Doc) public String getSentData()(Code)(Java Doc) public boolean login(String username, String password) throws IOException, CatalogException, JDOMException, Exception(Code)(Java Doc) public void setAddress(String address)(Code)(Java Doc) protected void setAttrib(Element el, String name, Object value)(Code)(Java Doc) protected void setAttrib(Element el, String name, Object value, String prefix)(Code)(Java Doc) protected void setAttrib(Element el, String name, Iterable iter, String prefix)(Code)(Java Doc) public void setCredentials(String username, String password)(Code)(Java Doc) public void setHost(String host)(Code)(Java Doc) public void setLoginAddress(String address)(Code)(Java Doc) public void setMethod(Method m)(Code)(Java Doc) public void setPort(int port)(Code)(Java Doc) public void setUrl(URL url)(Code)(Java Doc) public void setUseSOAP(boolean yesno)(Code)(Java Doc) abstract protected void setupGetParams()(Code)(Java Doc)
|
|
|