public List getAll(String processName)
public List getAll(String processName, State currentState)
    public List getAll(String processName)    {        Criteria criteria = createCriteria( WorkflowModel.class );        criteria.add( Expression.eq( "processName",                                     processName ) );        try        {            return criteria.list();        }        catch (HibernateException e)        {            throw convertHibernateAccessException( e );        }    }