@POST
@Path("commit")
public Response commit(@Context UriInfo uriInfo, @Context HttpHeaders httpHeaders, String json) {
try {
ListenerNotificationBatch listenerNotificationBatch = new ListenerNotificationBatch(uriInfo, httpHeaders);
JsonElement committedEntities = crysonSerializer.parse(json);
crysonService.validatePermissions(committedEntities);
List<Object> persistedEntites = new ArrayList<Object>();
List<Object> updatedEntities = new ArrayList<Object>();
JsonObject responseJsonObject = crysonService.commit(committedEntities, listenerNotificationBatch, persistedEntites, updatedEntities);