.readGratuityValuesByExecutionDegree(executionDegree);
.readGratuityValuesByExecutionDegree(executionDegree.getIdInternal());
    public void run(String year) throws FenixServiceException {        try {            ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();            IExecutionYear executionYear = null;            if (year == null || year.equals("")) {                executionYear = sp.getIPersistentExecutionYear().readCurrentExecutionYear();            } else {                executionYear = sp.getIPersistentExecutionYear().readExecutionYearByName(year);            }            IPersistentGratuityValues gratuityValuesDAO = sp.getIPersistentGratuityValues();            IPersistentStudentCurricularPlan studentCurricularPlanDAO = sp                    .getIStudentCurricularPlanPersistente();            IPersistentGratuitySituation gratuitySituationDAO = sp.getIPersistentGratuitySituation();            // read master degree and specialization execution degrees            List executionDegreeList = sp.getIPersistentExecutionDegree()                    .readByExecutionYearAndDegreeType(executionYear.getYear(), DegreeType.MASTER_DEGREE);            for (Iterator iter = executionDegreeList.iterator(); iter.hasNext();) {                IExecutionDegree executionDegree = (IExecutionDegree) iter.next();                IGratuityValues gratuityValues = gratuityValuesDAO                        .readGratuityValuesByExecutionDegree(executionDegree);                if (gratuityValues == null) {                    continue;                }                List studentCurricularPlanList = studentCurricularPlanDAO                        .readByDegreeCurricularPlan(executionDegree.getDegreeCurricularPlan());                for (Iterator iterator = studentCurricularPlanList.iterator(); iterator.hasNext();) {                    IStudentCurricularPlan studentCurricularPlan = (IStudentCurricularPlan) iterator                            .next();                    IGratuitySituation gratuitySituation = gratuitySituationDAO                            .readGratuitySituatuionByStudentCurricularPlanAndGratuityValues(                                    studentCurricularPlan.getIdInternal(), gratuityValues.getIdInternal());                    if (gratuitySituation == null) {                        createGratuitySituation(executionYear, gratuityValues, studentCurricularPlan,                                gratuitySituationDAO);                    } else {                        updateGratuitySituation(executionYear, gratuityValues, gratuitySituation,                                studentCurricularPlan, gratuitySituationDAO);                    }                }            }        } catch (ExcepcaoPersistencia ex) {            FenixServiceException newEx = new FenixServiceException("Persistence layer error");            newEx.fillInStackTrace();            throw newEx;        }    }