Package org.n52.series.db.old.da
Class OfferingAssembler
java.lang.Object
org.n52.series.db.old.da.SessionAwareAssembler
org.n52.series.db.old.da.ParameterAssembler<E,O>
org.n52.series.db.old.da.HierarchicalParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
org.n52.series.db.old.da.OfferingAssembler
- All Implemented Interfaces:
TimeOutputCreator,OutputAssembler<org.n52.io.response.OfferingOutput>,SearchableAssembler,org.springframework.beans.factory.InitializingBean
public class OfferingAssembler
extends HierarchicalParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
-
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
ConstructorsConstructorDescriptionOfferingAssembler(HibernateSessionStore sessionStore, DbQueryFactory dbQueryFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.n52.io.response.OfferingOutputcreateCondensed(org.n52.series.db.beans.OfferingEntity entity, DbQuery query, org.hibernate.Session session) protected OfferingDaocreateDao(org.hibernate.Session session) protected org.n52.series.spi.search.SearchResultcreateEmptySearchResult(String id, String label, String baseUrl) protected org.n52.io.response.OfferingOutputcreateExpanded(org.n52.series.db.beans.OfferingEntity entity, DbQuery query, org.hibernate.Session session) protected SearchableDao<org.n52.series.db.beans.OfferingEntity>createSearchableDao(org.hibernate.Session session) protected ParameterOutputSearchResultMapper<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput> getOutputMapper(DbQuery query) protected org.n52.io.response.OfferingOutputMethods inherited from class org.n52.series.db.old.da.HierarchicalParameterAssembler
createCondensed, createExpandedMethods inherited from class org.n52.series.db.old.da.ParameterAssembler
convertToSearchResults, 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.srv.OutputAssembler
exists, getAllCondensed, getAllExpanded, getInstance, searchForMethods inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
createTimeOutput
-
Constructor Details
-
OfferingAssembler
-
-
Method Details
-
prepareEmptyParameterOutput
protected org.n52.io.response.OfferingOutput prepareEmptyParameterOutput()- Specified by:
prepareEmptyParameterOutputin classParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
-
createEmptySearchResult
protected org.n52.series.spi.search.SearchResult createEmptySearchResult(String id, String label, String baseUrl) - Specified by:
createEmptySearchResultin classParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
-
createDao
- Specified by:
createDaoin classParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
-
createSearchableDao
protected SearchableDao<org.n52.series.db.beans.OfferingEntity> createSearchableDao(org.hibernate.Session session) - Specified by:
createSearchableDaoin classParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
-
createExpanded
protected org.n52.io.response.OfferingOutput createExpanded(org.n52.series.db.beans.OfferingEntity entity, DbQuery query, org.hibernate.Session session) - Specified by:
createExpandedin classParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
-
getOutputMapper
protected ParameterOutputSearchResultMapper<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput> getOutputMapper(DbQuery query) - Specified by:
getOutputMapperin classParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
-
createCondensed
protected org.n52.io.response.OfferingOutput createCondensed(org.n52.series.db.beans.OfferingEntity entity, DbQuery query, org.hibernate.Session session) - Specified by:
createCondensedin classParameterAssembler<org.n52.series.db.beans.OfferingEntity,org.n52.io.response.OfferingOutput>
-