OSID Logo
OSID Specifications
subscription package
Version 3.0.0
Release Candidate Preview
Interfaceosid.subscription.Publisher
Implementsosid.OsidCatalog
Description

A Publisher represents a collection of subscriptions. Like all OSID objects, a Publisher is identified by its Id and any persisted references should use the Id.

MethodgetPublisherRecord
Description

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

Parametersosid.type.TypepublisherRecordTypethe type of publisher record to retrieve
Returnosid.subscription.records.PublisherRecordthe publisher record
ErrorsNULL_ARGUMENT publisherRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(publisherRecordType) is false
CompliancemandatoryThis method must be implemented.