OSID Logo
OSID Specifications
authorization package
Version 3.1.0
Interfaceosid.authorization.Function
Implementsosid.OsidRule
Used Byosid.authorization.Authorization
osid.authorization.FunctionAdminSession
osid.authorization.FunctionList
osid.authorization.FunctionLookupSession
osid.rules.check.Check
Description

A Function represents an authenticatable identity. Like all OSID objects, a Function is identified by its Id and any persisted references should use the Id. A rule associated with the Function specifies conditions that can be supplied to authorization checks.

MethodgetQualifierHierarchyId
Description

Gets the qualifier hierarchy Id for this function.

Returnosid.id.Id the qualifier hierarchy Id
Compliancemandatory This method must be implemented.
MethodgetQualifierHierarchy
Description

Gets the qualifier hierarchy for this function.

Returnosid.hierarchy.Hierarchy the qualifier hierarchy
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetFunctionRecord
Description

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

Parametersosid.type.TypefunctionRecordType the type of the record to retrieve
Returnosid.authorization.records.FunctionRecord the function record
ErrorsNULL_ARGUMENT functionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(functionRecordType) is false
Compliancemandatory This method must be implemented.