public void updateCourse(int courseId, String courseCode, String name) {
		if(!isValidId(courseId) || courseCode.length() == 0
				|| name.length() == 0) {
			return;
		}
		
		Course course = courseDao.getCourse(courseId);
		
		if(course != null) {
			course.setCourseCode(courseCode);
			course.setName(name);
			courseDao.saveCourse(course);
		}
	}