public abstract class AbstractConnector extends Object
| Constructor and Description |
|---|
AbstractConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addCategory(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval,
ServiceConstellation serviceConstellation) |
protected String |
addCategory(String categoryId,
ServiceConstellation serviceConstellation) |
protected String |
addCategory(String categoryId,
String categoryName,
ServiceConstellation serviceConstellation) |
protected void |
addFeature(org.n52.shetland.ogc.gml.AbstractFeature feature,
ServiceConstellation serviceConstellation) |
protected String |
addFeature(org.n52.shetland.ogc.om.features.samplingFeatures.SamplingFeature samplingfeature,
ServiceConstellation serviceConstellation) |
protected String |
addOffering(org.n52.shetland.ogc.gml.ReferenceType offering,
ServiceConstellation serviceConstellation) |
protected String |
addOffering(org.n52.shetland.ogc.sos.SosObservationOffering offering,
ServiceConstellation serviceConstellation) |
protected String |
addOffering(String offeringId,
String offeringName,
ServiceConstellation serviceConstellation) |
protected String |
addPhenomenon(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval,
ServiceConstellation serviceConstellation) |
protected String |
addPhenomenon(String phenomenonId,
ServiceConstellation serviceConstellation) |
protected String |
addPhenomenon(String phenomenonId,
String phenomenonName,
ServiceConstellation serviceConstellation) |
protected String |
addProcedure(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval,
boolean insitu,
boolean mobile,
ServiceConstellation serviceConstellation) |
protected String |
addProcedure(String procedureId,
boolean insitu,
boolean mobile,
ServiceConstellation serviceConstellation) |
protected String |
addProcedure(String procedureId,
String procedureName,
boolean insitu,
boolean mobile,
ServiceConstellation serviceConstellation) |
protected void |
addService(DataSourceConfiguration config,
ServiceConstellation serviceConstellation) |
protected org.n52.shetland.ogc.filter.TemporalFilter |
createFirstTimefilter() |
protected org.n52.shetland.ogc.filter.TemporalFilter |
createLatestTimefilter() |
protected org.n52.shetland.ogc.filter.SpatialFilter |
createSpatialFilter(org.n52.series.db.dao.DbQuery query) |
protected org.n52.shetland.ogc.filter.SpatialFilter |
createSpatialFilter(com.vividsolutions.jts.geom.Envelope envelope) |
protected org.n52.shetland.ogc.filter.SpatialFilter |
createSpatialFilter(com.vividsolutions.jts.geom.Envelope envelope,
int srid) |
protected org.n52.shetland.ogc.filter.TemporalFilter |
createTimeFilter(org.joda.time.DateTime dateTime) |
protected org.n52.shetland.ogc.filter.TemporalFilter |
createTimeFilter(org.n52.series.db.dao.DbQuery query) |
protected org.n52.shetland.ogc.filter.TemporalFilter |
createTimeFilter(org.joda.time.Interval timespan) |
String |
getConnectorName() |
abstract Optional<org.n52.series.db.beans.DataEntity<?>> |
getFirstObservation(org.n52.series.db.beans.DatasetEntity entity) |
abstract Optional<org.n52.series.db.beans.DataEntity<?>> |
getLastObservation(org.n52.series.db.beans.DatasetEntity entity) |
abstract List<org.n52.series.db.beans.DataEntity<?>> |
getObservations(org.n52.series.db.beans.DatasetEntity seriesEntity,
org.n52.series.db.dao.DbQuery query) |
abstract org.n52.series.db.beans.UnitEntity |
getUom(org.n52.series.db.beans.DatasetEntity seriesEntity) |
protected org.apache.http.HttpResponse |
sendGetRequest(String uri) |
protected org.apache.http.HttpResponse |
sendPostRequest(org.apache.xmlbeans.XmlObject request,
String uri) |
public String getConnectorName()
protected org.apache.http.HttpResponse sendGetRequest(String uri) throws IOException
IOExceptionprotected org.apache.http.HttpResponse sendPostRequest(org.apache.xmlbeans.XmlObject request,
String uri)
throws IOException
IOExceptionpublic abstract List<org.n52.series.db.beans.DataEntity<?>> getObservations(org.n52.series.db.beans.DatasetEntity seriesEntity, org.n52.series.db.dao.DbQuery query)
public abstract org.n52.series.db.beans.UnitEntity getUom(org.n52.series.db.beans.DatasetEntity seriesEntity)
public abstract Optional<org.n52.series.db.beans.DataEntity<?>> getFirstObservation(org.n52.series.db.beans.DatasetEntity entity)
public abstract Optional<org.n52.series.db.beans.DataEntity<?>> getLastObservation(org.n52.series.db.beans.DatasetEntity entity)
protected void addService(DataSourceConfiguration config, ServiceConstellation serviceConstellation)
protected String addOffering(org.n52.shetland.ogc.sos.SosObservationOffering offering, ServiceConstellation serviceConstellation)
protected String addOffering(org.n52.shetland.ogc.gml.ReferenceType offering, ServiceConstellation serviceConstellation)
protected String addOffering(String offeringId, String offeringName, ServiceConstellation serviceConstellation)
protected String addProcedure(String procedureId, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation)
protected String addProcedure(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation)
protected String addProcedure(String procedureId, String procedureName, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation)
protected String addPhenomenon(String phenomenonId, ServiceConstellation serviceConstellation)
protected String addPhenomenon(String phenomenonId, String phenomenonName, ServiceConstellation serviceConstellation)
protected String addPhenomenon(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, ServiceConstellation serviceConstellation)
protected String addCategory(String categoryId, ServiceConstellation serviceConstellation)
protected String addCategory(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, ServiceConstellation serviceConstellation)
protected String addCategory(String categoryId, String categoryName, ServiceConstellation serviceConstellation)
protected void addFeature(org.n52.shetland.ogc.gml.AbstractFeature feature,
ServiceConstellation serviceConstellation)
protected String addFeature(org.n52.shetland.ogc.om.features.samplingFeatures.SamplingFeature samplingfeature, ServiceConstellation serviceConstellation)
protected org.n52.shetland.ogc.filter.TemporalFilter createFirstTimefilter()
protected org.n52.shetland.ogc.filter.TemporalFilter createLatestTimefilter()
protected org.n52.shetland.ogc.filter.TemporalFilter createTimeFilter(org.n52.series.db.dao.DbQuery query)
protected org.n52.shetland.ogc.filter.TemporalFilter createTimeFilter(org.joda.time.DateTime dateTime)
protected org.n52.shetland.ogc.filter.TemporalFilter createTimeFilter(org.joda.time.Interval timespan)
protected org.n52.shetland.ogc.filter.SpatialFilter createSpatialFilter(org.n52.series.db.dao.DbQuery query)
protected org.n52.shetland.ogc.filter.SpatialFilter createSpatialFilter(com.vividsolutions.jts.geom.Envelope envelope)
protected org.n52.shetland.ogc.filter.SpatialFilter createSpatialFilter(com.vividsolutions.jts.geom.Envelope envelope,
int srid)
Copyright © 2015–2018 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.