IGrantOwner grantOwner = null; for (Iterator iter = grantOwners.listIterator(spanNumber); iter.hasNext() && result.size() <= numberOfElementsInSpan;) {  grantOwner = (IGrantOwner) iter.next(); result.add(grantOwner); }  return result;
    public List readAllBySpan(Integer spanNumber, Integer numberOfElementsInSpan)            throws ExcepcaoPersistencia {        // TODO        return new ArrayList();        // Criteria criteria = new Criteria();        // return readSpan(GrantOwner.class, criteria, numberOfElementsInSpan,        // spanNumber);    }