OSID Logo
OSID Specifications
calendaring package
Version 3.1.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.Metadata metadata for the weekday
Compliancemandatory This method must be implemented.
MethodsetWeekdays
Description

Sets the weekdays of a weekly schedule.

Parameterscardinal[]weekdays the new weekday set
ErrorsINVALID_ARGUMENT weekdays is invalid
NO_ACCESS weekdays cannot be modified
NULL_ARGUMENT weekdays is null
Compliancemandatory This method must be implemented.
MethodgetWeeklyIntervalMetadata
Description

Gets the metadata for the interval of a weekly schedule.

Returnosid.Metadata metadata for the weekly interval
Compliancemandatory This method must be implemented.
MethodsetWeeklyInterval
Description

Sets the interval of a weekly schedule.

Parametersintegerinterval the new weekly interval
ErrorsINVALID_ARGUMENT interval is invalid
NO_ACCESS interval cannot be modified
Compliancemandatory This method must be implemented.
MethodgetWeekOfMonthMetadata
Description

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

Returnosid.Metadata metadata for the week of the month
Compliancemandatory This method must be implemented.
MethodsetWeekOfMonth
Description

Sets the week of the month of a weekly schedule.

Parametersintegerweek the new week of the month
ErrorsINVALID_ARGUMENT week is invalid
NO_ACCESS week cannot be modified
Compliancemandatory This method must be implemented.
MethodgetWeekdayTimeMetadata
Description

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

Returnosid.Metadata metadata for the weekday time
Compliancemandatory This method must be implemented.
MethodsetWeekdayTime
Description

Sets the weekday time of a weekly schedule.

Parametersosid.calendaring.Timetime the new time
ErrorsINVALID_ARGUMENT time is invalid
NO_ACCESS time cannot be modified
NULL_ARGUMENT time is null
Compliancemandatory This method must be implemented.
MethodclearWeekdaySchedule
Description

Clears the weekday schedule items.

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

Gets the metadata for the fixed interval.

Returnosid.Metadata metadata for the fixed interval.
Compliancemandatory This method must be implemented.
MethodsetFixedInterval
Description

Sets the fixed interval.

Parametersosid.calendaring.Durationinterval the new fixed interval
ErrorsINVALID_ARGUMENT interval is invalid
NO_ACCESS interval cannot be modified
NULL_ARGUMENT interval is null
Compliancemandatory This method must be implemented.
MethodclearFixedInterval
Description

Clears the fixed interval items.

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

Gets the metadata for the duration of the slot.

Returnosid.Metadata metadata for the duration
Compliancemandatory This method must be implemented.
MethodsetDuration
Description

Sets the duration.

Parametersosid.calendaring.Durationduration the new duration
ErrorsINVALID_ARGUMENT duration is invalid
NO_ACCESS duration cannot be modified
NULL_ARGUMENT duration is null
Compliancemandatory This method must be implemented.
MethodclearDuration
Description

Clears the duration terms.

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

Gets the ScheduleSlotFormRecord corresponding to the given schedule record Type.

Parametersosid.type.TypescheduleSlotRecordType the schedule slot record type
Returnosid.calendaring.records.ScheduleSlotFormRecord the schedule slot form record
ErrorsNULL_ARGUMENT scheduleSlotRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(scheduleSlotRecordType) is false
Compliancemandatory This method must be implemented.