Class AbstractServiceConnector
java.lang.Object
org.n52.sensorweb.server.helgoland.adapters.connector.AbstractConnector
org.n52.sensorweb.server.helgoland.adapters.connector.AbstractServiceConnector
- All Implemented Interfaces:
org.n52.sensorweb.server.db.assembler.value.ValueConnector, EntityBuilder
public abstract class AbstractServiceConnector
extends AbstractConnector
implements org.n52.sensorweb.server.db.assembler.value.ValueConnector, EntityBuilder
-
Field Summary
Fields inherited from class AbstractConnector
CONNECTION_TIMEOUT, SOCKET_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringaddCategory(String categoryId, String categoryName, ServiceConstellation serviceConstellation) protected StringaddCategory(String categoryId, ServiceConstellation serviceConstellation) protected StringaddCategory(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, ServiceConstellation serviceConstellation) protected voidaddFeature(org.n52.shetland.ogc.gml.AbstractFeature feature, ServiceConstellation serviceConstellation) protected StringaddFeature(org.n52.shetland.ogc.om.features.samplingFeatures.AbstractSamplingFeature samplingfeature, ServiceConstellation serviceConstellation) protected org.n52.series.db.beans.OfferingEntityaddMetadata(org.n52.series.db.beans.OfferingEntity entity, org.n52.shetland.ogc.sos.SosObservationOffering obsOff) protected StringaddOffering(String offeringId, String offeringName, ServiceConstellation serviceConstellation) protected StringaddOffering(org.n52.shetland.ogc.gml.ReferenceType offering, ServiceConstellation serviceConstellation) protected StringaddOffering(org.n52.shetland.ogc.sos.SosObservationOffering offering, ServiceConstellation serviceConstellation) protected StringaddPhenomenon(String phenomenonId, String phenomenonName, String description, ServiceConstellation serviceConstellation) protected StringaddPhenomenon(String phenomenonId, String phenomenonName, ServiceConstellation serviceConstellation) protected StringaddPhenomenon(String phenomenonId, ServiceConstellation serviceConstellation) protected StringaddPhenomenon(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, ServiceConstellation serviceConstellation) protected StringaddPlatform(String id, String name, String description, ServiceConstellation serviceConstellation) protected StringaddPlatform(String id, String name, ServiceConstellation serviceConstellation) protected StringaddProcedure(String procedureId, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation) protected StringaddProcedure(String procedureId, String procedureName, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation) protected StringaddProcedure(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation) protected voidaddService(DataSourceJobConfiguration config, ServiceConstellation serviceConstellation, ServiceMetadata serviceMetadata) protected org.n52.shetland.ogc.filter.TemporalFilterprotected org.n52.shetland.ogc.filter.TemporalFiltercreateFirstTimefilter(boolean supportsFirstLast, org.joda.time.DateTime lastTimestamp) protected org.n52.shetland.ogc.filter.TemporalFiltercreateFirstTimefilter(org.n52.series.db.beans.DatasetEntity dataset) protected org.n52.shetland.ogc.filter.TemporalFilterprotected org.n52.shetland.ogc.filter.TemporalFiltercreateLatestTimefilter(org.n52.series.db.beans.DatasetEntity dataset) protected org.n52.shetland.ogc.filter.SpatialFiltercreateSpatialFilter(org.locationtech.jts.geom.Envelope envelope) protected org.n52.shetland.ogc.filter.SpatialFiltercreateSpatialFilter(org.locationtech.jts.geom.Envelope envelope, int srid) protected org.n52.shetland.ogc.filter.SpatialFiltercreateSpatialFilter(org.locationtech.jts.geom.Geometry geometry) protected org.n52.shetland.ogc.filter.SpatialFiltercreateSpatialFilter(org.n52.sensorweb.server.db.old.dao.DbQuery query) protected org.n52.shetland.ogc.filter.TemporalFiltercreateTimeFilter(org.joda.time.DateTime dateTime) protected org.n52.shetland.ogc.filter.TemporalFiltercreateTimeFilter(org.joda.time.Interval timespan) protected org.n52.shetland.ogc.filter.TemporalFiltercreateTimeFilter(org.n52.sensorweb.server.db.old.dao.DbQuery query) Methods inherited from class AbstractConnector
addServiceConfig, createSimpleClient, getConnectorName, getConstellation, getHttpClient, getName, getServiceConfig, isHttpClientInitialized, matches, matches, matches, sendGetRequest, sendPostRequest, setHttpClientMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EntityBuilder
addDescribeableData, createCategory, createCategory, createDataEntity, createDataEntity, createDataEntity, createDataset, createFeature, createFeature, createFeature, createFormat, createGeometry, createGeometry, createGeometry, createLocation, createOffering, createOffering, createPhenomenon, createPhenomenon, createPlatform, createProcedure, createProcedure, createService, createService, createService, createService, createService, createTag, createUnit, createUnit, createUnit, getDefaultFeatureFormat, getDefaultProcedureFormatMethods inherited from interface org.n52.sensorweb.server.db.assembler.value.ValueConnector
getFirstObservation, getLastObservation, getMetadata, getName, getObservations, getUom
-
Constructor Details
-
AbstractServiceConnector
public AbstractServiceConnector()
-
-
Method Details
-
addService
protected void addService(DataSourceJobConfiguration config, ServiceConstellation serviceConstellation, ServiceMetadata serviceMetadata) -
addOffering
protected String addOffering(org.n52.shetland.ogc.sos.SosObservationOffering offering, ServiceConstellation serviceConstellation) -
addOffering
protected String addOffering(org.n52.shetland.ogc.gml.ReferenceType offering, ServiceConstellation serviceConstellation) -
addOffering
protected String addOffering(String offeringId, String offeringName, ServiceConstellation serviceConstellation) -
addMetadata
protected org.n52.series.db.beans.OfferingEntity addMetadata(org.n52.series.db.beans.OfferingEntity entity, org.n52.shetland.ogc.sos.SosObservationOffering obsOff) -
addProcedure
protected String addProcedure(String procedureId, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation) -
addProcedure
protected String addProcedure(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation) -
addProcedure
protected String addProcedure(String procedureId, String procedureName, boolean insitu, boolean mobile, ServiceConstellation serviceConstellation) -
addPhenomenon
-
addPhenomenon
protected String addPhenomenon(String phenomenonId, String phenomenonName, ServiceConstellation serviceConstellation) -
addPhenomenon
protected String addPhenomenon(String phenomenonId, String phenomenonName, String description, ServiceConstellation serviceConstellation) -
addPhenomenon
protected String addPhenomenon(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, ServiceConstellation serviceConstellation) -
addCategory
-
addCategory
protected String addCategory(org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability dataAval, ServiceConstellation serviceConstellation) -
addCategory
protected String addCategory(String categoryId, String categoryName, ServiceConstellation serviceConstellation) -
addPlatform
-
addPlatform
protected String addPlatform(String id, String name, String description, ServiceConstellation serviceConstellation) -
addFeature
protected void addFeature(org.n52.shetland.ogc.gml.AbstractFeature feature, ServiceConstellation serviceConstellation) -
addFeature
protected String addFeature(org.n52.shetland.ogc.om.features.samplingFeatures.AbstractSamplingFeature samplingfeature, ServiceConstellation serviceConstellation) -
createFirstTimefilter
protected org.n52.shetland.ogc.filter.TemporalFilter createFirstTimefilter() -
createFirstTimefilter
protected org.n52.shetland.ogc.filter.TemporalFilter createFirstTimefilter(org.n52.series.db.beans.DatasetEntity dataset) -
createFirstTimefilter
protected org.n52.shetland.ogc.filter.TemporalFilter createFirstTimefilter(boolean supportsFirstLast, org.joda.time.DateTime lastTimestamp) -
createLatestTimefilter
protected org.n52.shetland.ogc.filter.TemporalFilter createLatestTimefilter() -
createLatestTimefilter
protected org.n52.shetland.ogc.filter.TemporalFilter createLatestTimefilter(org.n52.series.db.beans.DatasetEntity dataset) -
createTimeFilter
protected org.n52.shetland.ogc.filter.TemporalFilter createTimeFilter(org.n52.sensorweb.server.db.old.dao.DbQuery query) -
createTimeFilter
protected org.n52.shetland.ogc.filter.TemporalFilter createTimeFilter(org.joda.time.DateTime dateTime) -
createTimeFilter
protected org.n52.shetland.ogc.filter.TemporalFilter createTimeFilter(org.joda.time.Interval timespan) -
createSpatialFilter
protected org.n52.shetland.ogc.filter.SpatialFilter createSpatialFilter(org.n52.sensorweb.server.db.old.dao.DbQuery query) -
createSpatialFilter
protected org.n52.shetland.ogc.filter.SpatialFilter createSpatialFilter(org.locationtech.jts.geom.Geometry geometry) -
createSpatialFilter
protected org.n52.shetland.ogc.filter.SpatialFilter createSpatialFilter(org.locationtech.jts.geom.Envelope envelope) -
createSpatialFilter
protected org.n52.shetland.ogc.filter.SpatialFilter createSpatialFilter(org.locationtech.jts.geom.Envelope envelope, int srid)
-