Interface ProvisionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing provision searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetProvisionSearchRecord(Type provisionSearchRecordType) Gets the provision search record corresponding to the given provision search recordType.voidorderProvisionResults(ProvisionSearchOrder provisionSearchOrder) Specify an ordering to the search results.voidsearchAmongProvisions(IdList provisionIds) Execute this search among the given list of provisions.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
-
searchAmongProvisions
Execute this search among the given list of provisions.- Parameters:
provisionIds- list of provisions- Throws:
NullArgumentException-provisionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderProvisionResults
Specify an ordering to the search results.- Parameters:
provisionSearchOrder- provision search order- Throws:
NullArgumentException-provisionSearchOrderisnullUnsupportedException-provisionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProvisionSearchRecord
ProvisionSearchRecord getProvisionSearchRecord(Type provisionSearchRecordType) throws OperationFailedException Gets the provision search record corresponding to the given provision search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
provisionSearchRecordType- a provision search record type- Returns:
- the provision search record
- Throws:
NullArgumentException-provisionSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(provisionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-