Interface RequisiteSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing requisite searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRequisiteSearchRecord(Type requisiteSearchRecordType) Gets the requisite search record corresponding to the given requisite search recordType.voidorderRequisiteResults(RequisiteSearchOrder requisiteSearchOrder) Specify an ordering to the search results.voidsearchAmongRequisites(IdList requisiteIds) Execute this search among the given list of requisites.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
-
searchAmongRequisites
Execute this search among the given list of requisites.- Parameters:
requisiteIds- list of requisiteIds- Throws:
NullArgumentException-requisiteIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRequisiteResults
Specify an ordering to the search results.- Parameters:
requisiteSearchOrder- requisite search order- Throws:
NullArgumentException-requisiteSearchOrderisnullUnsupportedException-requisiteSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRequisiteSearchRecord
RequisiteSearchRecord getRequisiteSearchRecord(Type requisiteSearchRecordType) throws OperationFailedException Gets the requisite search record corresponding to the given requisite search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
requisiteSearchRecordType- a requisite search record type- Returns:
- the requisite search record
- Throws:
NullArgumentException-requisiteSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(requisiteSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-