Class PlatformAssembler

  • All Implemented Interfaces:
    ClearAssembler<org.n52.series.db.beans.PlatformEntity>, InsertAssembler<org.n52.series.db.beans.PlatformEntity>, TransactionalAssembler<org.n52.series.db.beans.PlatformEntity>, OutputAssembler<org.n52.io.response.PlatformOutput>

    @Component
    @Transactional
    public class PlatformAssembler
    extends ParameterOutputAssembler<org.n52.series.db.beans.PlatformEntity,​org.n52.io.response.PlatformOutput,​org.n52.series.spi.search.PlatformSearchResult>
    • Method Detail

      • prepareEmptyOutput

        protected org.n52.io.response.PlatformOutput prepareEmptyOutput()
        Specified by:
        prepareEmptyOutput in class ParameterOutputAssembler<org.n52.series.db.beans.PlatformEntity,​org.n52.io.response.PlatformOutput,​org.n52.series.spi.search.PlatformSearchResult>
      • prepareEmptySearchResult

        protected org.n52.series.spi.search.PlatformSearchResult prepareEmptySearchResult()
        Specified by:
        prepareEmptySearchResult in class ParameterOutputAssembler<org.n52.series.db.beans.PlatformEntity,​org.n52.io.response.PlatformOutput,​org.n52.series.spi.search.PlatformSearchResult>
      • createSearchFilterPredicate

        protected org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.PlatformEntity> createSearchFilterPredicate​(DbQuery query)
        Specified by:
        createSearchFilterPredicate in class ParameterOutputAssembler<org.n52.series.db.beans.PlatformEntity,​org.n52.io.response.PlatformOutput,​org.n52.series.spi.search.PlatformSearchResult>
      • createFilterPredicate

        protected org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.PlatformEntity> createFilterPredicate​(DbQuery query)
        Specified by:
        createFilterPredicate in class ParameterOutputAssembler<org.n52.series.db.beans.PlatformEntity,​org.n52.io.response.PlatformOutput,​org.n52.series.spi.search.PlatformSearchResult>
      • createPublicPredicate

        public org.springframework.data.jpa.domain.Specification<org.n52.series.db.beans.PlatformEntity> createPublicPredicate​(String id,
                                                                                                                               DbQuery query)
        Specified by:
        createPublicPredicate in class ParameterOutputAssembler<org.n52.series.db.beans.PlatformEntity,​org.n52.io.response.PlatformOutput,​org.n52.series.spi.search.PlatformSearchResult>