Class ParameterAssembler<E extends org.n52.series.db.beans.DescribableEntity,​O extends org.n52.io.response.ParameterOutput>

    • Method Detail

      • prepareEmptyParameterOutput

        protected abstract O prepareEmptyParameterOutput()
      • createEmptySearchResult

        protected abstract org.n52.series.spi.search.SearchResult createEmptySearchResult​(String id,
                                                                                          String label,
                                                                                          String baseUrl)
      • createDao

        protected abstract AbstractDao<E> createDao​(org.hibernate.Session session)
      • createSearchableDao

        protected abstract SearchableDao<E> createSearchableDao​(org.hibernate.Session session)
      • createCondensed

        protected List<O> createCondensed​(Collection<E> allInstances,
                                          DbQuery query,
                                          org.hibernate.Session session)
      • createCondensed

        protected abstract O createCondensed​(E entity,
                                             DbQuery query,
                                             org.hibernate.Session session)
      • createExpanded

        protected abstract O createExpanded​(E instance,
                                            DbQuery query,
                                            org.hibernate.Session session)
      • createExpanded

        protected List<O> createExpanded​(Collection<E> allInstances,
                                         DbQuery query,
                                         org.hibernate.Session session)
      • getAllInstances

        protected List<E> getAllInstances​(DbQuery parameters,
                                          org.hibernate.Session session)
      • getInstance

        protected E getInstance​(Long id,
                                DbQuery query,
                                org.hibernate.Session session)
      • convertToSearchResults

        protected List<org.n52.series.spi.search.SearchResult> convertToSearchResults​(List<E> found,
                                                                                      DbQuery query)