Class PredicateController

java.lang.Object
de.digitalcollections.cudami.server.controller.relation.PredicateController

@RestController
public class PredicateController
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    PredicateController​(PredicateService predicateService)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<de.digitalcollections.model.relation.Predicate> getPredicates()  
    de.digitalcollections.model.relation.Predicate update​(java.lang.String value, de.digitalcollections.model.relation.Predicate predicate, org.springframework.validation.BindingResult errors)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getPredicates

      @GetMapping({"/v5/predicates","/v3/predicates","/latest/predicates"}) public java.util.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") java.lang.String value, @RequestBody de.digitalcollections.model.relation.Predicate predicate, org.springframework.validation.BindingResult errors) throws PredicatesServiceException
      Throws:
      PredicatesServiceException