6667686970717273
} Contract contract = resource.getContract(); if(contract != null) { contract.getResources().remove(resource); contractDAO.save(contract); eventDispatcher.publishEvent(new ResourceDeleted(resource.getContract(), resource)); } }