if (curricularYearID == null && getContext(getContextID()) != null) {    getContext(getContextID()).getCurricularPeriod().getOrder();
if (curricularYearID == null && getContext(getContextID()) != null) { curricularYearID = getContext(getContextID()).getCurricularPeriod().getOrderByType(CurricularPeriodType.YEAR);
    public Integer getCurricularYearID() throws FenixFilterException, FenixServiceException {        if (curricularYearID == null && getContext(getContextID()) != null) {//            curricularYearID = getContext(getContextID()).getCurricularSemester().getCurricularYear()//                    .getYear();                        getContext(getContextID()).getCurricularPeriod().getOrder();        }        return curricularYearID;    }