Class HarmoniCourseManagementManager

Description

<p> CourseManagementManager handles creating and deleting

  • CanonicalCourse,
  • CourseGradeRecord,
  • CourseGroup,
  • Term;

and gets:

  • CanonicalCourse,
  • CourseGradeRecord,
  • CourseGroup,
  • CourseOffering,
  • CourseSection,
  • Term,
  • various implementation Types.
</p>

<p> All implementations of OsidManager (manager) provide methods for accessing and manipulating the various objects defined in the OSID package. A manager defines an implementation of an OSID. All other OSID objects come either directly or indirectly from the manager. New instances of the OSID objects are created either directly or indirectly by the manager. Because the OSID objects are defined using interfaces, create methods must be used instead of the new operator to create instances of the OSID objects. Create methods are used both to instantiate and persist OSID objects. Using the OsidManager class to define an OSID's implementation allows the application to change OSID implementations by changing the OsidManager package name used to load an implementation. Applications developed using managers permit OSID implementation substitution without changing the application source code. As with all managers, use the OsidLoader to load an implementation of this interface. </p>

<p></p>

<p> OSID Version: 2.0 </p>

  • version: $Id: CourseManagementManager.class.php,v 1.51 2007/09/13 16:04:18 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright &copy; 2005, Middlebury College

Located in /harmoni/core/oki2/coursemanagement/CourseManagementManager.class.php (line 105)

OsidManager
   |
   --CourseManagementManager
      |
      --HarmoniCourseManagementManager
Variable Summary
Method Summary
HarmoniCourseManagementManager HarmoniCourseManagementManager ()
void assignConfiguration (object Properties $configuration)
void assignOsidContext (mixed $context, object OsidContext $context )
object CanonicalCourse createCanonicalCourse (string $title, string $number, string $description, object Type $courseType, object Type $courseStatusType, mixed $credits, float $credits )
object CourseGradeRecord createCourseGradeRecord (object Id $agentId, object Id $courseOfferingId, object Type $courseGradeType, object mixed $courseGrade)
object CourseGroup createCourseGroup (mixed $courseGroupType, object Type $courseGroupType )
object Term createTerm (object Type $termType, object ScheduleItem[] $schedule, [optional $displayname = ""])
void deleteCanonicalCourse (mixed $canonicalCourseId, object Id $canonicalCourseId )
void deleteCourseGradeRecord (mixed $courseGradeRecordId, object Id $courseGradeRecordId )
void deleteCourseGroup (mixed $courseGroupId, object Id $courseGroupId )
void deleteTerm (mixed $termId, object Id $termId )
object CanonicalCourse getCanonicalCourse (mixed $canonicalCourseId, object Id $canonicalCourseId )
object CanonicalCourseIterator getCanonicalCourses ()
object CanonicalCourseIterator getCanonicalCoursesByType (mixed $courseType, object Type $courseType )
object CourseGradeRecordIterator getCourseGradeRecords (object Id $agentId, object Id $courseOfferingId, mixed $courseGradeType, object Type $courseGradeType )
object TypeIterator getCourseGradeTypes ()
object CourseGroup getCourseGroup (mixed $courseGroupId, object Id $courseGroupId )
object CourseGroupIterator getCourseGroups (mixed $canonicalCourseId, object Id $canonicalCourseId )
object CourseGroupIterator getCourseGroupsByType (mixed $courseGroupType, object Type $courseGroupType )
object TypeIterator getCourseGroupTypes ()
object CourseOffering getCourseOffering (mixed $courseOfferingId, object Id $courseOfferingId )
object CourseOfferingIterator getCourseOfferings (mixed $agentId, object Id $agentId )
object CourseSection getCourseSection (mixed $courseSectionId, object Id $courseSectionId )
object CourseSectionIterator getCourseSections (mixed $agentId, object Id $agentId )
object TypeIterator getCourseStatusTypes ()
object TypeIterator getCourseTypes ()
object TypeIterator getEnrollmentStatusTypes ()
object TypeIterator getOfferingStatusTypes ()
object TypeIterator getOfferingTypes ()
object OsidContext getOsidContext ()
object TypeIterator getSectionStatusTypes ()
object TypeIterator getSectionTypes ()
object Term getTerm (mixed $termId, object Id $termId )
object TermIterator getTerms ()
object TermIterator getTermsByDate (mixed $date, int $date )
object TypeIterator getTermTypes ()
boolean supportsUpdate ()
string _getField (object Id $id, string $table, string $key)
object Type _getType (object Id $id, string $table, string $typename)
object Type _indexToType (string $index, string $typename)
void _setField (object Id $id, string $table, string $key, mixed $value)
object Type _typeToIndex (string $typename, object Type $type)
Variables
mixed $_canonicalCoursesId (line 127)
mixed $_configuration (line 124)
mixed $_courseGroupsId (line 128)
mixed $_courseManagementRootId (line 126)
mixed $_hierarchy (line 125)
mixed $_osidContext (line 123)
  • access: private
