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
  • Constructor Details

  • Method Details

    • prepareEmptyParameterOutput

      protected org.n52.io.response.PlatformOutput prepareEmptyParameterOutput()
      Specified by:
      prepareEmptyParameterOutput in class ParameterAssembler<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:
      createEmptySearchResult in class ParameterAssembler<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:
      createDao in class ParameterAssembler<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:
      createSearchableDao in class ParameterAssembler<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:
      createCondensed in class ParameterAssembler<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:
      createExpanded in class ParameterAssembler<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:
      getOutputMapper in class ParameterAssembler<org.n52.series.db.beans.PlatformEntity,org.n52.io.response.PlatformOutput>