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