Interface FamilySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing family searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetFamilySearchRecord(Type familySearchRecordType) Gets the family search record corresponding to the given family search recordType.voidorderFamilyResults(FamilySearchOrder familySearchOrder) Specify an ordering to the search results.voidsearchAmongFamilies(IdList familyIds) Execute this search among the given list of families.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
-
searchAmongFamilies
Execute this search among the given list of families.- Parameters:
familyIds- list of families- Throws:
NullArgumentException-familyIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderFamilyResults
Specify an ordering to the search results.- Parameters:
familySearchOrder- family search order- Throws:
NullArgumentException-familySearchOrderisnullUnsupportedException-familySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getFamilySearchRecord
FamilySearchRecord getFamilySearchRecord(Type familySearchRecordType) throws OperationFailedException, PermissionDeniedException Gets the family search record corresponding to the given family search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
familySearchRecordType- a family search record type- Returns:
- the family search record
- Throws:
NullArgumentException-familySearchRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(familySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-