Methods
Constructor HarmoniCourseManagementManager (line 132)
HarmoniCourseManagementManager HarmoniCourseManagementManager ()
assignConfiguration (line 162)

Assign the configuration of this Manager. Valid configuration options are as

follows: hierarchy_id string root_id string course_management_id string canonical_courses_id string course_groups_id string

  • access: public
  • throws: object OsidException An exception with one of the following messages defined in org.osid.OsidException: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT
void assignConfiguration (object Properties $configuration)
  • object Properties $configuration: (original type: java.util.Properties)

Redefinition of:
OsidManager::assignConfiguration()
Assign the configuration of this OsidManager.
assignOsidContext (line 260)

Assign the context of this OsidManager.

  • access: public
  • throws: object OsidException An exception with one of the following messages defined in org.osid.OsidException: NULL_ARGUMENT
void assignOsidContext (mixed $context, object OsidContext $context )
  • object OsidContext $context

Redefinition of:
OsidManager::assignOsidContext()
Assign the context of this OsidManager.
createCanonicalCourse (line 296)

Create a new CanonicalCourse. The display name defaults to the title, but this can be changed later.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object CanonicalCourse createCanonicalCourse (string $title, string $number, string $description, object Type $courseType, object Type $courseStatusType, mixed $credits, float $credits )
  • string $title
  • string $number
  • string $description
  • object Type $courseType
  • object Type $courseStatusType
  • float $credits

Redefinition of:
CourseManagementManager::createCanonicalCourse()
Create a new CanonicalCourse.
createCourseGradeRecord (line 1198)

Create a CourseGradeRecord for the specified Agent (student), CourseOffering, CourseGradeType, and CourseGrade. Note that the intent is that this is a summative grade.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE, UNKNOWN_ID
object CourseGradeRecord createCourseGradeRecord (object Id $agentId, object Id $courseOfferingId, object Type $courseGradeType, object mixed $courseGrade)
  • object Id $agentId
  • object Id $courseOfferingId
  • object Type $courseGradeType
  • object mixed $courseGrade: (original type: java.io.Serializable)

Redefinition of:
CourseManagementManager::createCourseGradeRecord()
Create a CourseGradeRecord for the specified Agent (student), CourseOffering, CourseGradeType, and CourseGrade. Note that the intent is that this is a summative grade.
createCourseGroup (line 1374)

Create a CourseGroup of a particular CourseGroupType. CourseGroups can be used to model prerequisites, corequisites, majors, minors, sequences, etc.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object CourseGroup createCourseGroup (mixed $courseGroupType, object Type $courseGroupType )
  • object Type $courseGroupType

Redefinition of:
CourseManagementManager::createCourseGroup()
Create a CourseGroup of a particular CourseGroupType. CourseGroups can be used to model prerequisites, corequisites, majors, minors, sequences, etc.
createTerm (line 724)

Create a new Term with a specific type and Schedule. Schedules are defined in the scheduling OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object Term createTerm (object Type $termType, object ScheduleItem[] $schedule, [optional $displayname = ""])
  • object Type $termType
  • object ScheduleItem[] $schedule
  • optional $displayname: string $displayname The displayname. WARNING: NOT IN OSID -- USE AT YOUR OWN RISK

Redefinition of:
CourseManagementManager::createTerm()
Create a new Term with a specific type and Schedule. Schedules are defined in the scheduling OSID.
deleteCanonicalCourse (line 355)

Delete a CanonicalCourse.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deleteCanonicalCourse (mixed $canonicalCourseId, object Id $canonicalCourseId )
  • object Id $canonicalCourseId

