public class ServiceRepository extends ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>
dbQueryFactory, serviceEntity| Constructor and Description |
|---|
ServiceRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected ServiceDao |
createDao(org.hibernate.Session session) |
protected org.n52.series.spi.search.SearchResult |
createEmptySearchResult(java.lang.String id,
java.lang.String label,
java.lang.String baseUrl) |
protected org.n52.io.response.ServiceOutput |
createExpanded(org.n52.series.db.beans.ServiceEntity entity,
DbQuery query,
org.hibernate.Session session) |
protected SearchableDao<org.n52.series.db.beans.ServiceEntity> |
createSearchableDao(org.hibernate.Session session) |
boolean |
exists(java.lang.String id,
DbQuery parameters) |
protected java.util.List<org.n52.series.db.beans.ServiceEntity> |
getAllInstances(DbQuery parameters,
org.hibernate.Session session) |
protected org.n52.series.db.beans.ServiceEntity |
getEntity(java.lang.Long id,
AbstractDao<org.n52.series.db.beans.ServiceEntity> dao,
DbQuery query) |
protected org.n52.io.response.ServiceOutput |
prepareEmptyParameterOutput() |
java.util.Collection<org.n52.series.spi.search.SearchResult> |
searchFor(org.n52.io.request.IoParameters parameters) |
convertToSearchResults, createCondensed, createCondensed, createExpanded, getAllCondensed, getAllCondensed, getAllExpanded, getAllExpanded, getInstance, getInstance, getInstancecreateCondensed, createDatasetParameters, createGeometry, createTimeOutput, createTimeOutput, createTimeseriesList, createTimeseriesOutput, getCondensedCategory, getCondensedExtendedCategory, getCondensedExtendedFeature, getCondensedExtendedOffering, getCondensedExtendedPhenomenon, getCondensedExtendedProcedure, getCondensedExtendedService, getCondensedFeature, getCondensedOffering, getCondensedPhenomenon, getCondensedPlatform, getCondensedProcedure, getCondensedService, getCrsUtils, getDbQuery, getDbQueryFactory, getGeometry, getOriginTimeZone, getServiceEntity, getServiceEntity, getSession, getSessionStore, parseId, returnSession, setDbQueryFactory, setServiceEntity, setSessionStoreprotected org.n52.io.response.ServiceOutput prepareEmptyParameterOutput()
prepareEmptyParameterOutput in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>protected org.n52.series.spi.search.SearchResult createEmptySearchResult(java.lang.String id,
java.lang.String label,
java.lang.String baseUrl)
createEmptySearchResult in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>protected ServiceDao createDao(org.hibernate.Session session)
createDao in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>protected SearchableDao<org.n52.series.db.beans.ServiceEntity> createSearchableDao(org.hibernate.Session session)
createSearchableDao in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>public boolean exists(java.lang.String id,
DbQuery parameters)
throws DataAccessException
exists in interface OutputAssembler<org.n52.io.response.ServiceOutput>exists in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>DataAccessExceptionpublic java.util.Collection<org.n52.series.spi.search.SearchResult> searchFor(org.n52.io.request.IoParameters parameters)
searchFor in interface OutputAssembler<org.n52.io.response.ServiceOutput>searchFor in interface SearchableRepositorysearchFor in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>protected java.util.List<org.n52.series.db.beans.ServiceEntity> getAllInstances(DbQuery parameters, org.hibernate.Session session) throws DataAccessException
getAllInstances in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>DataAccessExceptionprotected org.n52.series.db.beans.ServiceEntity getEntity(java.lang.Long id,
AbstractDao<org.n52.series.db.beans.ServiceEntity> dao,
DbQuery query)
throws DataAccessException
getEntity in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>DataAccessExceptionprotected org.n52.io.response.ServiceOutput createExpanded(org.n52.series.db.beans.ServiceEntity entity,
DbQuery query,
org.hibernate.Session session)
createExpanded in class ParameterRepository<org.n52.series.db.beans.ServiceEntity,org.n52.io.response.ServiceOutput>Copyright © 2015–2019 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.