public interface Catalog extends OsidCatalog
A Catalog
represents a collection of entries. Like all
OSID objects, a Catalog
is identified by its Id
and any persisted references should use the Id.
getCatalogRecord()
should be used to retrieve any
record corresponding to arecord Type.
The existence of the
record must not be assumed until requested at which point it is safe to
cast into the record indicated by the type.
Modifier and Type | Method and Description |
---|---|
CatalogRecord |
getCatalogRecord(Type catalogRecordType)
Gets the catalog record corresponding to the given
Catalog
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
CatalogRecord getCatalogRecord(Type catalogRecordType) throws OperationFailedException
Catalog
record Type.
This method is used to retrieve an
object implementing the requested record. The catalogRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(catalogRecordType)
is true
.catalogRecordType
- a type of the record to retrieveNullArgumentException
- catalogRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(catalogRecordType)
is false
mandatory
- This method must be implemented.