public class ServiceRepository extends ParameterRepository<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(ServiceEntity entity,
DbQuery query,
org.hibernate.Session session) |
protected SearchableDao<ServiceEntity> |
createSearchableDao(org.hibernate.Session session) |
boolean |
exists(java.lang.String id,
DbQuery parameters) |
protected java.util.List<ServiceEntity> |
getAllInstances(DbQuery parameters,
org.hibernate.Session session) |
protected ServiceEntity |
getEntity(java.lang.Long id,
AbstractDao<ServiceEntity> dao,
DbQuery query) |
protected org.n52.io.response.ServiceOutput |
prepareEmptyParameterOutput(ServiceEntity entity) |
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, createTimeseriesList, createTimeseriesOutput, getCondensedCategory, getCondensedExtendedCategory, getCondensedExtendedFeature, getCondensedExtendedOffering, getCondensedExtendedPhenomenon, getCondensedExtendedProcedure, getCondensedExtendedService, getCondensedFeature, getCondensedOffering, getCondensedPhenomenon, getCondensedProcedure, getCondensedService, getCrsUtils, getDbQuery, getDbQueryFactory, getGeometry, getPlatformId, getServiceEntity, getServiceEntity, getSession, getSessionStore, parseId, returnSession, setDbQueryFactory, setServiceEntity, setSessionStoreprotected org.n52.io.response.ServiceOutput prepareEmptyParameterOutput(ServiceEntity entity)
prepareEmptyParameterOutput in class ParameterRepository<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<ServiceEntity,org.n52.io.response.ServiceOutput>protected ServiceDao createDao(org.hibernate.Session session)
createDao in class ParameterRepository<ServiceEntity,org.n52.io.response.ServiceOutput>protected SearchableDao<ServiceEntity> createSearchableDao(org.hibernate.Session session)
createSearchableDao in class ParameterRepository<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<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<ServiceEntity,org.n52.io.response.ServiceOutput>protected java.util.List<ServiceEntity> getAllInstances(DbQuery parameters, org.hibernate.Session session) throws DataAccessException
getAllInstances in class ParameterRepository<ServiceEntity,org.n52.io.response.ServiceOutput>DataAccessExceptionprotected ServiceEntity getEntity(java.lang.Long id, AbstractDao<ServiceEntity> dao, DbQuery query) throws DataAccessException
getEntity in class ParameterRepository<ServiceEntity,org.n52.io.response.ServiceOutput>DataAccessExceptionprotected org.n52.io.response.ServiceOutput createExpanded(ServiceEntity entity, DbQuery query, org.hibernate.Session session)
createExpanded in class ParameterRepository<ServiceEntity,org.n52.io.response.ServiceOutput>Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.