List<InfoPublicationSubtype> result = new ArrayList<InfoPublicationSubtype>(); for (PublicationSubtype publicationSubtype : publicationSubtypeList) { result.add(InfoPublicationSubtypeWithPublicationType.newInfoFromDomain(publicationSubtype)); }
for (PublicationSubtype publicationSubtype : publicationSubtypeList) { result.add(InfoPublicationSubtypeWithPublicationType.newInfoFromDomain(publicationSubtype)); } }
    public List<InfoPublicationSubtype> run(int publicationTypeId) throws ExcepcaoPersistencia {        ISuportePersistente persistentSuport = PersistenceSupportFactory.getDefaultPersistenceSupport();        IPersistentPublicationType persistentPublicationType = persistentSuport                .getIPersistentPublicationType();        PublicationType publicationType = (PublicationType) persistentPublicationType.readByOID(                PublicationType.class, new Integer(publicationTypeId));        List<PublicationSubtype> publicationSubtypeList = publicationType.getSubtypes();        List<InfoPublicationSubtype> result = new ArrayList<InfoPublicationSubtype>();        for (PublicationSubtype publicationSubtype : publicationSubtypeList) {			result.add(InfoPublicationSubtypeWithPublicationType.newInfoFromDomain(publicationSubtype));		}        return result;    }