OSID Logo
OSID Specifications
rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.rules.RuleForm
Implementsosid.OsidForm
Description

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

MethodgetRuleFormRecord
Description

Gets the RuleFormRecord corresponding to the given rule record Type.

Parametersosid.type.TyperuleRecordTypethe rule record type
Returnosid.rules.records.RuleFormRecordthe record
ErrorsNULL_ARGUMENT ruleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(ruleRecordType) is false
CompliancemandatoryThis method must be implemented.