public class CategoryRepository extends SessionAwareRepository implements OutputAssembler<org.n52.io.response.CategoryOutput>
dbQueryFactory, serviceEntity, urlHelper| Constructor and Description |
|---|
CategoryRepository() |
| Modifier and Type | Method and Description |
|---|---|
List<org.n52.series.spi.search.SearchResult> |
convertToSearchResults(List<? extends DescribableEntity> found,
DbQuery query) |
protected org.n52.io.response.CategoryOutput |
createCondensed(CategoryEntity entity,
DbQuery parameters) |
protected org.n52.io.response.CategoryOutput |
createExpanded(CategoryEntity entity,
DbQuery parameters) |
boolean |
exists(String id,
DbQuery parameters) |
List<org.n52.io.response.CategoryOutput> |
getAllCondensed(DbQuery parameters) |
List<org.n52.io.response.CategoryOutput> |
getAllCondensed(DbQuery parameters,
org.hibernate.Session session) |
List<org.n52.io.response.CategoryOutput> |
getAllExpanded(DbQuery parameters) |
List<org.n52.io.response.CategoryOutput> |
getAllExpanded(DbQuery parameters,
org.hibernate.Session session) |
protected List<CategoryEntity> |
getAllInstances(DbQuery parameters,
org.hibernate.Session session) |
protected CategoryEntity |
getInstance(Long id,
DbQuery parameters,
org.hibernate.Session session) |
org.n52.io.response.CategoryOutput |
getInstance(String id,
DbQuery parameters) |
org.n52.io.response.CategoryOutput |
getInstance(String id,
DbQuery parameters,
org.hibernate.Session session) |
Collection<org.n52.series.spi.search.SearchResult> |
searchFor(org.n52.io.request.IoParameters parameters) |
createCondensed, createSeriesParameters, createTimeseriesList, createTimeseriesOutput, getCondensedCategory, getCondensedExtendedCategory, getCondensedExtendedFeature, getCondensedExtendedOffering, getCondensedExtendedPhenomenon, getCondensedExtendedProcedure, getCondensedExtendedService, getCondensedFeature, getCondensedOffering, getCondensedPhenomenon, getCondensedProcedure, getCondensedService, getCrsUtils, getDatabaseSrid, getDbQuery, getServiceEntity, getServiceEntity, getSession, getSessionStore, parseId, returnSession, setDatabaseSrid, setServiceEntity, setSessionStorepublic boolean exists(String id, DbQuery parameters) throws DataAccessException
exists in interface OutputAssembler<org.n52.io.response.CategoryOutput>DataAccessExceptionpublic Collection<org.n52.series.spi.search.SearchResult> searchFor(org.n52.io.request.IoParameters parameters)
searchFor in interface OutputAssembler<org.n52.io.response.CategoryOutput>public List<org.n52.series.spi.search.SearchResult> convertToSearchResults(List<? extends DescribableEntity> found, DbQuery query)
convertToSearchResults in interface OutputAssembler<org.n52.io.response.CategoryOutput>public List<org.n52.io.response.CategoryOutput> getAllCondensed(DbQuery parameters) throws DataAccessException
getAllCondensed in interface OutputAssembler<org.n52.io.response.CategoryOutput>DataAccessExceptionpublic List<org.n52.io.response.CategoryOutput> getAllCondensed(DbQuery parameters, org.hibernate.Session session) throws DataAccessException
getAllCondensed in interface OutputAssembler<org.n52.io.response.CategoryOutput>DataAccessExceptionpublic List<org.n52.io.response.CategoryOutput> getAllExpanded(DbQuery parameters) throws DataAccessException
getAllExpanded in interface OutputAssembler<org.n52.io.response.CategoryOutput>DataAccessExceptionpublic List<org.n52.io.response.CategoryOutput> getAllExpanded(DbQuery parameters, org.hibernate.Session session) throws DataAccessException
getAllExpanded in interface OutputAssembler<org.n52.io.response.CategoryOutput>DataAccessExceptionpublic org.n52.io.response.CategoryOutput getInstance(String id, DbQuery parameters) throws DataAccessException
getInstance in interface OutputAssembler<org.n52.io.response.CategoryOutput>DataAccessExceptionpublic org.n52.io.response.CategoryOutput getInstance(String id, DbQuery parameters, org.hibernate.Session session) throws DataAccessException
getInstance in interface OutputAssembler<org.n52.io.response.CategoryOutput>DataAccessExceptionprotected CategoryEntity getInstance(Long id, DbQuery parameters, org.hibernate.Session session) throws DataAccessException
DataAccessExceptionprotected List<CategoryEntity> getAllInstances(DbQuery parameters, org.hibernate.Session session) throws DataAccessException
DataAccessExceptionprotected org.n52.io.response.CategoryOutput createExpanded(CategoryEntity entity, DbQuery parameters) throws DataAccessException
DataAccessExceptionprotected org.n52.io.response.CategoryOutput createCondensed(CategoryEntity entity, DbQuery parameters)
Copyright © 2015–2017 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.