Class PredicateController


  • @RestController
    public class PredicateController
    extends Object
    • Constructor Detail

      • PredicateController

        public PredicateController​(PredicateService predicateService)
    • Method Detail

      • getPredicates

        @GetMapping({"/v5/predicates","/v3/predicates","/latest/predicates"})
        public List<de.digitalcollections.model.relation.Predicate> getPredicates()
      • update

        @PutMapping(value={"/v5/predicates/{value}","/v3/predicates/{value}","/latest/predicates/{value}"},
                    produces="application/json")
        public de.digitalcollections.model.relation.Predicate update​(@PathVariable("value")
                                                                     String value,
                                                                     @RequestBody
                                                                     de.digitalcollections.model.relation.Predicate predicate,
                                                                     org.springframework.validation.BindingResult errors)
                                                              throws PredicatesServiceException
        Throws:
        PredicatesServiceException