Interface ParticipantSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing participant searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetParticipantSearchRecord(Type participantSearchRecordType) Gets the record corresponding to the given participant search recordType.voidorderParticipantResults(ParticipantSearchOrder participantSearchOrder) Specify an ordering to the search results.voidsearchAmongParticipants(IdList participantIds) Execute this search among the given list of participants.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
-
searchAmongParticipants
Execute this search among the given list of participants.- Parameters:
participantIds- list of participants- Throws:
NullArgumentException-participantIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderParticipantResults
Specify an ordering to the search results.- Parameters:
participantSearchOrder- participant search order- Throws:
NullArgumentException-participantSearchOrderisnullUnsupportedException-participantSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getParticipantSearchRecord
ParticipantSearchRecord getParticipantSearchRecord(Type participantSearchRecordType) throws OperationFailedException Gets the record corresponding to the given participant search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
participantSearchRecordType- a participant search record type- Returns:
- the participant search record
- Throws:
NullArgumentException-participantSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(participantSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-