Interface InstructionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing instruction searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetInstructionSearchRecord(Type instructionSearchRecordType) Gets the instruction search record corresponding to the given instruction search recordType.This method is used to retrieve an object implementing the requested record.voidorderInstructionResults(InstructionSearchOrder instructionSearchOrder) Specify an ordering to the search results.voidsearchAmongInstructions(IdList instructionIds) Execute this search among the given list of instructions.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongInstructions
Execute this search among the given list of instructions.- Parameters:
instructionIds- list of instructions- Throws:
NullArgumentException-instructionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderInstructionResults
Specify an ordering to the search results.- Parameters:
instructionSearchOrder- instruction search order- Throws:
NullArgumentException-instructionSearchOrderisnullUnsupportedException-instructionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getInstructionSearchRecord
InstructionSearchRecord getInstructionSearchRecord(Type instructionSearchRecordType) throws OperationFailedException, PermissionDeniedException Gets the instruction search record corresponding to the given instruction search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
instructionSearchRecordType- an instruction search record type- Returns:
- the instruction search record
- Throws:
NullArgumentException-instructionSearchRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(instructionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-