| Modifier and Type | Class and Description |
|---|---|
static class |
RequestCreator.RECORDTYPE |
| Constructor and Description |
|---|
RequestCreator() |
| Modifier and Type | Method and Description |
|---|---|
Document |
createDeleteRequest(String identifier) |
Document |
createGetRecordById(OutputSchema outputSchema,
ElementSetName elementSetName,
String identifier) |
Document |
createGetRecordsRequest(OutputSchema outputSchema,
ElementSetName elementSetName) |
Document |
createGetRecordsRequest(OutputSchema outputSchema,
ElementSetName elementSetName,
Node filter) |
Document |
createHarvest(String source) |
Document |
createInsertRequest(RequestCreator.RECORDTYPE recordType) |
Document |
createUpdateRequest(RequestCreator.RECORDTYPE recordType) |
public Document createGetRecordsRequest(OutputSchema outputSchema, ElementSetName elementSetName)
outputSchema - the outputSchema to use in the request, never nullelementSetName - the elementSetName to use in the request, never nullnullIllegalArgumentException - if no POST endpoint for operation GetRecords could be found in the capabilitiespublic Document createGetRecordsRequest(OutputSchema outputSchema, ElementSetName elementSetName, Node filter)
outputSchema - the outputSchema to use in the request, never nullelementSetName - the elementSetName to use in the request, never nullfilter - the filter to append (local name must be 'Filter'), may be null if no filter should be
addednullIllegalArgumentException - if no POST endpoint for operation GetRecords could be found in the capabilities or the passed filter
does not have a local name 'Filter'public Document createGetRecordById(OutputSchema outputSchema, ElementSetName elementSetName, String identifier)
outputSchema - the outputSchema to use in the request, never nullelementSetName - the elementSetName to use in the request, never nullidentifier - the id to append, never nullnullIllegalArgumentException - if no POST endpoint for operation GetRecordById could be found in the capabilitiespublic Document createInsertRequest(RequestCreator.RECORDTYPE recordType)
recordType - the type of the record, never nullnullIllegalArgumentException - if the request could not be createdpublic Document createUpdateRequest(RequestCreator.RECORDTYPE recordType)
recordType - the type of the record, never nullnullIllegalArgumentException - if the request could not be createdpublic Document createDeleteRequest(String identifier)
identifier - the identifier of the record to delete, never nullnullIllegalArgumentException - if the request could not be createdCopyright © 2019 Open Geospatial Consortium. All rights reserved.