Class FilterController


  • @Deprecated(since="5.3.0")
    @RestController
    @RequestMapping("/api/filter")
    @ConditionalOnProperty(value="nae.filter.web.enabled",
                           havingValue="true",
                           matchIfMissing=true)
    public class FilterController
    extends java.lang.Object
    Deprecated.
    since 5.3.0 - Filter engine processes should be used instead of native objects
    • Constructor Summary

      Constructors 
      Constructor Description
      FilterController()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      MessageResource createFilter​(CreateFilterBody newFilter, MergeFilterOperation operation, org.springframework.security.core.Authentication auth, java.util.Locale locale)
      Deprecated.
       
      MessageResource deleteFilter​(java.lang.String filterId, org.springframework.security.core.Authentication auth)
      Deprecated.
       
      org.springframework.hateoas.PagedModel<LocalisedFilterResource> search​(java.util.Map<java.lang.String,​java.lang.Object> searchCriteria, org.springframework.security.core.Authentication auth, java.util.Locale locale, org.springframework.data.domain.Pageable pageable, org.springframework.data.web.PagedResourcesAssembler<Filter> assembler)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterController

        public FilterController()
        Deprecated.
    • Method Detail

      • createFilter

        @PostMapping(consumes="application/json",
                     produces="application/hal+json")
        public MessageResource createFilter​(@RequestBody
                                            CreateFilterBody newFilter,
                                            @RequestParam(required=false)
                                            MergeFilterOperation operation,
                                            org.springframework.security.core.Authentication auth,
                                            java.util.Locale locale)
        Deprecated.
      • search

        @PostMapping(value="/search",
                     consumes="application/json",
                     produces="application/hal+json")
        public org.springframework.hateoas.PagedModel<LocalisedFilterResource> search​(@RequestBody
                                                                                      java.util.Map<java.lang.String,​java.lang.Object> searchCriteria,
                                                                                      org.springframework.security.core.Authentication auth,
                                                                                      java.util.Locale locale,
                                                                                      org.springframework.data.domain.Pageable pageable,
                                                                                      org.springframework.data.web.PagedResourcesAssembler<Filter> assembler)
        Deprecated.