OSID Logo
OSID Specifications
calendaring package
Version 3.1.0
Interfaceosid.calendaring.EventForm
Implementsosid.OsidObjectForm
osid.OsidTemporalForm
osid.OsidContainableForm
Implemented Byosid.calendaring.batch.EventBatchForm
Used Byosid.calendaring.EventAdminSession
Description

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

MethodgetLocationDescriptionMetadata
Description

Gets the metadata for a location description.

Returnosid.Metadata metadata for the location description
Compliancemandatory This method must be implemented.
MethodsetLocationDescription
Description

Sets the location description.

Parametersstringlocation the new location description
ErrorsINVALID_ARGUMENT location is invalid
NO_ACCESS location cannot be modified
NULL_ARGUMENT location is null
Compliancemandatory This method must be implemented.
MethodclearLocationDescription
Description

Clears the location description.

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

Gets the metadata for a location.

Returnosid.Metadata metadata for the location
Compliancemandatory This method must be implemented.
MethodsetLocation
Description

Sets the location.

Parametersosid.id.IdlocationId the new location
ErrorsINVALID_ARGUMENT locationId is invalid
NO_ACCESS locationId cannot be modified
NULL_ARGUMENT locationId is null
Compliancemandatory This method must be implemented.
MethodclearLocation
Description

Clears the location.

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

Gets the metadata for a sponsor.

Returnosid.Metadata metadata for the sponsor
Compliancemandatory This method must be implemented.
MethodsetSponsors
Description

Sets the sponsors.

Parametersosid.id.Id[]sponsorIds the new sponsor
ErrorsINVALID_ARGUMENT sponsorIds is invalid
NO_ACCESS sponsorIds cannot be modified
NULL_ARGUMENT sponsorIds is null
Compliancemandatory This method must be implemented.
MethodclearSponsors
Description

Clears the sponsors.

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

Gets the EventFormRecord corresponding to the given event record Type.

Parametersosid.type.TypeeventRecordType the event record type
Returnosid.calendaring.records.EventFormRecord the event form record
ErrorsNULL_ARGUMENT eventRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(eventRecordType) is false
Compliancemandatory This method must be implemented.