Object args[] = { getCurricularCourse(), getContext(getContextIDToDelete()) }; ServiceUtils.executeService(getUserView(), "DeleteContextFromCurricularCourse", args);
Object args[] = { getCurricularCourseID(), getContextIDToDelete() }; ServiceUtils.executeService(getUserView(), "DeleteContextFromDegreeModule", args);
    public void forceDeleteContext(ActionEvent event) throws FenixFilterException {                try {            Object args[] = { getCurricularCourse(), getContext(getContextIDToDelete()) };            ServiceUtils.executeService(getUserView(), "DeleteContextFromCurricularCourse", args);            setContextID(0); // resetContextID            addInfoMessage(bolonhaBundle.getString("successAction"));        } catch (FenixServiceException e) {            addErrorMessage(e.getMessage());        } catch (DomainException e) {            addErrorMessage(domainExceptionBundle.getString(e.getMessage()));        }    }