public class AqdGetObservationOperatorV10 extends AbstractAqdRequestOperator<AbstractGetObservationDAO,GetObservationRequest,GetObservationResponse>
Modifier and Type | Field and Description |
---|---|
private boolean |
blockRequestsWithoutRestriction |
private static String |
OPERATION_NAME |
private static TemporalFilter |
TEMPORAL_FILTER_LATEST |
Constructor and Description |
---|
AqdGetObservationOperatorV10() |
Modifier and Type | Method and Description |
---|---|
private boolean |
checkForMergeObservationsInResponse(GetObservationRequest request) |
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 request) |
private void |
checkRequestForFlowAndTemporalFilter(GetObservationRequest request,
ReportObligationType flow) |
Set<String> |
getConformanceClasses() |
private List<TemporalFilter> |
getTemporalFilter(TimePeriod tp) |
private boolean |
isBlockRequestsWithoutRestriction() |
private boolean |
isSetExtensionMergeObservationsToSweDataArray(GetObservationRequest request) |
GetObservationResponse |
receive(GetObservationRequest request) |
void |
setBlockRequestsWithoutRestriction(boolean flag) |
changeRequestServiceVersion, changeRequestServiceVersionToAqd, changeResponseServiceVersion, checkExtensions, checkReportingHeader, checkServiceParameter, initDAO
addChildFeatures, addChildProcedures, checkAcceptedVersionsParameter, checkAcceptedVersionsParameter, checkFeatureOfInterestIdentifier, checkFeatureOfInterestIdentifiers, checkObservationID, checkObservationIDs, checkObservationType, checkObservedProperties, checkObservedProperty, checkObservedProperty, checkOffering, checkOffering, checkOfferings, checkOfferings, checkOnlyRequestableProcedureDescriptionFromats, checkProcedureID, checkProcedureIDs, checkResultTemplate, checkSingleVersionParameter, checkSpatialFilter, checkSpatialFilter, checkSpatialFilters, checkTemporalFilter, checkTemporalFilter, checkTemporalFilter, getActiveProfile, getCache, getDao, getOperationMetadata, getOperationName, getRequestOperatorKeyType, hasLanguageExtension, receiveRequest, setObservationResponseResponseFormatAndContentType
private static final TemporalFilter TEMPORAL_FILTER_LATEST
private static final String OPERATION_NAME
private boolean blockRequestsWithoutRestriction
public GetObservationResponse receive(GetObservationRequest request) throws OwsExceptionReport
receive
in class AbstractRequestOperator<AbstractGetObservationDAO,GetObservationRequest,GetObservationResponse>
OwsExceptionReport
private boolean checkForMergeObservationsInResponse(GetObservationRequest request)
private void checkRequestForFlowAndTemporalFilter(GetObservationRequest request, ReportObligationType flow) throws CodedException
CodedException
private List<TemporalFilter> getTemporalFilter(TimePeriod tp)
private boolean isSetExtensionMergeObservationsToSweDataArray(GetObservationRequest request)
protected void checkParameters(GetObservationRequest request) 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 supportedCopyright © 2012-2015 52north.org. All Rights Reserved.