Interface Text
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject
A Text.
Like all OsidObjects, Text is managed by its
OsidSessions and may not be accessed by concurrent processing threads.
-
Method Summary
Modifier and TypeMethodDescriptiongetTextRecord(Type textRecordType) Gets the text record corresponding to the givenTextrecordType.This method is used to retrieve an object implementing the requested record.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeMethods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusType
-
Method Details
-
getTextRecord
TextRecord getTextRecord(Type textRecordType) throws OperationFailedException, PermissionDeniedException Gets the text record corresponding to the givenTextrecordType.This method is used to retrieve an object implementing the requested record. ThetextRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(textRecordType)istrue.- Parameters:
textRecordType- the type of text record to retrieve- Returns:
- the text record
- Throws:
NullArgumentException-textRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(textRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-