class FlowRepositoryImpl extends HibernateDaoSupport implements FlowRepository {

    @Override
    @SuppressWarnings("unchecked")
    public List<Flow> findFlows(final FlowFinderCriteria finderCriteria) {
        return getHibernateTemplate().executeFind(new HibernateCallback() {
            @Override
            public Object doInHibernate(Session session) throws HibernateException {
                return execute(finderCriteria, createFlowsCriteria(finderCriteria), session, false);
            }
        });
    }

    public  FlowRepositoryImpl();

}