OSID Logo
OSID Specifications
subscription rules package
Version 3.0.0
Interfaceosid.subscription.rules.SubscriptionEnabler
Implementsosid.OsidEnabler
Used Byosid.subscription.rules.SubscriptionEnablerAdminSession
osid.subscription.rules.SubscriptionEnablerList
osid.subscription.rules.SubscriptionEnablerLookupSession
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_ARGUMENTsubscriptionEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(subscriptionEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.