|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CourseManagementService
A read-only service that queries enterprise course, section, membership, and enrollment data.
| Method Summary | |
|---|---|
List<CourseOffering> |
findActiveCourseOfferingsInCanonicalCourse(String eid)
Find the currently offered course offerings in the cannonical course |
Map<String,String> |
findCourseOfferingRoles(String userEid)
Finds the CourseOfferings (and roles) for which a user is a member. |
Set<CourseOffering> |
findCourseOfferings(String courseSetEid,
String academicSessionEid)
Finds all of the course offerings in a course set that are current for any given academic session (regardless of the courseOffering's start and end dates). |
Map<String,String> |
findCourseSetRoles(String userEid)
Finds the CourseSets (and roles) for which a user is a member. |
List<CourseSet> |
findCourseSets(String category)
Finds all course sets in a given category. |
Set<EnrollmentSet> |
findCurrentlyEnrolledEnrollmentSets(String userEid)
Finds the set of current EnrollmentSets for which a user is enrolled but not dropped. |
Set<EnrollmentSet> |
findCurrentlyInstructingEnrollmentSets(String userEid)
Finds the set of current EnrollmentSets for which a user is an instructor of record. |
Set<Section> |
findEnrolledSections(String userEid)
Finds all Sections that are linked to an EnrollmentSet for which a user is enrolled (but not dropped). |
Enrollment |
findEnrollment(String userEid,
String enrollmentSetEid)
Finds the Enrollment for a user in an EnrollmentSet. |
Set<Section> |
findInstructingSections(String userEid)
Finds all Sections that are linked to an EnrollmentSet for which a user is an instructor of record. |
Set<Section> |
findInstructingSections(String userEid,
String academicSessionEid)
Finds all Sections that are linked to an EnrollmentSet for which a user is an instructor of record and which are part of a CourseOffering in a given AcademicSession. |
Map<String,String> |
findSectionRoles(String userEid)
Finds the Sections (and roles) for which a user is a member. |
AcademicSession |
getAcademicSession(String eid)
Gets a AcademicSession by its eid. |
List<AcademicSession> |
getAcademicSessions()
Gets the list of all known AcademicSessions, sorted by start date. |
CanonicalCourse |
getCanonicalCourse(String canonicalCourseEid)
Gets a CanonicalCourse by its eid. |
Set<CanonicalCourse> |
getCanonicalCourses(String courseSetEid)
Gets the CanonicalCourses in a CourseSet. |
Set<CourseSet> |
getChildCourseSets(String parentCourseSetEid)
Gets the child CourseSet from a parent CourseSet. |
Set<Section> |
getChildSections(String parentSectionEid)
Gets the child Sections from a parent Section. |
CourseOffering |
getCourseOffering(String courseOfferingEid)
Gets a CourseOffering by its eid. |
Set<Membership> |
getCourseOfferingMemberships(String courseOfferingEid)
Gets the memberships directly contained by this CourseOffering. |
Set<CourseOffering> |
getCourseOfferingsInCanonicalCourse(String canonicalCourseEid)
Finds all course offerings belonging to a canonical course. |
Set<CourseOffering> |
getCourseOfferingsInCourseSet(String courseSetEid)
Gets the CourseOfferings in a CourseSet. |
CourseSet |
getCourseSet(String courseSetEid)
Gets a CourseSet by its eid. |
Set<Membership> |
getCourseSetMemberships(String courseSetEid)
Gets the memberships directly contained by this CourseSet. |
Set<CourseSet> |
getCourseSets()
Gets all of the top level CourseSets |
List<AcademicSession> |
getCurrentAcademicSessions()
Gets the list of current AcademicSessions, sorted by start date. |
Set<Enrollment> |
getEnrollments(String enrollmentSetEid)
Gets the Enrollments in an EnrollmentSet (including dropped enrollments) |
EnrollmentSet |
getEnrollmentSet(String enrollmentSetEid)
Gets an EnrollmentSet by its eid. |
Set<EnrollmentSet> |
getEnrollmentSets(String courseOfferingEid)
Gets the EnrollmentSets associated with a CourseOffering |
Map<String,String> |
getEnrollmentStatusDescriptions(Locale locale)
Gets the known enrollment status codes and descriptions for Enrollments. |
Set<CanonicalCourse> |
getEquivalentCanonicalCourses(String canonicalCourseEid)
Gets the equivalent CanonicalCourses. |
Set<CourseOffering> |
getEquivalentCourseOfferings(String courseOfferingEid)
Gets any equivalent CourseOfferings. |
Map<String,String> |
getGradingSchemeDescriptions(Locale locale)
Gets the known grading scheme codes and descriptions for Enrollments. |
Set<String> |
getInstructorsOfRecordIds(String enrollmentSetEid)
Gets the set of user ids that are, according to the enterprise, responsible for the EnrollmentSet. |
Map<String,String> |
getMembershipStatusDescriptions(Locale locale)
Gets the known membership status codes and descriptions for Memberships. |
Section |
getSection(String sectionEid)
Gets a Section by its eid. |
List<String> |
getSectionCategories()
Gets the list of section categories defined by the institution. |
String |
getSectionCategoryDescription(String categoryCode)
Gets the description for a category, identified by the category code, or null if the category code can not be found. |
Set<Membership> |
getSectionMemberships(String sectionEid)
Gets the members directly contained by this Section. |
Set<Section> |
getSections(String courseOfferingEid)
Gets the top-level Sections associated with a CourseOffering |
boolean |
isAcademicSessionDefined(String eid)
Checks whether an AcademicSession exists. |
boolean |
isCanonicalCourseDefined(String eid)
Checks whether a CanonicalCourse exists. |
boolean |
isCourseOfferingDefined(String eid)
Checks whether a CourseOffering exists. |
boolean |
isCourseSetDefined(String eid)
Checks whether a CourseSet exists. |
boolean |
isEmpty(String courseSetEid)
Determines whether a CourseSet has any CanonicalCourses or CourseSets. |
boolean |
isEnrolled(String userEid,
Set<String> enrollmentSetEids)
Determines whether a user is enrolled (and not dropped) in an EnrollmentSet. |
boolean |
isEnrolled(String userEid,
String enrollmentSetEid)
Convenience method for checking whether a user is enrolled (and not dropped) in an EnrollmentSet. |
boolean |
isEnrollmentSetDefined(String eid)
Checks whether an EnrollmentSet exists. |
boolean |
isSectionDefined(String eid)
Checks whether a Section exists. |
| Method Detail |
|---|
CourseSet getCourseSet(String courseSetEid)
throws IdNotFoundException
courseSetEid - The CourseSet's unique eid
IdNotFoundException - If the eid is not associated with any CourseSetboolean isCourseSetDefined(String eid)
eid - The enterprise id
Set<CourseSet> getChildCourseSets(String parentCourseSetEid)
throws IdNotFoundException
parentCourseSetEid - The parent CourseSet eid
IdNotFoundExceptionSet<CourseSet> getCourseSets()
Set<Membership> getCourseSetMemberships(String courseSetEid)
throws IdNotFoundException
courseSetEid -
IdNotFoundException - If the eid is not associated with any CourseSet
CanonicalCourse getCanonicalCourse(String canonicalCourseEid)
throws IdNotFoundException
canonicalCourseEid -
IdNotFoundException - If the eid is not associated with any CanonicalCourseboolean isCanonicalCourseDefined(String eid)
eid - The enterprise id
Set<CanonicalCourse> getEquivalentCanonicalCourses(String canonicalCourseEid)
throws IdNotFoundException
canonicalCourseEid - The eid of the CanonicalCourse to use in finding equivalents
IdNotFoundException
Set<CanonicalCourse> getCanonicalCourses(String courseSetEid)
throws IdNotFoundException
courseSetEid - The eid of the CourseSet
IdNotFoundException - If the eid is not associated with any CourseSetList<AcademicSession> getAcademicSessions()
List<AcademicSession> getCurrentAcademicSessions()
AcademicSession getAcademicSession(String eid)
throws IdNotFoundException
eid -
IdNotFoundException - If the eid is not associated with any AcademicSessionboolean isAcademicSessionDefined(String eid)
eid - The enterprise id
CourseOffering getCourseOffering(String courseOfferingEid)
throws IdNotFoundException
courseOfferingEid -
IdNotFoundException - If the eid is not associated with any CourseOfferingboolean isCourseOfferingDefined(String eid)
eid - The enterprise id
Set<CourseOffering> getEquivalentCourseOfferings(String courseOfferingEid)
throws IdNotFoundException
courseOfferingEid - The eid of the CourseOffering to use in finding equivalents
IdNotFoundException - If the eid is not associated with any CourseOffering
Set<Membership> getCourseOfferingMemberships(String courseOfferingEid)
throws IdNotFoundException
courseOfferingEid -
IdNotFoundException - If the eid is not associated with any CourseOffering
Set<CourseOffering> getCourseOfferingsInCourseSet(String courseSetEid)
throws IdNotFoundException
courseSetEid - The eid of the CourseSet
IdNotFoundException - If the eid is not associated with any CourseSet
Set<CourseOffering> findCourseOfferings(String courseSetEid,
String academicSessionEid)
throws IdNotFoundException
courseSetEid - academicSessionEid -
IdNotFoundException
Set<CourseOffering> getCourseOfferingsInCanonicalCourse(String canonicalCourseEid)
throws IdNotFoundException
canonicalCourseEid - The enterprise id of the canonical course
IdNotFoundExceptionList<CourseSet> findCourseSets(String category)
category -
boolean isEmpty(String courseSetEid)
courseSetEid -
Section getSection(String sectionEid)
throws IdNotFoundException
sectionEid -
IdNotFoundException - If the eid is not associated with any Sectionboolean isSectionDefined(String eid)
eid - The enterprise id
Set<Section> getSections(String courseOfferingEid)
throws IdNotFoundException
courseOfferingEid -
IdNotFoundException - If the eid is not associated with any CourseOfferingList<String> getSectionCategories()
String getSectionCategoryDescription(String categoryCode)
sectionCategoryCode -
Set<Section> getChildSections(String parentSectionEid)
throws IdNotFoundException
parentSectionEid - The parent Section eid
IdNotFoundException - If the eid is not associated with any parent Section
Set<Membership> getSectionMemberships(String sectionEid)
throws IdNotFoundException
sectionEid -
IdNotFoundException - If the eid is not associated with any Section
EnrollmentSet getEnrollmentSet(String enrollmentSetEid)
throws IdNotFoundException
enrollmentSetEid -
IdNotFoundException - If the eid is not associated with any EnrollmentSetboolean isEnrollmentSetDefined(String eid)
eid - The enterprise id
Set<EnrollmentSet> getEnrollmentSets(String courseOfferingEid)
throws IdNotFoundException
courseOfferingEid -
IdNotFoundException - If the eid is not associated with any CourseOffering
Set<Enrollment> getEnrollments(String enrollmentSetEid)
throws IdNotFoundException
enrollmentSetEid -
IdNotFoundException - If the eid is not associated with any EnrollmentSetMap<String,String> getEnrollmentStatusDescriptions(Locale locale)
Map<String,String> getGradingSchemeDescriptions(Locale locale)
Map<String,String> getMembershipStatusDescriptions(Locale locale)
Set<String> getInstructorsOfRecordIds(String enrollmentSetEid)
throws IdNotFoundException
enrollmentSetEid -
IdNotFoundException - If the eid is not associated with any EnrollmentSet
boolean isEnrolled(String userEid,
Set<String> enrollmentSetEids)
userEid - The student's userEidenrollmentSetEids - The set of EnrollmentSetEids
boolean isEnrolled(String userEid,
String enrollmentSetEid)
userEid - enrollmentSetEid -
Enrollment findEnrollment(String userEid,
String enrollmentSetEid)
userEid - enrollmentSetEid -
Set<EnrollmentSet> findCurrentlyEnrolledEnrollmentSets(String userEid)
userEid -
Set<EnrollmentSet> findCurrentlyInstructingEnrollmentSets(String userEid)
userEid -
Set<Section> findInstructingSections(String userEid)
userEid -
Set<Section> findEnrolledSections(String userEid)
userEid -
Set<Section> findInstructingSections(String userEid,
String academicSessionEid)
throws IdNotFoundException
userEid - academicSessionEid -
IdNotFoundExceptionMap<String,String> findSectionRoles(String userEid)
userEid -
Map<String,String> findCourseOfferingRoles(String userEid)
userEid -
Map<String,String> findCourseSetRoles(String userEid)
userEid -
List<CourseOffering> findActiveCourseOfferingsInCanonicalCourse(String eid)
eid -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||