OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.ProcessForm
Implementsosid.OsidGovernatorForm
Implemented Byosid.workflow.batch.ProcessBatchForm
Used Byosid.workflow.ProcessAdminSession
Description

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

MethodgetOwnersMetadata
Description

Gets the metadata for the owners.

Returnosid.Metadata metadata for the owners
Compliancemandatory This method must be implemented.
MethodsetOwners
Description

Sets the owners.

Parametersosid.id.IdListownerIds the new owners
ErrorsINVALID_ARGUMENT ownerIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT ownerIds is null
Compliancemandatory This method must be implemented.
MethodclearOwners
Description

Removes the owners.

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

Gets the metadata for the enabled flag.

Returnosid.Metadata metadata for the enabled flag
Compliancemandatory This method must be implemented.
MethodsetEnabled
Description

Sets the enabled flag.

Parametersbooleanenabled the new enabled flag
ErrorsINVALID_ARGUMENT enabled is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearEnabled
Description

Removes the enabled flag.

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

Gets the metadata for the initial step.

Returnosid.Metadata metadata for the initial step
Compliancemandatory This method must be implemented.
MethodsetInitialStep
Description

Sets the initial step.

Parametersosid.id.IdstepId the new initial step
ErrorsINVALID_ARGUMENT stepId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT stepId is null
Compliancemandatory This method must be implemented.
MethodclearInitialStep
Description

Removes the initial step.

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

Gets the metadata for the initial state.

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

Sets the initial state.

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

Removes the initial state.

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

Gets the ProcessFormRecord corresponding to the given process record Type.

Parametersosid.type.TypeprocessRecordType a process record type
Returnosid.workflow.records.ProcessFormRecord the process form record
ErrorsNULL_ARGUMENT processRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(processRecordType) is false
Compliancemandatory This method must be implemented.