infoAuthor.setKeyPerson(infoPerson.getIdInternal()); if (infoPerson.getInfoExternalPerson() != null) { infoAuthor.setOrganization(infoPerson.getInfoExternalPerson().getInfoWorkLocation().getName()); }
    public List<InfoAuthor> run(String stringtoSearch) throws ExcepcaoPersistencia {        List<InfoPerson> infoPersons = new ReadPersonsByName().run(stringtoSearch);                List<InfoAuthor> infoAuthors = new ArrayList<InfoAuthor>(infoPersons.size());                for (InfoPerson infoPerson : infoPersons) {            InfoAuthor infoAuthor = new InfoAuthor();            infoAuthor.setAuthor(infoPerson.getNome());            infoAuthor.setIdInternal(infoPerson.getIdInternal());            infoAuthor.setInfoPessoa(infoPerson);                        infoAuthors.add(infoAuthor);        }                return infoAuthors;            }