OSID Logo
OSID Specifications
commenting package
Version 3.1.0
Interfaceosid.commenting.Book
Implementsosid.OsidCatalog
Used Byosid.commenting.BookAdminSession
osid.commenting.BookList
osid.commenting.BookLookupSession
osid.commenting.BookNode
osid.commenting.CommentAdminSession
osid.commenting.CommentLookupSession
osid.commenting.CommentNotificationSession
osid.commenting.CommentQuerySession
osid.commenting.CommentSmartBookSession
osid.commenting.RatingLookupSession
Description

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

MethodgetBookRecord
Description

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

Parametersosid.type.TypebookRecordType the type of book record to retrieve
Returnosid.commenting.records.BookRecord the book record
ErrorsNULL_ARGUMENT bookRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(bookRecordType) is false
Compliancemandatory This method must be implemented.