Class FilterController
- java.lang.Object
-
- com.netgrif.application.engine.workflow.web.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.
-
-
-
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.
-
deleteFilter
@DeleteMapping(value="/{id}", produces="application/hal+json") public MessageResource deleteFilter(@PathVariable("id") java.lang.String filterId, org.springframework.security.core.Authentication auth) throws UnauthorisedRequestException
Deprecated.- Throws:
UnauthorisedRequestException
-
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.
-
-