Redefinition of:
CourseManagementManager::deleteCanonicalCourse()
Delete a CanonicalCourse.
deleteCourseGradeRecord (line 1254)

Delete the specified CourseGradeRecord by Id. courseGradeRecordId

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deleteCourseGradeRecord (mixed $courseGradeRecordId, object Id $courseGradeRecordId )
  • object Id $courseGradeRecordId

Redefinition of:
CourseManagementManager::deleteCourseGradeRecord()
Delete the specified CourseGradeRecord by Id. courseGradeRecordId
deleteCourseGroup (line 1411)

Delete a CourseGroup by unique Id.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deleteCourseGroup (mixed $courseGroupId, object Id $courseGroupId )
  • object Id $courseGroupId

Redefinition of:
CourseManagementManager::deleteCourseGroup()
Delete a CourseGroup by unique Id.
deleteTerm (line 793)

Delete a Term by unique Id.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deleteTerm (mixed $termId, object Id $termId )
  • object Id $termId

Redefinition of:
CourseManagementManager::deleteTerm()
Delete a Term by unique Id.
getCanonicalCourse (line 449)

Get a CanonicalCourse by Id.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object CanonicalCourse getCanonicalCourse (mixed $canonicalCourseId, object Id $canonicalCourseId )
  • object Id $canonicalCourseId

Redefinition of:
CourseManagementManager::getCanonicalCourse()
Get a CanonicalCourse by Id.
getCanonicalCourses (line 395)

Get all CanonicalCourses.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object CanonicalCourseIterator getCanonicalCourses ()

Redefinition of:
CourseManagementManager::getCanonicalCourses()
Get all CanonicalCourses.
getCanonicalCoursesByType (line 482)

Get all CanonicalCourses of the specified Type.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object CanonicalCourseIterator getCanonicalCoursesByType (mixed $courseType, object Type $courseType )
  • object Type $courseType

Redefinition of:
CourseManagementManager::getCanonicalCoursesByType()
Get all CanonicalCourses of the specified Type.
getCourseGradeRecords (line 1301)

Get all the CourseGradeRecords, optionally including only those for a specific Student, CourseOffering, or CourseGradeType. Put null if you don't wish to include these.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE, UNKNOWN_ID
object CourseGradeRecordIterator getCourseGradeRecords (object Id $agentId, object Id $courseOfferingId, mixed $courseGradeType, object Type $courseGradeType )
  • object Id $agentId
  • object Id $courseOfferingId
  • object Type $courseGradeType

Redefinition of:
CourseManagementManager::getCourseGradeRecords()
Get all the CourseGradeRecords, optionally including only those for a specific Student, CourseOffering, or CourseGradeType.
getCourseGradeTypes (line 1136)

Get all the defined CourseGrade Types. GradeTypes are defined in the grading OSID. These Types are meaningful to the implementation and applications and are not specified by the grading OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getCourseGradeTypes ()

Redefinition of:
CourseManagementManager::getCourseGradeTypes()
Get all the defined CourseGrade Types. GradeTypes are defined in the grading OSID. These Types are meaningful to the implementation and applications and are not specified by the grading OSID.
getCourseGroup (line 1453)

Get a CourseGroup by unique Id.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object CourseGroup getCourseGroup (mixed $courseGroupId, object Id $courseGroupId )
  • object Id $courseGroupId

Redefinition of:
CourseManagementManager::getCourseGroup()
Get a CourseGroup by unique Id.
getCourseGroups (line 1527)

Get all the CourseGroups that contain the specified CanoncialCourse.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object CourseGroupIterator getCourseGroups (mixed $canonicalCourseId, object Id $canonicalCourseId )
  • object Id $canonicalCourseId

Redefinition of:
CourseManagementManager::getCourseGroups()
Get all the CourseGroups that contain the specified CanoncialCourse.
getCourseGroupsByType (line 1487)

Get all the CourseGroups of a given CourseGroupType.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object CourseGroupIterator getCourseGroupsByType (mixed $courseGroupType, object Type $courseGroupType )
  • object Type $courseGroupType

Redefinition of:
CourseManagementManager::getCourseGroupsByType()
Get all the CourseGroups of a given CourseGroupType.
getCourseGroupTypes (line 1571)

