Package org.n52.series.db.old.da
Class CategoryAssembler
java.lang.Object
org.n52.series.db.old.da.SessionAwareAssembler
org.n52.series.db.old.da.ParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
org.n52.series.db.old.da.CategoryAssembler
- All Implemented Interfaces:
TimeOutputCreator,OutputAssembler<org.n52.io.response.CategoryOutput>,SearchableAssembler,org.springframework.beans.factory.InitializingBean
public class CategoryAssembler
extends ParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
-
Field Summary
Fields inherited from class org.n52.series.db.old.da.SessionAwareAssembler
dbQueryFactory, mapperFactory, serviceEntityFactoryFields inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
OFFSET_REGEX -
Constructor Summary
ConstructorsConstructorDescriptionCategoryAssembler(HibernateSessionStore sessionStore, DbQueryFactory dbQueryFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.n52.io.response.CategoryOutputcreateCondensed(org.n52.series.db.beans.CategoryEntity entity, DbQuery query, org.hibernate.Session session) protected AbstractDao<org.n52.series.db.beans.CategoryEntity>createDao(org.hibernate.Session session) protected org.n52.series.spi.search.SearchResultcreateEmptySearchResult(String id, String label, String baseUrl) protected org.n52.io.response.CategoryOutputcreateExpanded(org.n52.series.db.beans.CategoryEntity instance, DbQuery query, org.hibernate.Session session) protected SearchableDao<org.n52.series.db.beans.CategoryEntity>createSearchableDao(org.hibernate.Session session) protected ParameterOutputSearchResultMapper<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput> getOutputMapper(DbQuery query) protected org.n52.io.response.CategoryOutputMethods inherited from class org.n52.series.db.old.da.ParameterAssembler
convertToSearchResults, createCondensed, createExpanded, exists, getAllCondensed, getAllExpanded, getAllInstances, getEntity, getInstance, getInstance, searchForMethods inherited from class org.n52.series.db.old.da.SessionAwareAssembler
afterPropertiesSet, createCondensed, createDatasetParameters, createGeometry, createTimeOutput, createTimeOutput, getCondensedCategory, getCondensedFeature, getCondensedOffering, getCondensedPhenomenon, getCondensedPlatform, getCondensedProcedure, getCondensedService, getCondensedTag, getCondensedTags, getCrsUtils, getDbQuery, getGeometry, getMapperFactory, getOriginTimeZone, getServiceEntity, getServiceEntity, getSession, getSessionStore, parseId, returnSessionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
createTimeOutput
-
Constructor Details
-
CategoryAssembler
-
-
Method Details
-
prepareEmptyParameterOutput
protected org.n52.io.response.CategoryOutput prepareEmptyParameterOutput()- Specified by:
prepareEmptyParameterOutputin classParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
-
createEmptySearchResult
protected org.n52.series.spi.search.SearchResult createEmptySearchResult(String id, String label, String baseUrl) - Specified by:
createEmptySearchResultin classParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
-
createDao
protected AbstractDao<org.n52.series.db.beans.CategoryEntity> createDao(org.hibernate.Session session) - Specified by:
createDaoin classParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
-
createSearchableDao
protected SearchableDao<org.n52.series.db.beans.CategoryEntity> createSearchableDao(org.hibernate.Session session) - Specified by:
createSearchableDaoin classParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
-
createExpanded
protected org.n52.io.response.CategoryOutput createExpanded(org.n52.series.db.beans.CategoryEntity instance, DbQuery query, org.hibernate.Session session) - Specified by:
createExpandedin classParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
-
getOutputMapper
protected ParameterOutputSearchResultMapper<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput> getOutputMapper(DbQuery query) - Specified by:
getOutputMapperin classParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
-
createCondensed
protected org.n52.io.response.CategoryOutput createCondensed(org.n52.series.db.beans.CategoryEntity entity, DbQuery query, org.hibernate.Session session) - Specified by:
createCondensedin classParameterAssembler<org.n52.series.db.beans.CategoryEntity,org.n52.io.response.CategoryOutput>
-