Class PredicateController
- java.lang.Object
-
- de.digitalcollections.cudami.server.controller.relation.PredicateController
-
@RestController public class PredicateController extends Object
-
-
Constructor Summary
Constructors Constructor Description PredicateController(PredicateService predicateService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<de.digitalcollections.model.relation.Predicate>getPredicates()de.digitalcollections.model.relation.Predicateupdate(String value, de.digitalcollections.model.relation.Predicate predicate, org.springframework.validation.BindingResult errors)
-
-
-
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
-
-