public interface Book extends OsidCatalog
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.
Modifier and Type | Method and Description |
---|---|
BookRecord |
getBookRecord(Type bookRecordType)
Gets the book record corresponding to the given
Book
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
BookRecord getBookRecord(Type bookRecordType) throws OperationFailedException
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
.bookRecordType
- the type of book record to retrieveNullArgumentException
- bookRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(bookRecordType)
is false
mandatory
- This method must be implemented.