OSID Logo
OSID Specifications
course package
Version 3.1.0
Interfaceosid.course.ActivityForm
Implementsosid.OsidRelationshipForm
osid.OsidSubjugateableForm
Implemented Byosid.course.batch.ActivityBatchForm
Used Byosid.course.ActivityAdminSession
Description

This is the form for creating and updating Activities. Like all OsidForms, various data elements may be set here for use in the create and update methods in the ActivityAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetInstructorsMetadata
Description

Gets the metadata for the instructors.

Returnosid.Metadata metadata for the instructors
Compliancemandatory This method must be implemented.
MethodsetInstructors
Description

Sets the instructors.

Parametersosid.id.Id[]resourceIds the new instructors
ErrorsINVALID_ARGUMENT instructorIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT instructorIds is null
Compliancemandatory This method must be implemented.
MethodclearInstructors
Description

Removes the instructors.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetMinimumSeatsMetadata
Description

Gets the metadata for the minimum seats.

Returnosid.Metadata metadata for the minimum seats
Compliancemandatory This method must be implemented.
MethodsetMinimumSeats
Description

Sets the minimum seating count.

Parameterscardinalseats the new minimum seats
ErrorsINVALID_ARGUMENT seats is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMinimumSeats
Description

Removes the minimum seats.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetMaximumSeatsMetadata
Description

Gets the metadata for the maximum seats.

Returnosid.Metadata metadata for the maximum seats
Compliancemandatory This method must be implemented.
MethodsetMaximumSeats
Description

Sets the maximum seating count.

Parameterscardinalseats the new maximum seats
ErrorsINVALID_ARGUMENT seats is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMaximumSeats
Description

Removes the maximum seats.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetTotalEffortMatadata
Description

Gets the metadata for the total effort. The amount may be calculated from the other data.

Returnosid.Metadata metadata for the total effort
Compliancemandatory This method must be implemented.
MethodsetTotalTargetEffort
Description

Sets the total effort.

Parametersosid.calendaring.Durationtime the new total effort
ErrorsINVALID_ARGUMENT time is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT time is null
Compliancemandatory This method must be implemented.
MethodclearTotalTargetEffort
Description

Removes the total effort.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetContactMetadata
Description

Gets the metadata for the contact flag.

Returnosid.Metadata metadata for the contact
Compliancemandatory This method must be implemented.
MethodsetContact
Description

Sets the contact flag.

Parametersbooleancontact the new contact flag
ErrorsINVALID_ARGUMENT contact is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearContact
Description

Removes the contact flag.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetTotalTargetContactTimeMetadata
Description

Gets the metadata for the total contact time.

Returnosid.Metadata metadata for the total contact time
Compliancemandatory This method must be implemented.
MethodsetTotalTargetContactTime
Description

Sets the total contact time.

Parametersosid.calendaring.Durationtime the new total contact time
ErrorsINVALID_ARGUMENT time is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT time is null
Compliancemandatory This method must be implemented.
MethodclearTotalTargetContactTime
Description

Removes the total contact time.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetTotalTargetIndividualEffortMetadata
Description

Gets the metadata for the total individual effort. The amount may be calculated from the other data.

Returnosid.Metadata metadata for the total individual effort
Compliancemandatory This method must be implemented.
MethodsetTotalTargetIndividualEffort
Description

Sets the total individual effort.

Parametersosid.calendaring.Durationtime the new total individual effort
ErrorsINVALID_ARGUMENT time is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT time is null
Compliancemandatory This method must be implemented.
MethodclearTotalTargetIndividualEffort
Description

Removes the total individual effort.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetRecurringWeeklyMetadata
Description

Gets the metadata for the recurring weekly flag.

Returnosid.Metadata metadata for the contact
Compliancemandatory This method must be implemented.
MethodsetRecurringWeekly
Description

Sets the recurring weekly flag.

Parametersbooleanrecurring the new recurring weekly flag
ErrorsINVALID_ARGUMENT recurring is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearRecurringWeekly
Description

Removes the recurring weekly flag.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetWeeklyEffortMetadata
Description

Gets the metadata for the weekly effort. The amount may be calculated from the other data.

Returnosid.Metadata metadata for the weekly effort
Compliancemandatory This method must be implemented.
MethodsetWeeklyEffort
Description

Sets the weekly effort.

Parametersosid.calendaring.Durationtime the new weekly effort
ErrorsINVALID_ARGUMENT time is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT time is null
Compliancemandatory This method must be implemented.
MethodclearWeeklyEffort
Description

Removes the weekly effort.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetWeeklyContactTimeMetadata
Description

Gets the metadata for the weekly contact time.

Returnosid.Metadata metadata for the weekly contact time
Compliancemandatory This method must be implemented.
MethodsetWeeklyContactTime
Description

Sets the weekly contact time.

Parametersosid.calendaring.Durationtime the new weekly contact time
ErrorsINVALID_ARGUMENT time is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT time is null
Compliancemandatory This method must be implemented.
MethodclearWeeklyContactTime
Description

Removes the weekly contact time.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetWeeklyIndividualEffortMetadata
Description

Gets the metadata for the weekly individual effort. The amount may be calculated from the other data.

Returnosid.Metadata metadata for the weekly individual effort
Compliancemandatory This method must be implemented.
MethodsetWeeklyIndividualEffort
Description

Sets the weekly individual effort.

Parametersosid.calendaring.Durationtime the new weekly individual effort
ErrorsINVALID_ARGUMENT time is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT time is null
Compliancemandatory This method must be implemented.
MethodclearWeeklyIndividualEffort
Description

Removes the weekly individual effort.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetActivityFormRecord
Description

Gets the ActivityFormRecord corresponding to the given activity record Type.

Parametersosid.type.TypeactivityRecordType an activity record type
Returnosid.course.records.ActivityFormRecord the activity form record
ErrorsNULL_ARGUMENT activityRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(activityRecordType) is false
Compliancemandatory This method must be implemented.