public interface Activity extends OsidRelationship, Subjugateable
An Activity
represents a recurring activity of a course
offering.
Modifier and Type | Method and Description |
---|---|
ActivityRecord |
getActivityRecord(Type activityRecordType)
Gets the activity record corresponding to the given
Activity
record Type. |
ActivityUnit |
getActivityUnit()
Gets the activity unit associated with this activity.
|
Id |
getActivityUnitId()
Gets the activity unit
Id associated with this
activity. |
DateTimeIntervalList |
getBlackouts()
Gets the blackout dates for this activity.
|
CourseOffering |
getCourseOffering()
Gets the course offering associated with this activity.
|
Id |
getCourseOfferingId()
Gets the course offering
Id associated with this
activity. |
IdList |
getInstructorIds()
Gets the instructor
Ids. |
ResourceList |
getInstructors()
Gets the instructors.
|
long |
getMaximumSeats()
Gets the maximum number of students this activity can accommodate.
|
long |
getMinimumSeats()
Gets the minimum number of students this activity can have.
|
IdList |
getScheduleIds()
Gets the schedule
Ids associated with this activity. |
ScheduleList |
getSchedules()
Gets the schedules associated with this activity.
|
MeetingTimeList |
getSpecificMeetingTimes()
Gets the specific meeting times added to this activity.
|
ActivityList |
getSupersedingActivities()
Gets the superseding activities whose sessions that override sessions
of this activity.
|
IdList |
getSupersedingActivityIds()
Gets the superseding activity
Ids whose sessions
override sessions of this activity. |
Term |
getTerm()
Gets the
Term of this offering. |
Id |
getTermId()
Gets the
Id of the Term of this
offering. |
Duration |
getTotalTargetContactTime()
Gets the total contact time for this activity.
|
Duration |
getTotalTargetEffort()
Gets the total time required for this activity.
|
Duration |
getTotalTargetIndividualEffort()
Gets the total individual time required for this activity.
|
Duration |
getWeeklyContactTime()
Gets the weekly contact time for ths activity.
|
Duration |
getWeeklyEffort()
Gets the time required for this recurring effort on a weekly basis.
|
Duration |
getWeeklyIndividualEffort()
Gets the weekly individual time for ths activity.
|
boolean |
isContact()
Tests if this is a contact activity.
|
boolean |
isImplicit()
Tests if this is a an implicit or explicit activity.
|
boolean |
isRecurringWeekly()
Tests if this activity is recurring.
|
boolean |
isSeatingLimited()
Tests if seating is limited.
|
boolean |
requiresRegistration()
Tests if registration is required.
|
getEndReason, getEndReasonId, hasEndReason
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getEndDate, getStartDate, isEffective
Id getActivityUnitId()
Id
associated with this
activity. Id
mandatory
- This method must be implemented. ActivityUnit getActivityUnit() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getCourseOfferingId()
Id
associated with this
activity. Id
mandatory
- This method must be implemented. CourseOffering getCourseOffering() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getTermId()
Id
of the Term
of this
offering. Term
Id
mandatory
- This method must be implemented. Term getTerm() throws OperationFailedException
Term
of this offering.OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean isImplicit()
true
if this is an implicit activity,
false
if an explicit activitymandatory
- This method must be implemented. IdList getScheduleIds()
Ids
associated with this activity. Ids
mandatory
- This method must be implemented. ScheduleList getSchedules() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. IdList getSupersedingActivityIds()
Ids
whose sessions
override sessions of this activity. Ids
mandatory
- This method must be implemented. ActivityList getSupersedingActivities() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. MeetingTimeList getSpecificMeetingTimes()
mandatory
- This method must be implemented. DateTimeIntervalList getBlackouts()
mandatory
- This method must be implemented. IdList getInstructorIds()
Ids.
If each activity has its own
instructor, the headlining instructors may be returned. Ids
mandatory
- This method must be implemented. ResourceList getInstructors() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean requiresRegistration()
true
if this is a registration is required,
false
otherwisemandatory
- This method must be implemented. long getMinimumSeats()
mandatory
- This method must be implemented. boolean isSeatingLimited()
true
if this is a seating is limited,
false
otherwisemandatory
- This method must be implemented. long getMaximumSeats()
IllegalStateException
- isSeatingLimited()
is false
mandatory
- This method must be implemented. Duration getTotalTargetEffort()
mandatory
- This method must be implemented. boolean isContact()
true
if this is a contact activity,
false
if an independent activitymandatory
- This method must be implemented. Duration getTotalTargetContactTime()
mandatory
- This method must be implemented. Duration getTotalTargetIndividualEffort()
mandatory
- This method must be implemented. boolean isRecurringWeekly()
true
if this activity is recurring,
false
otherwisemandatory
- This method must be implemented. Duration getWeeklyEffort()
IllegalStateException
- isRecurringWeekly()
is false
mandatory
- This method must be implemented. Duration getWeeklyContactTime()
IllegalStateException
- isRecurringWeekly()
is false
mandatory
- This method must be implemented. Duration getWeeklyIndividualEffort()
IllegalStateException
- isRecurringWeekly()
is false
mandatory
- This method must be implemented. ActivityRecord getActivityRecord(Type activityRecordType) throws OperationFailedException
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
.activityRecordType
- the type of activity record to retrieveNullArgumentException
- activityRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(activityRecordType)
is false
mandatory
- This method must be implemented.