OSID Logo
OSID Specifications
course package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.Activity
Implementsosid.OsidRelationship
osid.Subjugateable
Description

An Activity represents a recurring activity of a course offering.

MethodgetActivityUnitId
Description

Gets the activity unit Id associated with this activity.

Returnosid.id.Idthe activity unit Id
CompliancemandatoryThis method must be implemented.
MethodgetActivityUnit
Description

Gets the activity unit associated with this activity.

Returnosid.course.ActivityUnitthe activity unit
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetCourseOfferingId
Description

Gets the course offering Id associated with this activity.

Returnosid.id.Idthe course offering Id
CompliancemandatoryThis method must be implemented.
MethodgetCourseOffering
Description

Gets the course offering associated with this activity.

Returnosid.course.CourseOfferingthe course offering
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetTermId
Description

Gets the Id of the Term of this offering.

Returnosid.id.Idthe Term Id
CompliancemandatoryThis method must be implemented.
MethodgetTerm
Description

Gets the Term of this offering.

Returnosid.course.Termthe term
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodisImplicit
Description

Tests if this is a an implicit or explicit activity.

Returnboolean true if this is an implicit activity, false if an explicit activity
CompliancemandatoryThis method must be implemented.
MethodgetScheduleIds
Description

Gets the schedule Ids associated with this activity.

Returnosid.id.IdListthe schedule Ids
CompliancemandatoryThis method must be implemented.
MethodgetSchedules
Description

Gets the schedules associated with this activity.

Returnosid.calendaring.ScheduleListthe schedules
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetSupersedingActivityIds
Description

Gets the superseding activity Ids whose sessions override sessions of this activity.

Returnosid.id.IdListthe superseding activity Ids
CompliancemandatoryThis method must be implemented.
MethodgetSupersedingActivities
Description

Gets the superseding activities whose sessions that override sessions of this activity.

Returnosid.course.ActivityListthe superseding activities
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetSpecificMeetingTimes
Description

Gets the specific meeting times added to this activity.

Returnosid.calendaring.MeetingTimeLista list of specific meeting times
CompliancemandatoryThis method must be implemented.
MethodgetBlackouts
Description

Gets the blackout dates for this activity. Activitiy sessions overlapping with the time intervals do not appear in the series.

Returnosid.calendaring.DateTimeIntervalListthe exceptions to the scheduled activity
CompliancemandatoryThis method must be implemented.
MethodgetInstructorIds
Description

Gets the instructor Ids. If each activity has its own instructor, the headlining instructors may be returned.

Returnosid.id.IdListthe instructor Ids
CompliancemandatoryThis method must be implemented.
MethodgetInstructors
Description

Gets the instructors. If each activity has its own instructor, the headlining instructors may be returned.

Returnosid.resource.ResourceListthe sponsors
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodrequiresRegistration
Description

Tests if registration is required.

Returnboolean true if this is a registration is required, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMinimumSeats
Description

Gets the minimum number of students this activity can have.

Returncardinalthe minimum seats
CompliancemandatoryThis method must be implemented.
MethodisSeatingLimited
Description

Tests if seating is limited.

Returnboolean true if this is a seating is limited, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMaximumSeats
Description

Gets the maximum number of students this activity can accommodate.

Returncardinalthe maximum seats
ErrorsILLEGAL_STATE isSeatingLimited() is false
CompliancemandatoryThis method must be implemented.
MethodgetTotalTargetEffort
Description

Gets the total time required for this activity.

Returnosid.calendaring.Durationthe total effort
CompliancemandatoryThis method must be implemented.
MethodisContact
Description

Tests if this is a contact activity.

Returnboolean true if this is a contact activity, false if an independent activity
CompliancemandatoryThis method must be implemented.
MethodgetTotalTargetContactTime
Description

Gets the total contact time for this activity.

Returnosid.calendaring.Durationthe total effort
CompliancemandatoryThis method must be implemented.
MethodgetTotalTargetIndividualEffort
Description

Gets the total individual time required for this activity.

Returnosid.calendaring.Durationthe total individual effort
CompliancemandatoryThis method must be implemented.
MethodisRecurringWeekly
Description

Tests if this activity is recurring.

Returnboolean true if this activity is recurring, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetWeeklyEffort
Description

Gets the time required for this recurring effort on a weekly basis.

Returnosid.calendaring.Durationthe weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
CompliancemandatoryThis method must be implemented.
MethodgetWeeklyContactTime
Description

Gets the weekly contact time for ths activity.

Returnosid.calendaring.Durationthe weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
CompliancemandatoryThis method must be implemented.
MethodgetWeeklyIndividualEffort
Description

Gets the weekly individual time for ths activity.

Returnosid.calendaring.Durationthe weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
CompliancemandatoryThis method must be implemented.
MethodgetActivityRecord
Description

Gets the activity record corresponding to the given Activity record Type. This method is used to retrieve an object implementing the requested record. The activityRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(activityRecordType) is true .

Parametersosid.type.TypeactivityRecordTypethe type of activity record to retrieve
Returnosid.course.records.ActivityRecordthe activity record
ErrorsNULL_ARGUMENT activityRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(activityRecordType) is false
CompliancemandatoryThis method must be implemented.