Interface InquirySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing inquiry searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetInquirySearchRecord(Type inquirySearchRecordType) Gets the inquiry search record corresponding to the given inquiry search recordType.voidorderInquiryResults(InquirySearchOrder inquirySearchOrder) Specify an ordering to the search results.voidsearchAmongInquiries(IdList inquiryIds) Execute this search among the given list of inquiries.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
-
searchAmongInquiries
Execute this search among the given list of inquiries.- Parameters:
inquiryIds- list of inquiries- Throws:
NullArgumentException-inquiryIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderInquiryResults
Specify an ordering to the search results.- Parameters:
inquirySearchOrder- inquiry search order- Throws:
NullArgumentException-inquirySearchOrderisnullUnsupportedException-inquirySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getInquirySearchRecord
InquirySearchRecord getInquirySearchRecord(Type inquirySearchRecordType) throws OperationFailedException Gets the inquiry search record corresponding to the given inquiry search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
inquirySearchRecordType- an inquiry search record type- Returns:
- the inquiry search record
- Throws:
NullArgumentException-inquirySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(inquirySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-