(IOR = Instructor of Record)
(CMA = CourseManagementAdministration)
(CMS = CourseManagementService)
assumptions or prereq's
Roles for instructors of different ilks
- InstructorOfRecord
- Instructor
- TA
///need to look at whether only IOR can grade, if so then, other roles may need to be qualified more WRT grading
Code Block | ||
---|---|---|
| ||
Calendar startCal = Calendar.getInstance(); Calendar endCal = Calendar.getInstance(); startCal.set(2006, 8, 1); endCal.set(2006, 12, 1); String deptOrSchoolEid = "Mythical Dept/School EID"; /// can we use college codes for courseset id's? String category = "L&S"; String noParent = null; String courseSetTitle = "Inhumanities"; String description = "This Department has a lot of courses in varying SUBJ codes"; String academicSessionEid = "200710"; String academicSessionTitle = "Fall QTR 2007"; String academicSessionDesc = "Fall Quarter 2007"; String canonicalCourseEid = "ENG 121"; String canonicalCourseTitle = "ENG 121"; String canonicalCourseDescr = "What more can be said?"; cmAdmin.createCourseSet(deptOrSchoolEid, courseSetTitle, description, category, noParent); cmAdmin.createAcademicSession(academicSessionEid, academicSessionTitle, academicSessionDesc,startCal.getTime(), endCal.getTime()); cmAdmin.createCanonicalCourse(canonicalCourseEid, canonicalCourseTitle, canonicalCourseDescr); cmAdmin.addCanonicalCourseToCourseSet(deptOrSchoolEid, canonicalCourseEid); /// query for enrollment sets foreach enrollmentSet in enrollmentSets { cmAdmin.createCourseOffering("ENG 121 200710", "English For The Toothless", "Finally a class for the tooth challenged.", academicSessionEid, "ENG 121", new Date("Sept. 26, 2007), new Date("Dec. 21, 2007")); cmAdmin.createEnrollmentSet("20071021213", "Fall QTR 2007 Roster", "Fall QTR 2007 Enrollments", "L&S undergrads", "3", "ENG 121 200710", null /* IORs to be added later */); ///may need to make more unique ID's here, depending on impl details cmAdmin.createSection("ENG 121 200710 001", String title, String description, "Lecture", null, "ENG 121 200710", "20071021213"); Vector officialGraderEids = new Vector(); List instructors = provider.etUserswithroles(new String[] {"InstructorOfRecord","Instructor", "TA"}); foreach instructor in instructors { officialGraderEids.add(instructor); role = provider?.getRoleInAuthzGroup(insructor); Membership member = new MemberShipCmImpl(instructor, role, CMA.getCourseOffering("ENG 121 200710", "active"} cmAdmin.addOrUpdateSectionMembership(member.getUserId(), member.getRole(), "ENG 121 200710 001", member.getSTatus() ); cmAdmin.newSectionMeeting("ENG 121 200710 001", "Klieber 100000B", "7D839D00SA0S", "Meets next to the horse barn") /// by convention UCD might adopt the strat of using an time object ID in the time string } // end foreach enrollmentSet in ... |
1. Unique Course
Example: ENG 121 001 Smit 200610 21213
One course with one section for a term
Code Block | ||
---|---|---|
| ||
CMA.createCanonicalCourse("ENG 121", "ENG 121", "What more can be said?");
CMA.addCanonicalCourseToCourseSet(deptOrSchool, "ENG 121");// can or should do both or not?
foreach enrollmentSet in enrollmentSets {
CMA.createCourseOffering("ENG 121 200710", "English For The Toothless", "Finally a class for the tooth challenged.",
+ "200710", "ENG 121", new Date("Sept. 26, 2007), new Date("Dec. 21, 2007"));
CMA.createEnrollmentSet("20071021213", "Fall QTR 2007 Roster", "Fall QTR 2007 Enrollments", "L&S undergrads", "3",
"ENG 121 200710", null /* IORs to be added later */);
///may need to make more unique ID's here, depending on impl details
CMA.createSection("ENG 121 200710 001", String title, String description,
"Lecture", null, "ENG 121 200710",
"20071021213");
Vector officialGraderEids = new Vector();
List instructors = provider.etUserswithroles(new String[] {"InstructorOfRecord","Instructor", "TA"});
foreach instructor in instructors {
officialGraderEids.add(instructor);
role = provider?.getRoleInAuthzGroup(insructor);
Membership member = new MemberShipCmImpl(instructor, role, CMA.getCourseOffering("ENG 121 200710", "active"}
CMA.addOrUpdateSectionMembership(member.getUserId(), member.getRole(), "ENG 121 200710 001", member.getSTatus() );
CMA.newSectionMeeting("ENG 121 200710 001", "Klieber 100000B", "7D839D00SA0S", "Meets next to the horse barn")
/// by convention UCD might adopt the strat of using an time object ID in the time string
} // end foreach enrollmentSet in ...
|
2. Mutliple Sections with single IOR per section
Example:
ENG 299 001 Andrews 200610 001 21214
Smith 200610 002 21215
3. Multiple Sections with a IOR
...
Example:
Eng 240 001 Andrews 200610 21218 | Site 1 |
Eng 240 003 Andrews 200610 21220 | Site 2 |
5. Single Section with more than one IOR
Example: Eng 111 001 Andrews - Primary (p) 200610 21223
Smith - Secondary (s)
6. Mutiple Section with Mutiple IOR
...
Example: a
Eng 112 001 Andrews (p) 200610 21223
Smith (s)
002 Andrews (p) 200610 21224
Smith (s)
Example: b
Eng 112 001 Andrews (p) 200610 21223
Smith (s)
002 Smith (p) 200610 21224
Andrews (s)
7. Mutiple sections with mutliple IOR's and ad hoc grouping
Note | ||
---|---|---|
| ||
|
Eng 212 001 Andrews (p) 200610 21229 | Site 1 |
Eng 212 003 Smith (p) 200610 21231 | Site 2 |
...
Note | ||
---|---|---|
| ||
|
Eng 212 | 001 | Smith (p) | 200610 21229 |
|
| Andrews | |
Eng 212 | 002 | Smith (p) | 200610 21229 |
|
| Mcgee |
9. Cross-listed – Single IOR
Eng 210 001 Andrews 200610 21220
Cse 210 001 Andrews 200610 21230
10. Cross-listed – Mutiple IOR
...
11. Cross-listed – Multiple IOR and ad hoc grouping
BIO 282 001 SALK (p) 200610 31621 | Site 1 |
VMD 162 001 CURIE (p) 200610 71819 | Site 2 |
12. Cross-listed – Mixed IOR
BIO 284 001 SALK (p) 200610 71819 |
VMD 291 001 SALK (p) 200610 71820 |