OSID Logo
OSID Specifications
repository rules package
Version 3.1.0
Interfaceosid.repository.rules.CompositionEnabler
Implementsosid.OsidEnabler
Used Byosid.repository.rules.CompositionEnablerAdminSession
osid.repository.rules.CompositionEnablerList
osid.repository.rules.CompositionEnablerLookupSession
Description

A CompositionEnabler describes the rules for making Compositions visible in the composition hierarchy.

MethodgetCompositionEnablerRecord
Description

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

Parametersosid.type.TypecompositionEnablerRecordType the type of composition enabler record to retrieve
Returnosid.repository.rules.records.CompositionEnablerRecord the composition enabler record
ErrorsNULL_ARGUMENT compositionEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(compositionEnablerRecordType) is false
Compliancemandatory This method must be implemented.