public interface ILcdCSWCapabilitiesProvider
CSW
versions to advertise
service itself
(e.g. what kind of data are offering)
and the provider
(e.g. your company name)
OpenSearch
capabilities (used for 3.0.0 servers only)
input
and output
record types and associated properties.
query handler
that will search for and return records from the catalogue.
The use of this interface allows to return an up to date version of the capabilities for requests
and eases implementation of access control.
Most implementations of this class can simply extend ALcdCSWCapabilitiesProvider
.
Modifier and Type | Method and Description |
---|---|
TLcdOWSServiceIdentification |
createServiceIdentification(ILcdRequest aRequest)
Returns the general service identification that will appear in the server's capabilities document.
|
TLcdOWSServiceProvider |
createServiceProvider(ILcdRequest aRequest)
Returns the general service info/metadata that will appear in the server's capabilities document.
|
default Object |
getExtendedCapabilities(ILcdRequest aRequest)
Returns extended operations metadata capabilities, if any.
|
TLcdOGCFilterCapabilities |
getFilterCapabilities(ILcdRequest aRequest)
Returns the OGC filter capabilities supported by this handler.
|
List<QName> |
getInputRecordProperties(ILcdRequest aRequest,
TLcdCSWRecordType aInputFormat)
Returns the names of the properties (e.g.
|
List<TLcdCSWRecordType> |
getInputRecordTypes(ILcdRequest aRequest)
Returns a description of all data records that can be queried.
|
List<TLcdCSWOpenSearchTemplate> |
getOpenSearchTemplates(ILcdRequest aRequest)
Returns the URL templates used to advertise OpenSearch capabilities.
|
List<QName> |
getOutputRecordProperties(ILcdRequest aRequest,
TLcdCSWRecordType aOutputFormat)
Returns the names of the properties (e.g.
|
List<TLcdCSWRecordType> |
getOutputRecordTypes(ILcdRequest aRequest)
Returns a description of all the output formats (e.g.
|
ILcdCSWQueryHandler |
getQueryHandler(ILcdRequest aRequest)
Returns the
query handler that will search for and return records from the catalogue. |
List<String> |
getSupportedVersions()
Returns the CSW versions that will be advertised by the server.
|
List<String> getSupportedVersions()
TLcdOWSServiceProvider createServiceProvider(ILcdRequest aRequest)
TLcdOWSServiceIdentification createServiceIdentification(ILcdRequest aRequest)
version
. Never null.default Object getExtendedCapabilities(ILcdRequest aRequest)
ALcdOWSOperationsMetadata.getExtendedCapabilities()
List<TLcdCSWOpenSearchTemplate> getOpenSearchTemplates(ILcdRequest aRequest)
aRequest
- the request triggering the callTLcdOGCFilterCapabilities getFilterCapabilities(ILcdRequest aRequest)
aRequest
- the request triggering the callList<TLcdCSWRecordType> getInputRecordTypes(ILcdRequest aRequest)
TLcdCSWRecordType.CSW_202
.
For 3.0.0 compliancy, this list should at least contain TLcdCSWRecordType.CSW_300
.
See TLcdCSWQuery.getTypeNames()
for how to specify the input record type in a query.
See getInputRecordProperties(com.luciad.ogc.common.ILcdRequest, com.luciad.ogc.csw.record.TLcdCSWRecordType)
for the specific properties that are supported.aRequest
- the request triggering the callList<QName> getInputRecordProperties(ILcdRequest aRequest, TLcdCSWRecordType aInputFormat)
aRequest
- the request triggering the callaInputFormat
- the input format for which to return the propertiesList<TLcdCSWRecordType> getOutputRecordTypes(ILcdRequest aRequest)
TLcdCSWRecordType.CSW_202
.
For 3.0.0 compliancy, this list should at least contain TLcdCSWRecordType.CSW_300
and TLcdCSWRecordType.ATOM
.aRequest
- the request triggering the callList<QName> getOutputRecordProperties(ILcdRequest aRequest, TLcdCSWRecordType aOutputFormat)
TLcdCSWQuery.getElements()
for how to specify output properties in record queries.aRequest
- the request triggering the callaOutputFormat
- the output format for which to return the propertiesILcdCSWQueryHandler getQueryHandler(ILcdRequest aRequest)
query handler
that will search for and return records from the catalogue.aRequest
- the request triggering the call