OSID Logo
OSID Specifications
subscription rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.subscription.rules.SubscriptionEnabler
Implementsosid.OsidEnabler
Description

A SubscriptionEnabler describes the rules for making Subscriptions effective.

MethodgetSubscriptionEnablerRecord
Description

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

Parametersosid.type.TypesubscriptionEnablerRecordTypethe type of subscription enabler record to retrieve
Returnosid.subscription.rules.records.SubscriptionEnablerRecordthe subscription enabler record
ErrorsNULL_ARGUMENT subscriptionEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(subscriptionEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.