OSID Logo
OSID Specifications
calendaring package
Version 3.0.0
Interfaceosid.calendaring.ScheduleSlotForm
Implementsosid.OsidObjectForm
osid.OsidContainableForm
Implemented Byosid.calendaring.batch.ScheduleSlotBatchForm
Used Byosid.calendaring.ScheduleSlotAdminSession
Description

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

MethodgetWeekdayMetadata
Description

Gets the metadata for the weekdays of a weekly schedule.

Returnosid.Metadatametadata for the weekday
CompliancemandatoryThis method must be implemented.
MethodsetWeekdays
Description

Sets the weekdays of a weekly schedule.

Parameterscardinal[]weekdaysthe new weekday set
ErrorsINVALID_ARGUMENTweekdays is invalid
NO_ACCESSweekdays cannot be modified
NULL_ARGUMENTweekdays is null
CompliancemandatoryThis method must be implemented.
MethodgetWeeklyIntervalMetadata
Description

Gets the metadata for the interval of a weekly schedule.

Returnosid.Metadatametadata for the weekly interval
CompliancemandatoryThis method must be implemented.
MethodsetWeeklyInterval
Description

Sets the interval of a weekly schedule.

Parametersintegerintervalthe new weekly interval
ErrorsINVALID_ARGUMENTinterval is invalid
NO_ACCESSinterval cannot be modified
CompliancemandatoryThis method must be implemented.
MethodgetWeekOfMonthMetadata
Description

Gets the metadata for the week of the month of a weekly schedule.

Returnosid.Metadatametadata for the week of the month
CompliancemandatoryThis method must be implemented.
MethodsetWeekOfMonth
Description

Sets the week of the month of a weekly schedule.

Parametersintegerweekthe new week of the month
ErrorsINVALID_ARGUMENTweek is invalid
NO_ACCESSweek cannot be modified
CompliancemandatoryThis method must be implemented.
MethodgetWeekdayTimeMetadata
Description

Gets the metadata for the weekday time of a weekly schedule.

Returnosid.Metadatametadata for the weekday time
CompliancemandatoryThis method must be implemented.
MethodsetWeekdayTime
Description

Sets the weekday time of a weekly schedule.

Parametersosid.calendaring.Timetimethe new time
ErrorsINVALID_ARGUMENTtime is invalid
NO_ACCESStime cannot be modified
NULL_ARGUMENTtime is null
CompliancemandatoryThis method must be implemented.
MethodclearWeekdaySchedule
Description

Clears the weekday schedule items.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetFixedIntervalMetadata
Description

Gets the metadata for the fixed interval.

Returnosid.Metadatametadata for the fixed interval.
CompliancemandatoryThis method must be implemented.
MethodsetFixedInterval
Description

Sets the fixed interval.

Parametersosid.calendaring.Durationintervalthe new fixed interval
ErrorsINVALID_ARGUMENTinterval is invalid
NO_ACCESSinterval cannot be modified
NULL_ARGUMENTinterval is null
CompliancemandatoryThis method must be implemented.
MethodclearFixedInterval
Description

Clears the fixed interval items.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetDurationMetadata
Description

Gets the metadata for the duration of the slot.

Returnosid.Metadatametadata for the duration
CompliancemandatoryThis method must be implemented.
MethodsetDuration
Description

Sets the duration.

Parametersosid.calendaring.Durationdurationthe new duration
ErrorsINVALID_ARGUMENTduration is invalid
NO_ACCESSduration cannot be modified
NULL_ARGUMENTduration is null
CompliancemandatoryThis method must be implemented.
MethodclearDuration
Description

Clears the duration terms.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetScheduleSlotFormRecord
Description

Gets the ScheduleSlotFormRecord corresponding to the given schedule record Type .

Parametersosid.type.TypescheduleSlotRecordTypethe schedule slot record type
Returnosid.calendaring.records.ScheduleSlotFormRecordthe schedule slot form record
ErrorsNULL_ARGUMENTscheduleSlotRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(scheduleSlotRecordType) is false
CompliancemandatoryThis method must be implemented.