List<Unit> institutions = (List<Unit>) persistentSupport.getIPersistentObject().readAll( Unit.class);
List<Unit> institutions = RootDomainObject.readAllUnits();
    public List<ExternalPerson> run(List<InfoExternalPerson> infoExternalPersons)            throws ExcepcaoPersistencia, FenixServiceException {        List<ExternalPerson> externalPersons = new ArrayList<ExternalPerson>();        List<Unit> institutions = (List<Unit>) persistentSupport.getIPersistentObject().readAll(                Unit.class);        // generate new identification number        String lastDocumentIdNumber = persistentSupport.getIPersistentExternalPerson()                .readLastDocumentIdNumber();        int nextID = Integer.parseInt(lastDocumentIdNumber);        for (InfoExternalPerson infoExternalPerson : infoExternalPersons) {            // retrieving existing work location            Unit currentInstitution = UnitUtils.readExternalInstitutionUnitByName(infoExternalPerson                    .getInfoInstitution().getName());            // creating a new one if it doesn't already exist            if (currentInstitution == null) {                InsertInstitution iwl = new InsertInstitution();                currentInstitution = iwl.run(infoExternalPerson.getInfoInstitution().getName());                institutions.add(currentInstitution);            }            String name = infoExternalPerson.getInfoPerson().getNome();            String documentIDNumber = String.valueOf(++nextID);            // creating a new ExternalPerson            ExternalPerson externalPerson = DomainFactory.makeExternalPerson(name, Gender.MALE, "", "",                    "", "", "", documentIDNumber, currentInstitution);            externalPersons.add(externalPerson);        }        return externalPersons;    }