public class SosInsertObservationOperatorV20 extends AbstractV2TransactionalRequestOperator<AbstractInsertObservationDAO,InsertObservationRequest,InsertObservationResponse>
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
CONFORMANCE_CLASSES |
private static org.slf4j.Logger |
LOGGER |
private static String |
OPERATION_NAME |
Constructor and Description |
---|
SosInsertObservationOperatorV20() |
getAdditionalPrefixes, getAdditionalSchemaImports
receiveRequest
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, setObservationResponseResponseFormatAndContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOperationMetadata, getRequestOperatorKeyType, receiveRequest
private static final org.slf4j.Logger LOGGER
private static final String OPERATION_NAME
public InsertObservationResponse receive(InsertObservationRequest request) throws OwsExceptionReport
receive
in class AbstractRequestOperator<AbstractInsertObservationDAO,InsertObservationRequest,InsertObservationResponse>
OwsExceptionReport
private void splitDataArrayIntoObservations(InsertObservationRequest request) throws OwsExceptionReport
OwsExceptionReport
private ObservationValue<?> createObservationResultValue(String observationType, String valueString, Time phenomenonTime, SweField resultDefinitionField) throws OwsExceptionReport
OwsExceptionReport
private int getResultValueIndex(SweDataRecord elementTypeDataRecord, AbstractPhenomenon observableProperty)
private int getPhenomenonTimeIndex(SweDataRecord elementTypeDataRecord)
private int getResultTimeIndex(SweDataRecord elementTypeDataRecord)
private String getObservationTypeFromElementType(SweDataRecord elementTypeDataRecord, AbstractPhenomenon observableProperty) throws OwsExceptionReport
OwsExceptionReport
private boolean isSweArrayObservation(OmObservation observation)
private boolean isSetExtensionSplitDataArrayIntoObservations(InsertObservationRequest request)
protected void checkParameters(InsertObservationRequest request) throws OwsExceptionReport
checkParameters
in class AbstractRequestOperator<AbstractInsertObservationDAO,InsertObservationRequest,InsertObservationResponse>
OwsExceptionReport
private void checkParameterForSpatialFilteringProfile(InsertObservationRequest request) throws CodedException
request
- RequestCodedException
- If more than one sampling geometry is definedprivate void checkAndAddOfferingToObservationConstallation(InsertObservationRequest request) throws OwsExceptionReport
OwsExceptionReport
private void checkObservations(InsertObservationRequest request) throws OwsExceptionReport
OwsExceptionReport
private boolean isSplitObservations(SwesExtensions swesExtensions)
private void checkObservationConstellationParameter(OmObservationConstellation obsConstallation) throws OwsExceptionReport
OwsExceptionReport
private void checkOrSetObservationType(OmObservation sosObservation, boolean isSplitObservations) throws OwsExceptionReport
OwsExceptionReport
public WSDLOperation getSosOperationDefinition()
Copyright © 2012-2015 52north.org. All Rights Reserved.