public abstract class SessionAwareRepository extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DbQueryFactory |
dbQueryFactory |
protected ServiceEntity |
serviceEntity |
protected org.n52.web.ctrl.UrlHelper |
urlHelper |
| Constructor and Description |
|---|
SessionAwareRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends org.n52.io.response.ParameterOutput> |
createCondensed(T outputvalue,
DescribableEntity entity,
DbQuery parameters) |
protected org.n52.io.response.dataset.SeriesParameters |
createSeriesParameters(DatasetEntity<?> series,
DbQuery parameters,
org.hibernate.Session session) |
protected Map<String,org.n52.io.response.dataset.SeriesParameters> |
createTimeseriesList(List<QuantityDatasetEntity> series,
DbQuery parameters) |
protected org.n52.io.response.dataset.SeriesParameters |
createTimeseriesOutput(QuantityDatasetEntity series,
DbQuery parameters) |
protected org.n52.io.response.CategoryOutput |
getCondensedCategory(CategoryEntity entity,
DbQuery parameters) |
protected org.n52.io.response.CategoryOutput |
getCondensedExtendedCategory(CategoryEntity entity,
DbQuery parameters) |
protected org.n52.io.response.FeatureOutput |
getCondensedExtendedFeature(FeatureEntity entity,
DbQuery parameters) |
protected org.n52.io.response.OfferingOutput |
getCondensedExtendedOffering(OfferingEntity entity,
DbQuery parameters) |
protected org.n52.io.response.PhenomenonOutput |
getCondensedExtendedPhenomenon(PhenomenonEntity entity,
DbQuery parameters) |
protected org.n52.io.response.ProcedureOutput |
getCondensedExtendedProcedure(ProcedureEntity entity,
DbQuery parameters) |
protected org.n52.io.response.ServiceOutput |
getCondensedExtendedService(ServiceEntity entity,
DbQuery parameters) |
protected org.n52.io.response.FeatureOutput |
getCondensedFeature(FeatureEntity entity,
DbQuery parameters) |
protected org.n52.io.response.OfferingOutput |
getCondensedOffering(OfferingEntity entity,
DbQuery parameters) |
protected org.n52.io.response.PhenomenonOutput |
getCondensedPhenomenon(PhenomenonEntity entity,
DbQuery parameters) |
protected org.n52.io.response.ProcedureOutput |
getCondensedProcedure(ProcedureEntity entity,
DbQuery parameters) |
protected org.n52.io.response.ServiceOutput |
getCondensedService(ServiceEntity entity,
DbQuery parameters) |
protected org.n52.io.crs.CRSUtils |
getCrsUtils() |
protected String |
getDatabaseSrid() |
protected DbQuery |
getDbQuery(org.n52.io.request.IoParameters parameters) |
protected ServiceEntity |
getServiceEntity() |
protected ServiceEntity |
getServiceEntity(DescribableEntity entity) |
org.hibernate.Session |
getSession() |
HibernateSessionStore |
getSessionStore() |
protected Long |
parseId(String id) |
void |
returnSession(org.hibernate.Session session) |
void |
setDatabaseSrid(String databaseSrid) |
void |
setServiceEntity(ServiceEntity serviceEntity) |
void |
setSessionStore(HibernateSessionStore sessionStore) |
protected org.n52.web.ctrl.UrlHelper urlHelper
@Autowired(required=false) protected ServiceEntity serviceEntity
@Autowired protected DbQueryFactory dbQueryFactory
protected DbQuery getDbQuery(org.n52.io.request.IoParameters parameters)
public HibernateSessionStore getSessionStore()
public void setSessionStore(HibernateSessionStore sessionStore)
protected org.n52.io.crs.CRSUtils getCrsUtils()
protected String getDatabaseSrid()
protected Long parseId(String id) throws org.n52.web.exception.BadRequestException
org.n52.web.exception.BadRequestExceptionpublic void returnSession(org.hibernate.Session session)
public org.hibernate.Session getSession()
public void setDatabaseSrid(String databaseSrid)
protected Map<String,org.n52.io.response.dataset.SeriesParameters> createTimeseriesList(List<QuantityDatasetEntity> series, DbQuery parameters) throws DataAccessException
DataAccessExceptionprotected org.n52.io.response.dataset.SeriesParameters createTimeseriesOutput(QuantityDatasetEntity series, DbQuery parameters) throws DataAccessException
DataAccessExceptionprotected org.n52.io.response.dataset.SeriesParameters createSeriesParameters(DatasetEntity<?> series, DbQuery parameters, org.hibernate.Session session) throws DataAccessException
DataAccessExceptionprotected org.n52.io.response.PhenomenonOutput getCondensedPhenomenon(PhenomenonEntity entity, DbQuery parameters)
protected org.n52.io.response.PhenomenonOutput getCondensedExtendedPhenomenon(PhenomenonEntity entity, DbQuery parameters)
protected org.n52.io.response.OfferingOutput getCondensedOffering(OfferingEntity entity, DbQuery parameters)
protected org.n52.io.response.ServiceOutput getCondensedService(ServiceEntity entity, DbQuery parameters)
protected org.n52.io.response.OfferingOutput getCondensedExtendedOffering(OfferingEntity entity, DbQuery parameters)
public void setServiceEntity(ServiceEntity serviceEntity)
protected ServiceEntity getServiceEntity()
protected ServiceEntity getServiceEntity(DescribableEntity entity)
protected org.n52.io.response.ServiceOutput getCondensedExtendedService(ServiceEntity entity, DbQuery parameters)
protected <T extends org.n52.io.response.ParameterOutput> T createCondensed(T outputvalue,
DescribableEntity entity,
DbQuery parameters)
protected org.n52.io.response.ProcedureOutput getCondensedProcedure(ProcedureEntity entity, DbQuery parameters)
protected org.n52.io.response.ProcedureOutput getCondensedExtendedProcedure(ProcedureEntity entity, DbQuery parameters)
protected org.n52.io.response.FeatureOutput getCondensedFeature(FeatureEntity entity, DbQuery parameters)
protected org.n52.io.response.FeatureOutput getCondensedExtendedFeature(FeatureEntity entity, DbQuery parameters)
protected org.n52.io.response.CategoryOutput getCondensedCategory(CategoryEntity entity, DbQuery parameters)
protected org.n52.io.response.CategoryOutput getCondensedExtendedCategory(CategoryEntity entity, DbQuery parameters)
Copyright © 2015–2017 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.