OSID Logo
OSID Specifications
course package
Version 3.1.0
Interfaceosid.course.ActivityUnitForm
Implementsosid.OsidObjectForm
osid.OsidOperableForm
osid.OsidSubjugateableForm
Implemented Byosid.course.batch.ActivityUnitBatchForm
Used Byosid.course.ActivityUnitAdminSession
Description

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

MethodgetTotalTargetEffortMetadata
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.
MethodgetLearningObjectivesMetadata
Description

Gets the metadata for a set of learning objectives.

Returnosid.Metadata metadata for the obecjtives
Compliancemandatory This method must be implemented.
MethodsetLearningObjectives
Description

Sets the learning objectives.

Parametersosid.id.Id[]objectiveIds the new obejctives
ErrorsINVALID_ARGUMENT objectiveIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT objectiveIds is null
Compliancemandatory This method must be implemented.
MethodclearLearningObjectives
Description

Removes the learning objectives.

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

Gets the ActivityUnitFormRecord corresponding to the given activity unit record Type.

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