Class AbstractSosConnector

All Implemented Interfaces:
org.n52.sensorweb.server.db.assembler.value.ValueConnector, EntityBuilder
Direct Known Subclasses:
SOS2Connector, TrajectorySOSConnector

public abstract class AbstractSosConnector extends AbstractServiceConnector
  • Field Details

    • counter

      protected int counter
  • Constructor Details

    • AbstractSosConnector

      public AbstractSosConnector()
  • Method Details

    • getDecoderRepository

      public org.n52.svalbard.decode.DecoderRepository getDecoderRepository()
    • setDecoderRepository

      @Inject public void setDecoderRepository(org.n52.svalbard.decode.DecoderRepository decoderRepository)
    • getEncoderRepository

      public org.n52.svalbard.encode.EncoderRepository getEncoderRepository()
    • setEncoderRepository

      @Inject public void setEncoderRepository(org.n52.svalbard.encode.EncoderRepository encoderRepository)
    • matches

      public boolean matches(ConnectorConfiguration configuration)
      Overrides:
      matches in class AbstractConnector
    • matches

      public boolean matches(DataSourceJobConfiguration config, org.n52.shetland.ogc.ows.service.GetCapabilitiesResponse capabilities)
    • getConstellation

      public AbstractServiceConstellation getConstellation(ConnectorConfiguration connectorConfig)
      Specified by:
      getConstellation in class AbstractConnector
    • getConstellation

      public abstract ServiceConstellation getConstellation(DataSourceJobConfiguration config, org.n52.shetland.ogc.ows.service.GetCapabilitiesResponse capabilities)
    • getUom

      public org.n52.series.db.beans.UnitEntity getUom(String procedure, String offering, String phenomenon, String feature, boolean supportsFirstLast, org.joda.time.DateTime lastTimestamp, String serviceURL)
    • getServiceConstellation

      protected ServiceConstellation getServiceConstellation()
    • getSosResponseFor

      protected Object getSosResponseFor(String uri)
    • getSosResponseFor

      protected Object getSosResponseFor(URL uri)
    • getSosResponseFor

      protected Object getSosResponseFor(org.n52.shetland.ogc.ows.service.OwsServiceRequest request, String namespace, String serviceUrl)
    • decodeResponse

      protected Object decodeResponse(org.apache.hc.core5.http.ClassicHttpResponse response)
    • canHandle

      protected abstract boolean canHandle(DataSourceJobConfiguration config, org.n52.shetland.ogc.ows.service.GetCapabilitiesResponse capabilities)
    • createDataEntity

      protected org.n52.series.db.beans.DataEntity<?> createDataEntity(org.n52.shetland.ogc.om.OmObservation observation, org.n52.series.db.beans.DatasetEntity seriesEntity)
    • getFeatureOfInterestByProcedure

      protected org.n52.shetland.ogc.sos.response.GetFeatureOfInterestResponse getFeatureOfInterestByProcedure(String procedureId, String serviceUri)
    • getFeatureOfInterestById

      protected org.n52.shetland.ogc.sos.response.GetFeatureOfInterestResponse getFeatureOfInterestById(String featureId, String serviceUri)
    • getFeatureOfInterest

      protected org.n52.shetland.ogc.sos.response.GetFeatureOfInterestResponse getFeatureOfInterest(String featureId, String procedureId, String obsProp, String serviceURL)
    • describeSensor

      protected org.n52.shetland.ogc.sos.response.DescribeSensorResponse describeSensor(String procedureId, String format, DataSourceJobConfiguration config)
    • supportsGDA

      protected boolean supportsGDA(org.n52.shetland.ogc.ows.OwsCapabilities owsCaps)
    • getDataAvailabilityByProcedure

      protected org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse getDataAvailabilityByProcedure(String procedureId, String serviceURL)
    • getDataAvailability

      protected org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse getDataAvailability(org.n52.series.db.beans.DatasetEntity seriesEntity)
    • getDataAvailability

      protected org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse getDataAvailability(QuantityDatasetConstellation dataset, String serviceURL)
    • getDataAvailability

      protected org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse getDataAvailability(String procedure, String offering, String phenomenon, String feature, String serviceURL)
    • getObservation

      protected org.n52.shetland.ogc.sos.response.GetObservationResponse getObservation(org.n52.series.db.beans.DatasetEntity seriesEntity, org.n52.shetland.ogc.filter.TemporalFilter temporalFilter)
    • getObservation

      protected org.n52.shetland.ogc.sos.response.GetObservationResponse getObservation(org.n52.series.db.beans.DatasetEntity seriesEntity, org.n52.shetland.ogc.filter.TemporalFilter temporalFilter, org.n52.shetland.ogc.filter.SpatialFilter spatialFilter)
    • getObservation

      protected org.n52.shetland.ogc.sos.response.GetObservationResponse getObservation(org.n52.series.db.beans.DatasetEntity seriesEntity, org.n52.shetland.ogc.filter.TemporalFilter temporalFilter, String responseFormat)
    • getObservation

      protected org.n52.shetland.ogc.sos.response.GetObservationResponse getObservation(org.n52.series.db.beans.DatasetEntity seriesEntity, org.n52.shetland.ogc.filter.TemporalFilter temporalFilter, org.n52.shetland.ogc.filter.SpatialFilter spatialFilter, String responseFormat)
    • getObservation

      protected org.n52.shetland.ogc.sos.response.GetObservationResponse getObservation(org.n52.series.db.beans.DatasetEntity seriesEntity, List<org.n52.shetland.ogc.filter.TemporalFilter> temporalFilter, org.n52.shetland.ogc.filter.SpatialFilter spatialFilter, String responseFormat)
    • addBindingUrls

      protected void addBindingUrls(org.n52.shetland.ogc.sos.SosCapabilities capabilities, DataSourceJobConfiguration config)
    • getKvpUrl

      protected URL getKvpUrl(DataSourceJobConfiguration config) throws MalformedURLException
      Throws:
      MalformedURLException
    • getSoapUrl

      protected URL getSoapUrl(DataSourceJobConfiguration config) throws MalformedURLException
      Throws:
      MalformedURLException
    • getPoxUrl

      protected URL getPoxUrl(DataSourceJobConfiguration config) throws MalformedURLException
      Throws:
      MalformedURLException
    • supportsKvp

      protected boolean supportsKvp(DataSourceJobConfiguration config)
    • supportsSoap

      protected boolean supportsSoap(DataSourceJobConfiguration config)
    • supportsPox

      protected boolean supportsPox(DataSourceJobConfiguration config)
    • checkHumanReadableName

      protected void checkHumanReadableName(DataSourceJobConfiguration config, org.n52.janmayen.http.QueryBuilder builder)
    • checkHumanReadableName

      protected void checkHumanReadableName(DataSourceJobConfiguration config, org.n52.shetland.ogc.ows.service.OwsServiceRequest request)