OSID Logo
OSID Specifications
workflow rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.workflow.rules.StepConstrainer
Implementsosid.OsidConstrainer
Description

A StepConstrainer describes the rules for constraining the workflow requests in a step.

MethodgetStepConstrainerRecord
Description

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

Parametersosid.type.TypestepConstrainerRecordTypethe type of step constrainer record to retrieve
Returnosid.workflow.rules.records.StepConstrainerRecordthe step constrainer record
ErrorsNULL_ARGUMENT stepConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(stepConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.