@Configurable public class SosGetObservationOperatorV20 extends AbstractV2RequestOperator<AbstractGetObservationDAO,GetObservationRequest,GetObservationResponse>
Modifier and Type | Field and Description |
---|---|
private boolean |
blockRequestsWithoutRestriction |
private static Set<String> |
CONFORMANCE_CLASSES |
private static TemporalFilter |
TEMPORAL_FILTER_LATEST |
Constructor and Description |
---|
SosGetObservationOperatorV20() |
Modifier and Type | Method and Description |
---|---|
private void |
checkObservedProperties(List<String> observedProperties)
checks if mandatory parameter observed property is correct
|
private void |
checkOfferingId(List<String> offeringIds)
checks if the passed offeringId is supported
|
protected void |
checkParameters(GetObservationRequest sosRequest) |
Set<String> |
getConformanceClasses() |
WSDLOperation |
getSosOperationDefinition() |
private boolean |
isBlockRequestsWithoutRestriction() |
GetObservationResponse |
receive(GetObservationRequest sosRequest) |
void |
setBlockRequestsWithoutRestriction(boolean flag) |
checkExtensions, getAdditionalPrefixes, getAdditionalSchemaImports
addChildFeatures, addChildProcedures, checkAcceptedVersionsParameter, checkAcceptedVersionsParameter, checkFeatureOfInterestIdentifier, checkFeatureOfInterestIdentifiers, checkObservationID, checkObservationIDs, checkObservationType, checkObservedProperties, checkObservedProperty, checkObservedProperty, checkOffering, checkOffering, checkOfferings, checkOfferings, checkOnlyRequestableProcedureDescriptionFromats, checkProcedureID, checkProcedureIDs, checkResultTemplate, checkServiceParameter, checkSingleVersionParameter, checkSpatialFilter, checkSpatialFilter, checkSpatialFilters, checkTemporalFilter, checkTemporalFilter, checkTemporalFilter, getActiveProfile, getCache, getDao, getOperationMetadata, getOperationName, getRequestOperatorKeyType, hasLanguageExtension, initDAO, receiveRequest, setObservationResponseResponseFormatAndContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOperationMetadata, getRequestOperatorKeyType, receiveRequest
private static final TemporalFilter TEMPORAL_FILTER_LATEST
private boolean blockRequestsWithoutRestriction
public GetObservationResponse receive(GetObservationRequest sosRequest) throws OwsExceptionReport
receive
in class AbstractRequestOperator<AbstractGetObservationDAO,GetObservationRequest,GetObservationResponse>
OwsExceptionReport
protected void checkParameters(GetObservationRequest sosRequest) throws OwsExceptionReport
checkParameters
in class AbstractRequestOperator<AbstractGetObservationDAO,GetObservationRequest,GetObservationResponse>
OwsExceptionReport
private boolean isBlockRequestsWithoutRestriction()
@Setting(value="service.blockGetObservationRequestsWithoutRestriction") public void setBlockRequestsWithoutRestriction(boolean flag)
private void checkObservedProperties(List<String> observedProperties) throws OwsExceptionReport
observedProperties
- list containing the observed properties of the requestOwsExceptionReport
- if the parameter does not containing any matching
observedProperty for the requested offeringprivate void checkOfferingId(List<String> offeringIds) throws OwsExceptionReport
offeringIds
- the offeringId to be checkedOwsExceptionReport
- if the passed offeringId is not supportedpublic WSDLOperation getSosOperationDefinition()
Copyright © 2012-2015 52north.org. All Rights Reserved.