OSID Logo
OSID Specifications
authorization package
Version 3.0.0
Release Candidate Preview
Interfaceosid.authorization.AuthorizationCondition
Implementsosid.OsidCondition
Description

An authorization condition interface.

MethodgetAuthorizationConditionRecord
Description

Gets the authorization condition record corresponding to the given AuthorizationCondition record Type. This method is used to retrieve an object implementing the requested record. The authorizationConditionRecordType may be the Type returned in getConditionRecordTypes() or any of its parents in a Type hierarchy where hasConditionRecordType(authorizationConditionRecordType) is true .

Parametersosid.type.TypeauthorizationConditionRecordTypean authorization condition record type
Returnosid.authorization.records.AuthorizationConditionRecordthe authorization condition record
ErrorsNULL_ARGUMENT authorizationConditionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(authorizationConditionRecordType) is false
CompliancemandatoryThis method must be implemented.