OSID Logo
OSID Specifications
control rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.control.rules.ActionEnabler
Implementsosid.OsidEnabler
Description

An ActionEnabler describes the rules for making an ControlConstrainer effective.

MethodgetActionEnablerRecord
Description

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

Parametersosid.type.TypeactionEnablerRecordTypethe type of action enabler record to retrieve
Returnosid.control.rules.records.ActionEnablerRecordthe action enabler record
ErrorsNULL_ARGUMENT actionEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(actionEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.