Interface CompositionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing composition searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCompositionSearchRecord(Type compositionSearchRecordType) Gets the composition search record corresponding to the given composition search recordType.This method is used to retrieve an object implementing the requested record.voidorderCompositionResults(CompositionSearchOrder compositionSearchOrder) Specify an ordering to the search results.voidsearchAmongCompositions(IdList compositionIds) Execute this search among the given list of compositions.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
-
searchAmongCompositions
Execute this search among the given list of compositions.- Parameters:
compositionIds- list of compositions- Throws:
NullArgumentException-compositionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCompositionResults
Specify an ordering to the search results.- Parameters:
compositionSearchOrder- composition search order- Throws:
NullArgumentException-compositionSearchOrderisnullUnsupportedException-compositionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCompositionSearchRecord
CompositionSearchRecord getCompositionSearchRecord(Type compositionSearchRecordType) throws OperationFailedException Gets the composition search record corresponding to the given composition search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
compositionSearchRecordType- a composition search record type- Returns:
- the composition search record
- Throws:
NullArgumentException-compositionSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(compositionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-