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

Sets the editors.

Parametersosid.id.IdListeditorIds the new editors
ErrorsINVALID_ARGUMENT editorIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT editorIds is null
Compliancemandatory This method must be implemented.
MethodclearEditors
Description

Removes the editors.

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

Gets the DispatchFormRecord corresponding to the given dispatch record Type.

Parametersosid.type.TypedispatchRecordType the dispatch record type
Returnosid.subscription.records.DispatchFormRecord the dispatch form record
ErrorsNULL_ARGUMENT dispatchRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(dispatchRecordType) is false
Compliancemandatory This method must be implemented.