OSID Logo
OSID Specifications
subscription rules package
Version 3.1.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.TypesubscriptionEnablerRecordType the type of subscription enabler record to retrieve
Returnosid.subscription.rules.records.SubscriptionEnablerRecord the subscription enabler record
ErrorsNULL_ARGUMENT subscriptionEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(subscriptionEnablerRecordType) is false
Compliancemandatory This method must be implemented.