final Object[] args = { getCurricularRuleID(), getBeginExecutionPeriodID(), (getEndExecutionPeriodID() == null || getEndExecutionPeriodID().equals(NO_SELECTION_INTEGER)) ? null : getEndExecutionPeriodID() };
final Object[] args = { getCurricularRuleID(), getBeginExecutionPeriodID(), getFinalEndExecutionPeriodID() };
    public String editCurricularRule() {        try {            final Object[] args = { getCurricularRuleID(), getBeginExecutionPeriodID(),                     (getEndExecutionPeriodID() == null || getEndExecutionPeriodID().equals(NO_SELECTION_INTEGER)) ? null :                         getEndExecutionPeriodID() };            ServiceUtils.executeService(getUserView(), "EditCurricularRule", args);            return "setCurricularRules";        } catch (FenixFilterException e) {            addErrorMessage(bolonhaResources.getString("error.notAuthorized"));        } catch (FenixServiceException e) {            addErrorMessage(bolonhaResources.getString(e.getMessage()));        } catch (DomainException e) {            addErrorMessage(domainResources.getString(e.getMessage()));        }        return "";    }