Interface PersonSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing person searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPersonSearchRecord(Type personSearchRecordType) Gets the record corresponding to the given person search recordType.voidorderPersonResults(PersonSearchOrder personSearchOrder) Specify an ordering to the search results.voidsearchAmongPersons(IdList personIds) Execute this search among the given list of persons.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
-
searchAmongPersons
Execute this search among the given list of persons.- Parameters:
personIds- list of persons- Throws:
NullArgumentException-personIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPersonResults
Specify an ordering to the search results.- Parameters:
personSearchOrder- person search order- Throws:
NullArgumentException-personSearchOrderisnullUnsupportedException-personSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPersonSearchRecord
PersonSearchRecord getPersonSearchRecord(Type personSearchRecordType) throws OperationFailedException Gets the record corresponding to the given person search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
personSearchRecordType- a person search record type- Returns:
- the person search record
- Throws:
NullArgumentException-personSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(personSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-