class PreparationUtils {

    public List<Step> listSteps(String headStepId, PreparationRepository repository) {
        return listSteps(repository.get(headStepId, Step.class), Step.ROOT_STEP.getId(), repository);
    }

}