Interface ProvisionableSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing provisionable searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetProvisionableSearchRecord(Type provisionableSearchRecordType) Gets the provisionable search record corresponding to the given provisionable search recordType.This method is used to retrieve an object implementing the requested record.voidorderProvisionableResults(ProvisionableSearchOrder provisionableSearchOrder) Specify an ordering to the search results.voidsearchAmongProvisionables(IdList provisionableIds) Execute this search among the given list of provisionables.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
-
searchAmongProvisionables
Execute this search among the given list of provisionables.- Parameters:
provisionableIds- list of provisionables- Throws:
NullArgumentException-provisionableIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderProvisionableResults
Specify an ordering to the search results.- Parameters:
provisionableSearchOrder- provisionable search order- Throws:
NullArgumentException-provisionableSearchOrderisnullUnsupportedException-provisionableSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProvisionableSearchRecord
ProvisionableSearchRecord getProvisionableSearchRecord(Type provisionableSearchRecordType) throws OperationFailedException Gets the provisionable search record corresponding to the given provisionable search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
provisionableSearchRecordType- a provisionable search record type- Returns:
- the provisionable search interface
- Throws:
NullArgumentException-provisionableSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(provisionableSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-