OSID Logo
OSID Specifications
subscription package
Version 3.0.0
Interfaceosid.subscription.DispatchForm
Implementsosid.OsidGovernatorForm
Implemented Byosid.subscription.batch.DispatchBatchForm
Used Byosid.subscription.DispatchAdminSession
Description

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

MethodgetEditorsMetadata
Description

Gets the metadata for the editors.

Returnosid.Metadatametadata for the editors
CompliancemandatoryThis method must be implemented.
MethodsetEditors
Description

Sets the editors.

Parametersosid.id.IdListeditorIdsthe new editors
ErrorsINVALID_ARGUMENTeditorIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTeditorIds is null
CompliancemandatoryThis method must be implemented.
MethodclearEditors
Description

Removes the editors.

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

Gets the DispatchFormRecord corresponding to the given dispatch record Type .

Parametersosid.type.TypedispatchRecordTypethe dispatch record type
Returnosid.subscription.records.DispatchFormRecordthe dispatch form record
ErrorsNULL_ARGUMENTdispatchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(dispatchRecordType) is false
CompliancemandatoryThis method must be implemented.