Commit 1771d9e6 authored by Richard Bruskiewich's avatar Richard Bruskiewich Committed by Matija Obreza
Browse files

Created an "addCategory" method for ParameterCategory setting (i.e. via

the REST API)
parent 667caa46
...@@ -45,7 +45,16 @@ public interface TraitService { ...@@ -45,7 +45,16 @@ public interface TraitService {
Page<Method> listMethods(Pageable pageable); Page<Method> listMethods(Pageable pageable);
/** /**
* Add new crop descriptor * Add new crop descriptor Property Category
*
* @param name
* @return
*/
@PreAuthorize("isAuthenticated()")
ParameterCategory addCategory(String name);
/**
* Add new crop descriptor Property
* *
* @param crop * @param crop
* @param title * @param title
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment