extraWorkRequests.setWho(employeeWho.getIdInternal().intValue());
extraWorkRequests.setKeyWhoEmployee(employeeWho.getIdInternal());
    public List run(String usernameWho, List<InfoExtraWorkRequests> infoExtraWorkRequestsList,            String costCenterCode, String costCenterMoneyCode) throws Exception {        final IPessoaPersistente personDAO = persistentSupport.getIPessoaPersistente();        final Person personWho = Person.readPersonByUsername(usernameWho);        // Read employee logged        Employee employeeWho = null;        IPersistentEmployee employeeDAO = persistentSupport.getIPersistentEmployee();        if (personWho != null) {            employeeWho = employeeDAO.readByPerson(personWho.getIdInternal().intValue());        }        IPersistentCostCenter costCenterDAO = persistentSupport.getIPersistentCostCenter();        CostCenter costCenter = costCenterDAO.readCostCenterByCode(costCenterCode);        if (costCenter == null) {            // TODO        }        CostCenter costCenterMoney = costCenterDAO.readCostCenterByCode(costCenterMoneyCode);        if (costCenterMoney == null) {            // TODO        }        List<ExtraWorkRequests> extraWorkRequestsList = new ArrayList<ExtraWorkRequests>();        for (InfoExtraWorkRequests infoExtraWorkRequests : infoExtraWorkRequestsList) {            ExtraWorkRequests extraWorkRequests = null;            if (infoExtraWorkRequests.getIdInternal() != null                    && infoExtraWorkRequests.getIdInternal().intValue() > 0) {                extraWorkRequests = (ExtraWorkRequests) persistentObject.readByOID(                        ExtraWorkRequests.class, infoExtraWorkRequests.getIdInternal());            }            if (extraWorkRequests == null) {                extraWorkRequests = new ExtraWorkRequests();            }            extraWorkRequests.setBeginDate(infoExtraWorkRequests.getBeginDate());            extraWorkRequests.setEndDate(infoExtraWorkRequests.getEndDate());            extraWorkRequests.setOption1(infoExtraWorkRequests.getOption1());            extraWorkRequests.setOption2(infoExtraWorkRequests.getOption2());            extraWorkRequests.setOption3(infoExtraWorkRequests.getOption3());            extraWorkRequests.setOption4(infoExtraWorkRequests.getOption4());            extraWorkRequests.setOption5(infoExtraWorkRequests.getOption5());            extraWorkRequests.setOption6(infoExtraWorkRequests.getOption6());            extraWorkRequests.setOption7(infoExtraWorkRequests.getOption7());            extraWorkRequests.setOption8(infoExtraWorkRequests.getOption8());            extraWorkRequests.setOption9(infoExtraWorkRequests.getOption9());            extraWorkRequests.setOption10(infoExtraWorkRequests.getOption10());            extraWorkRequests.setOption11(infoExtraWorkRequests.getOption11());            extraWorkRequests.setOption12(infoExtraWorkRequests.getOption12());            extraWorkRequests.setCostCenterExtraWork(costCenter);            extraWorkRequests.setCostCenterMoney(costCenterMoney);            Employee employee = employeeDAO.readByNumber(infoExtraWorkRequests.getInfoEmployee()                    .getEmployeeNumber());            if (employee == null) {                // TODO            }            extraWorkRequests.setEmployee(employee);            extraWorkRequests.setWho(employeeWho.getIdInternal().intValue());            extraWorkRequests.setWhoEmployee(employeeWho);            extraWorkRequests.setWhen(Calendar.getInstance().getTime());            extraWorkRequestsList.add(extraWorkRequests);        }        return (List) CollectionUtils.collect(extraWorkRequestsList, new Transformer() {            public Object transform(Object arg0) {                ExtraWorkRequests extraWorkRequests = (ExtraWorkRequests) arg0;                return InfoExtraWorkRequestsWithAll.newInfoFromDomain(extraWorkRequests);            }        });    }