OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.Process
Implementsosid.OsidGovernator
Used Byosid.workflow.ProcessAdminSession
osid.workflow.ProcessList
osid.workflow.ProcessLookupSession
osid.workflow.Step
osid.workflow.event.WorkflowEvent
Description

A Process.

MethodgetOwnerIds
Description

Gets the Ids of the owners.

Returnosid.id.IdList the owner Ids
Compliancemandatory This method must be implemented.
MethodgetOwners
Description

Gets the owners.

Returnosid.resource.ResourceList the owners
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodisEnabled
Description

Tests if this process is enabled.

Returnboolean true if this process is enabled, false otherwise
Compliancemandatory This method must be implemented.
MethodgetInitialStepId
Description

Gets the Id of the initial step of this process. All work goes through an initial step.

Returnosid.id.Id the step Id
Compliancemandatory This method must be implemented.
MethodgetInitialStep
Description

Gets the initial step of this process.

Returnosid.workflow.Step the step
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetInitialStateId
Description

Gets the Id of the initial state of the work upon entering this process. The initial state is used to assign the work to an initial step that has this state as an initial state.

Returnosid.id.Id the state Id
Compliancemandatory This method must be implemented.
MethodgetInitialState
Description

Gets the initial state of the work upon entering this process. The initial state is used to assign the work to an initial step that has this state as an initial state.

Returnosid.process.State the state
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetProcessRecord
Description

Gets the process record corresponding to the given Process record Type.This method is used to retrieve an object implementing the requested record. The processRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(processRecordType) is true.

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