Optional<Sone> sone = getSone(parameters, "Sone", true, true);
getCore().lockSone(sone.get());
return new Response("SoneLocked", new SimpleFieldSetBuilder().put("Sone", sone.get().getId()).get());
Optional<Sone> sone = getSone(parameters, "Sone", true, true);
getCore().lockSone(sone.get());
return new Response("SoneLocked", new SimpleFieldSetBuilder().put("Sone", sone.get().getId()).get());