Get all the CourseGroupTypes supported by this implementation. This can be innefficient if there is a tremendous number of Types and course groups.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getCourseGroupTypes ()

Redefinition of:
CourseManagementManager::getCourseGroupTypes()
Get all the CourseGroupTypes supported by this implementation.
getCourseOffering (line 535)

Get a CourseOffering by unique Id.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object CourseOffering getCourseOffering (mixed $courseOfferingId, object Id $courseOfferingId )
  • object Id $courseOfferingId

Redefinition of:
CourseManagementManager::getCourseOffering()
Get a CourseOffering by unique Id.
getCourseOfferings (line 659)

Get all the Offerings in which the specified Agent is enrolled.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object CourseOfferingIterator getCourseOfferings (mixed $agentId, object Id $agentId )
  • object Id $agentId

Redefinition of:
CourseManagementManager::getCourseOfferings()
Get all the Offerings in which the specified Agent is enrolled.
getCourseSection (line 574)

Get a CourseSection by unique Id.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object CourseSection getCourseSection (mixed $courseSectionId, object Id $courseSectionId )
  • object Id $courseSectionId

Redefinition of:
CourseManagementManager::getCourseSection()
Get a CourseSection by unique Id.
getCourseSections (line 607)

Get all the Sections in which the specified Agent is enrolled.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object CourseSectionIterator getCourseSections (mixed $agentId, object Id $agentId )
  • object Id $agentId

Redefinition of:
CourseManagementManager::getCourseSections()
Get all the Sections in which the specified Agent is enrolled.
getCourseStatusTypes (line 981)

Get all the defined Canonical Course Status Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getCourseStatusTypes ()

Redefinition of:
CourseManagementManager::getCourseStatusTypes()
Get all the defined Canonical Course Status Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.
getCourseTypes (line 953)

Get all the defined Course Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getCourseTypes ()

Redefinition of:
CourseManagementManager::getCourseTypes()
Get all the defined Course Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.
getEnrollmentStatusTypes (line 1110)

Get all the defined Enrollment Status Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getEnrollmentStatusTypes ()

Redefinition of:
CourseManagementManager::getEnrollmentStatusTypes()
Get all the defined Enrollment Status Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.
getOfferingStatusTypes (line 1008)

Get all the defined Course Offering Status Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getOfferingStatusTypes ()

Redefinition of:
CourseManagementManager::getOfferingStatusTypes()
Get all the defined Course Offering Status Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.
getOfferingTypes (line 1059)

Get all the defined Offering Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getOfferingTypes ()

Redefinition of:
CourseManagementManager::getOfferingTypes()
Get all the defined Offering Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.
getOsidContext (line 245)

Return context of this OsidManager.

  • access: public
  • throws: object OsidException
object OsidContext getOsidContext ()

Redefinition of:
OsidManager::getOsidContext()
Return context of this OsidManager.
getSectionStatusTypes (line 1034)

Get all the defined Course Section Status Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getSectionStatusTypes ()

Redefinition of:
CourseManagementManager::getSectionStatusTypes()
Get all the defined Course Section Status Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.
getSectionTypes (line 1084)

Get all the defined Section Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getSectionTypes ()

Redefinition of:
CourseManagementManager::getSectionTypes()
Get all the defined Section Types. These Types are meaningful to the implementation and applications and are not specified by the OSID.
getTerm (line 836)

Get a Term by unique Id.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object Term getTerm (mixed $termId, object Id $termId )
  • object Id $termId

Redefinition of:
CourseManagementManager::getTerm()
Get a Term by unique Id.
getTerms (line 861)

Get all the Terms.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TermIterator getTerms ()

Redefinition of:
CourseManagementManager::getTerms()
Get all the Terms.
getTermsByDate (line 904)

Get all the Terms that contain this date.

The implementation is probably pretty slow. If I was convinced it was more useful, I might make it faster.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TermIterator getTermsByDate (mixed $date, int $date )
  • int $date

Redefinition of:
CourseManagementManager::getTermsByDate()
Get all the Terms that contain this date.
getTermTypes (line 1161)

Get all the TermTypes.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getTermTypes ()

Redefinition of:
CourseManagementManager::getTermTypes()
Get all the TermTypes.
supportsUpdate (line 1620)

This method indicates whether this implementation supports

