@Override public void deleteSemanticEntity(Long id) { SemanticEntity e = findById(id); if (e != null) super.delete(e); }
@Override public void addSemanticEntity(SemanticEntity entity) { entity.setId((long) Math.random()); super.save(entity); }