Interface OfferingSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing offering searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetOfferingSearchRecord(Type offeringSearchRecordType) Gets the record corresponding to the given offering search recordType.voidorderOfferingResults(OfferingSearchOrder offeringSearchOrder) Specify an ordering to the search results.voidsearchAmongOfferings(IdList offeringIds) Execute this search among the given list of offerings.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
-
searchAmongOfferings
Execute this search among the given list of offerings.- Parameters:
offeringIds- list of offerings- Throws:
NullArgumentException-offeringIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderOfferingResults
Specify an ordering to the search results.- Parameters:
offeringSearchOrder- offering search order- Throws:
NullArgumentException-offeringSearchOrderisnullUnsupportedException-offeringSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getOfferingSearchRecord
OfferingSearchRecord getOfferingSearchRecord(Type offeringSearchRecordType) throws OperationFailedException Gets the record corresponding to the given offering search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
offeringSearchRecordType- an offering search record type- Returns:
- the offering search record
- Throws:
NullArgumentException-offeringSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(offeringSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-