CourseManagementManager methods: createCanonicalCourse, createCourseGradeRecord, createCourseGroup, createTerm, deleteCanonicalCourse, deleteCourseGradeRecord, deleteCourseGroup, deleteTerm. CanonicalCourse methods: addEquivalentCourse, addTopic, createCanonicalCourse, createCourseOffering, deleteCourseOffering. CourseGroup methods: addCourse, removeCourse, updateDisplayName. CourseOffering methods: addAsset, addStudent, createCourseSection, deleteCourseSection, removeAsset, removeStudent, updateCourseGradeType, updateDescription, updateDisplayName, updateStatus, updateTitle. CourseSection methods: addAsset, addStudent, changeStudent.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
boolean supportsUpdate ()

Redefinition of:
CourseManagementManager::supportsUpdate()
This method indicates whether this implementation supports
_getField (line 1842)

Given the object in table $table with id $id, get the field with name $key

  • access: private
string _getField (object Id $id, string $table, string $key)
  • object Id $id: The Id of the object in question
  • string $table: The table that our object resides in
  • string $key: The name of the field
_getType (line 1683)

For object in table $table with id $id, get the Type with type $typename

  • access: private
object Type _getType (object Id $id, string $table, string $typename)
  • object Id $id: the Id of the object in question
  • string $table: the table our object resides in
  • string $typename: the type of Type to get
_getTypes (line 1639)

Get all the Types from the table specified

  • access: private
object HarmoniTypeIterator _getTypes (string $typename)
  • string $typename: the type of Types to get
_indexToType (line 1705)

For get the Type with type $typename with id $index

  • access: private
object Type _indexToType (string $index, string $typename)
  • string $index: the index of the type
  • string $typename: the type of Type to get
_setField (line 1817)

Given the object in table $table with id $id, change the field with name $key to $value

  • access: private
void _setField (object Id $id, string $table, string $key, mixed $value)
  • object Id $id: The Id of the object in question
  • string $table: The table that our object resides in
  • string $key: The name of the field
  • mixed $value: The value to pass in
_typeToIndex (line 1747)

Find the index for our Type of type $type in its table. If it is not there, put it into the table and return the index.

  • access: private
object Type _typeToIndex (string $typename, object Type $type)
  • string $typename: the type of Type that is passed in.
  • object Type $type: the Type itself

Inherited Methods

Inherited From CourseManagementManager

CourseManagementManager::createCanonicalCourse()
CourseManagementManager::createCourseGradeRecord()
CourseManagementManager::createCourseGroup()
CourseManagementManager::createTerm()
CourseManagementManager::deleteCanonicalCourse()
CourseManagementManager::deleteCourseGradeRecord()
CourseManagementManager::deleteCourseGroup()
CourseManagementManager::deleteTerm()
CourseManagementManager::getCanonicalCourse()
CourseManagementManager::getCanonicalCourses()
CourseManagementManager::getCanonicalCoursesByType()
CourseManagementManager::getCourseGradeRecords()
CourseManagementManager::getCourseGradeTypes()
CourseManagementManager::getCourseGroup()
CourseManagementManager::getCourseGroups()
CourseManagementManager::getCourseGroupsByType()
CourseManagementManager::getCourseGroupTypes()
CourseManagementManager::getCourseOffering()
CourseManagementManager::getCourseOfferings()
CourseManagementManager::getCourseSection()
CourseManagementManager::getCourseSections()
CourseManagementManager::getCourseStatusTypes()
CourseManagementManager::getCourseTypes()
CourseManagementManager::getEnrollmentStatusTypes()
CourseManagementManager::getOfferingStatusTypes()
CourseManagementManager::getOfferingTypes()
CourseManagementManager::getSectionStatusTypes()
CourseManagementManager::getSectionTypes()
CourseManagementManager::getTerm()
CourseManagementManager::getTerms()
CourseManagementManager::getTermsByDate()
CourseManagementManager::getTermTypes()
CourseManagementManager::supportsUpdate()

Inherited From OsidManager

OsidManager::assignConfiguration()
OsidManager::assignOsidContext()
OsidManager::getOsidContext()
OsidManager::osidVersion_2_0()

Documentation generated on Wed, 19 Sep 2007 10:22:17 -0400 by phpDocumentor 1.3.0RC3