public Step getById(Integer stepId) {
        Criteria criteria = sessionFactory.getCurrentSession().createCriteria(Step.class);
        criteria.add(Restrictions.eq("id", stepId));

        return (Step) criteria.uniqueResult();
    }