@RequestMapping(method = RequestMethod.POST, value = "/{kind}/update")
public SchemaTO update(@RequestBody final SchemaTO schemaTO, @PathVariable("kind") final String kind)
throws NotFoundException {
AttributableUtil attributableUtil = getAttributableUtil(kind);
AbstractSchema schema = schemaDAO.find(schemaTO.getName(), attributableUtil.schemaClass());
if (schema == null) {
throw new NotFoundException("Schema '" + schemaTO.getName() + "'");
}
binder.update(schemaTO, schema, attributableUtil);