OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.StepForm
Implementsosid.OsidRuleForm
osid.OsidSubjugateableForm
Implemented Byosid.workflow.batch.StepBatchForm
Used Byosid.workflow.StepAdminSession
Description

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

MethodgetInputStatesMetadata
Description

Gets the metadata for the input states.

Returnosid.Metadata metadata for the states
Compliancemandatory This method must be implemented.
MethodseInputStates
Description

Sets the input states.

Parametersosid.id.IdListstateIds the new input states
ErrorsINVALID_ARGUMENT stateId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT stateId is null
Compliancemandatory This method must be implemented.
MethodclearInputStates
Description

Removes the input states.

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

Gets the metadata for the next state.

Returnosid.Metadata metadata for the state
Compliancemandatory This method must be implemented.
MethodsetNextState
Description

Sets the next state.

Parametersosid.id.IdstateId the new next state
ErrorsINVALID_ARGUMENT stateId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT stateId is null
Compliancemandatory This method must be implemented.
MethodclearNextState
Description

Removes the next state.

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

Gets the StepFormRecord corresponding to the given step record Type.

Parametersosid.type.TypestepRecordType a step record type
Returnosid.workflow.records.StepFormRecord the step form record
ErrorsNULL_ARGUMENT stepRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(stepRecordType) is false
Compliancemandatory This method must be implemented.