public interface CourseManagementAdministration
| Modifier and Type | Method and Description |
|---|---|
void |
addCanonicalCourseToCourseSet(String courseSetEid,
String canonicalCourseEid)
Adds a CanonicalCourse to a CourseSet.
|
void |
addCourseOfferingToCourseSet(String courseSetEid,
String courseOfferingEid)
Adds a CourseOffering to a CourseSet.
|
Membership |
addOrUpdateCourseOfferingMembership(String userId,
String role,
String courseOfferingEid,
String status)
Adds a user to a CourseOffering.
|
Membership |
addOrUpdateCourseSetMembership(String userId,
String role,
String courseSetEid,
String status)
Adds a user to a CourseSet.
|
Enrollment |
addOrUpdateEnrollment(String userId,
String enrollmentSetEid,
String enrollmentStatus,
String credits,
String gradingScheme)
Adds an Enrollment to an EnrollmentSet.
|
Enrollment |
addOrUpdateEnrollment(String userId,
String enrollmentSetEid,
String enrollmentStatus,
String credits,
String gradingScheme,
Date dropDate)
Adds an Enrollment to an EnrollmentSet.
|
Membership |
addOrUpdateSectionMembership(String userId,
String role,
Section sec,
String status)
Adds a user to a Section.
|
Membership |
addOrUpdateSectionMembership(String userId,
String role,
String sectionEid,
String status)
Adds a user to a Section.
|
SectionCategory |
addSectionCategory(String categoryCode,
String categoryDescription) |
AcademicSession |
createAcademicSession(String eid,
String title,
String description,
Date startDate,
Date endDate)
Creates a new AcademicSession.
|
CanonicalCourse |
createCanonicalCourse(String eid,
String title,
String description)
Creates a new CanonicalCourse.
|
CourseOffering |
createCourseOffering(String eid,
String title,
String description,
String status,
String academicSessionEid,
String canonicalCourseEid,
Date startDate,
Date endDate)
Creates a new CourseOffering.
|
CourseSet |
createCourseSet(String eid,
String title,
String description,
String category,
String parentCourseSetEid)
Creates a new CourseSet.
|
EnrollmentSet |
createEnrollmentSet(String eid,
String title,
String description,
String category,
String defaultEnrollmentCredits,
String courseOfferingEid,
Set officialInstructors)
Creates a new EnrollmentSet.
|
Section |
createSection(String eid,
String title,
String description,
String category,
String parentSectionEid,
String courseOfferingEid,
String enrollmentSetEid)
Creates a new Section.
|
Meeting |
newSectionMeeting(String sectionEid,
String location,
Time startTime,
Time finishTime,
String notes)
Creates a new meeting instance.
|
void |
removeAcademicSession(String eid)
Removes an academic session and all CourseOfferings associated with this
academic session.
|
void |
removeAllSectionMeetings(String sectionEid)
Removes all meetings from the section
|
void |
removeCanonicalCourse(String eid)
Removes a canonical course and any course offerings associated with this
canonical course.
|
boolean |
removeCanonicalCourseFromCourseSet(String courseSetEid,
String canonicalCourseEid)
Removes a CanonicalCourse from a CourseSet.
|
void |
removeCourseOffering(String eid)
Removes a course offering, any memberships in the course offering, as well
as sections and enrollment sets that belong to this course offering.
|
boolean |
removeCourseOfferingFromCourseSet(String courseSetEid,
String courseOfferingEid)
Removes a CourseOffering from a CourseSet.
|
boolean |
removeCourseOfferingMembership(String userId,
String courseOfferingEid)
Removes a user from a CourseOffering.
|
void |
removeCourseSet(String eid)
Removes a course set and any memberships in the course set.
|
boolean |
removeCourseSetMembership(String userId,
String courseSetEid)
Removes a user from a CourseSet.
|
boolean |
removeEnrollment(String userId,
String enrollmentSetEid)
Removes an Enrollment from an EnrollmentSet by setting the Enrollment to
dropped=true.
|
void |
removeEnrollmentSet(String eid)
Removes an enrollment set and all associated enrollments.
|
boolean |
removeEquivalency(CanonicalCourse canonicalCourse)
Removes a CanonicalCourse from its set of equivalent CanonicalCourses, if it is
a member of such a set.
|
boolean |
removeEquivalency(CourseOffering courseOffering)
Removes a CourseOffering from its set of equivalent CourseOfferings, if it is
a member of such a set.
|
void |
removeSection(String eid)
Removes a section and any memberships in the section.
|
boolean |
removeSectionMembership(String userId,
String sectionEid)
Removes a user from a Section.
|
void |
setCurrentAcademicSessions(List<String> academicSessionEids)
Determines which sessions will be returned by getCurrentAcademicSessions().
|
void |
setEquivalentCanonicalCourses(Set canonicalCourses)
Creates an equivalency (cross listing) between CanonicalCourses
|
void |
setEquivalentCourseOfferings(Set courseOfferings)
Creates an equivalency (cross listing) betweencourseOfferings
|
void |
updateAcademicSession(AcademicSession academicSession)
Updates an existing AcademicSession.
|
void |
updateCanonicalCourse(CanonicalCourse canonicalCourse)
Updates an existing CanonicalCourse.
|
void |
updateCourseOffering(CourseOffering courseOffering)
Updates an existing CourseOffering.
|
void |
updateCourseSet(CourseSet courseSet)
Updates an existing CourseSet.
|
void |
updateEnrollmentSet(EnrollmentSet enrollmentSet)
Updates an existing EnrollmentSet.
|
void |
updateSection(Section section)
Updates an existing Section.
|
AcademicSession createAcademicSession(String eid, String title, String description, Date startDate, Date endDate) throws IdExistsException
eid - title - description - startDate - endDate - IdExistsExceptionvoid updateAcademicSession(AcademicSession academicSession)
academicSession - The AcademicSession to be updatedvoid removeAllSectionMeetings(String sectionEid)
sectionEid - void removeAcademicSession(String eid)
eid - The enterprise id of the academic sessionCourseSet createCourseSet(String eid, String title, String description, String category, String parentCourseSetEid) throws IdExistsException
eid - title - description - category - parentCourseSetEid - The parent CourseSet's eid, or null if none.IdExistsExceptionvoid updateCourseSet(CourseSet courseSet)
courseSet - void removeCourseSet(String eid)
eid - The enterprise id of the course setCanonicalCourse createCanonicalCourse(String eid, String title, String description) throws IdExistsException
eid - title - description - IdExistsExceptionvoid updateCanonicalCourse(CanonicalCourse canonicalCourse)
canonicalCourse - void addCanonicalCourseToCourseSet(String courseSetEid, String canonicalCourseEid) throws IdNotFoundException
courseSetEid - canonicalCourseEid - IdNotFoundExceptionboolean removeCanonicalCourseFromCourseSet(String courseSetEid, String canonicalCourseEid)
courseSetEid - canonicalCourseEid - void setEquivalentCanonicalCourses(Set canonicalCourses)
canonicalCourses - boolean removeEquivalency(CanonicalCourse canonicalCourse)
canonicalCourse - void removeCanonicalCourse(String eid)
eid - The enterprise id of the canonical courseCourseOffering createCourseOffering(String eid, String title, String description, String status, String academicSessionEid, String canonicalCourseEid, Date startDate, Date endDate) throws IdExistsException
eid - title - description - academicSessionEid - canonicalCourseEid - startDate - endDate - IdExistsExceptionvoid updateCourseOffering(CourseOffering courseOffering)
courseOffering - void setEquivalentCourseOfferings(Set courseOfferings)
courseOfferings - boolean removeEquivalency(CourseOffering courseOffering)
courseOffering - void addCourseOfferingToCourseSet(String courseSetEid, String courseOfferingEid)
courseSetEid - courseOfferingEid - boolean removeCourseOfferingFromCourseSet(String courseSetEid, String courseOfferingEid)
courseSetEid - courseOfferingEid - void removeCourseOffering(String eid)
eid - The enterprise id of the course offeringEnrollmentSet createEnrollmentSet(String eid, String title, String description, String category, String defaultEnrollmentCredits, String courseOfferingEid, Set officialInstructors) throws IdExistsException
eid - title - description - category - defaultEnrollmentCredits - courseOfferingEid - officialInstructors - IdExistsExceptionvoid updateEnrollmentSet(EnrollmentSet enrollmentSet)
enrollmentSet - void removeEnrollmentSet(String eid)
eid - The enterprise id of the enrollment setEnrollment addOrUpdateEnrollment(String userId, String enrollmentSetEid, String enrollmentStatus, String credits, String gradingScheme)
userId - enrollmentSetEid - enrollmentStatus - credits - gradingScheme - Enrollment addOrUpdateEnrollment(String userId, String enrollmentSetEid, String enrollmentStatus, String credits, String gradingScheme, Date dropDate)
userId - enrollmentSetEid - enrollmentStatus - credits - gradingScheme - dropDate - boolean removeEnrollment(String userId, String enrollmentSetEid)
userId - enrollmentSetEid - Section createSection(String eid, String title, String description, String category, String parentSectionEid, String courseOfferingEid, String enrollmentSetEid) throws IdExistsException
eid - title - description - category - parentSectionEid - courseOfferingEid - enrollmentSetEid - IdExistsExceptionSectionCategory addSectionCategory(String categoryCode, String categoryDescription)
Meeting newSectionMeeting(String sectionEid, String location, Time startTime, Time finishTime, String notes)
location - The location of the meetingstartTime - The time that the section startsstartTime - The time that the section finishesnotes - Optional notes about this meetingvoid updateSection(Section section)
section - void removeSection(String eid)
eid - The enterprise id of the sectionMembership addOrUpdateCourseSetMembership(String userId, String role, String courseSetEid, String status) throws IdNotFoundException
userId - role - courseSetEid - status - IdNotFoundException - If the CourseSet can not be foundboolean removeCourseSetMembership(String userId, String courseSetEid)
userId - courseSetEid - Membership addOrUpdateCourseOfferingMembership(String userId, String role, String courseOfferingEid, String status)
userId - role - courseOfferingEid - status - boolean removeCourseOfferingMembership(String userId, String courseOfferingEid)
userId - courseOfferingEid - Membership addOrUpdateSectionMembership(String userId, String role, String sectionEid, String status)
userId - role - sectionEid - status - Membership addOrUpdateSectionMembership(String userId, String role, Section sec, String status)
userId - role - sec - status - boolean removeSectionMembership(String userId, String sectionEid)
userId - sectionEid - Copyright © 2006–2020 Sakai Project. All rights reserved.