Package org.n52.series.db.old.da
Class PlatformAssembler
- java.lang.Object
-
- org.n52.series.db.old.da.SessionAwareAssembler
-
- org.n52.series.db.old.da.ParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
-
- org.n52.series.db.old.da.PlatformAssembler
-
- All Implemented Interfaces:
TimeOutputCreator,OutputAssembler<org.n52.io.response.PlatformOutput>,SearchableAssembler,org.springframework.beans.factory.InitializingBean
public class PlatformAssembler extends ParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
TODO: JavaDoc
-
-
Field Summary
-
Fields inherited from class org.n52.series.db.old.da.SessionAwareAssembler
dbQueryFactory, mapperFactory, serviceEntityFactory
-
Fields inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
OFFSET_REGEX
-
-
Constructor Summary
Constructors Constructor Description PlatformAssembler(DatasetAssembler<org.n52.io.response.dataset.AbstractValue<?>> datasetAssembler, HibernateSessionStore sessionStore, DbQueryFactory dbQueryFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.n52.io.response.PlatformOutputcreateCondensed(org.n52.series.db.beans.PlatformEntity entity, DbQuery query, org.hibernate.Session session)protected List<org.n52.io.response.PlatformOutput>createCondensedHierarchyMembers(Set<org.n52.series.db.beans.PlatformEntity> members, DbQuery parameters, org.hibernate.Session session)org.n52.io.response.PlatformOutputcreateCondensedPlatform(org.n52.series.db.beans.PlatformEntity platform, DbQuery query, org.hibernate.Session session)protected AbstractDao<org.n52.series.db.beans.PlatformEntity>createDao(org.hibernate.Session session)protected org.n52.series.spi.search.SearchResultcreateEmptySearchResult(String id, String label, String baseUrl)protected org.n52.io.response.PlatformOutputcreateExpanded(org.n52.series.db.beans.PlatformEntity entity, DbQuery query, org.hibernate.Session session)protected SearchableDao<org.n52.series.db.beans.PlatformEntity>createSearchableDao(org.hibernate.Session session)protected ParameterOutputSearchResultMapper<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>getOutputMapper(DbQuery query)protected org.n52.io.response.PlatformOutputprepareEmptyParameterOutput()-
Methods inherited from class org.n52.series.db.old.da.ParameterAssembler
convertToSearchResults, createCondensed, createExpanded, exists, getAllCondensed, getAllExpanded, getAllInstances, getEntity, getInstance, getInstance, searchFor
-
Methods 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, returnSession
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
createTimeOutput
-
-
-
-
Constructor Detail
-
PlatformAssembler
public PlatformAssembler(DatasetAssembler<org.n52.io.response.dataset.AbstractValue<?>> datasetAssembler, HibernateSessionStore sessionStore, DbQueryFactory dbQueryFactory)
-
-
Method Detail
-
prepareEmptyParameterOutput
protected org.n52.io.response.PlatformOutput prepareEmptyParameterOutput()
- Specified by:
prepareEmptyParameterOutputin classParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
-
createEmptySearchResult
protected org.n52.series.spi.search.SearchResult createEmptySearchResult(String id, String label, String baseUrl)
- Specified by:
createEmptySearchResultin classParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
-
createDao
protected AbstractDao<org.n52.series.db.beans.PlatformEntity> createDao(org.hibernate.Session session)
- Specified by:
createDaoin classParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
-
createSearchableDao
protected SearchableDao<org.n52.series.db.beans.PlatformEntity> createSearchableDao(org.hibernate.Session session)
- Specified by:
createSearchableDaoin classParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
-
createCondensed
protected org.n52.io.response.PlatformOutput createCondensed(org.n52.series.db.beans.PlatformEntity entity, DbQuery query, org.hibernate.Session session)- Specified by:
createCondensedin classParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
-
createExpanded
protected org.n52.io.response.PlatformOutput createExpanded(org.n52.series.db.beans.PlatformEntity entity, DbQuery query, org.hibernate.Session session)- Specified by:
createExpandedin classParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
-
createCondensedHierarchyMembers
protected List<org.n52.io.response.PlatformOutput> createCondensedHierarchyMembers(Set<org.n52.series.db.beans.PlatformEntity> members, DbQuery parameters, org.hibernate.Session session)
-
createCondensedPlatform
public org.n52.io.response.PlatformOutput createCondensedPlatform(org.n52.series.db.beans.PlatformEntity platform, DbQuery query, org.hibernate.Session session)
-
getOutputMapper
protected ParameterOutputSearchResultMapper<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput> getOutputMapper(DbQuery query)
- Specified by:
getOutputMapperin classParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>
-
-