OSID Logo
OSID Specifications
relationship package
Version 3.1.0
Interfaceosid.relationship.FamilySearchSession
Implementsosid.relationship.FamilyQuerySession
Used Byosid.relationship.RelationshipManager
osid.relationship.RelationshipProxyManager
Description

This session provides methods for searching Family objects. The search query is constructed using the FamilyQuery. The family record Type also specifies the record for the family query.

getFamiliesByQuery() is the basic search method and returns a list of Family elements. A more advanced search may be performed with getFamiliesBySearch(). It accepts a FamilySearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getFamiliesBySearch() returns a FamilySearchResults that can be used to access the resulting FamilyList or be used to perform a search within the result set through FamilySearch.

Families may have a query record indicated by their respective record types. The query record is accessed via the FamilyQuery. The returns in this session may not be cast directly to these interfaces.

MethodgetFamilySearch
Description

Gets a family search.

Returnosid.relationship.FamilySearch the family search
Compliancemandatory This method must be implemented.
MethodgetFamilySearchOrder
Description

Gets a family search order. The FamilySearchOrder is supplied to a FamilySearch to specify the ordering of results.

Returnosid.relationship.FamilySearchOrder the family search order
Compliancemandatory This method must be implemented.
MethodgetFamiliesBySearch
Description

Gets the search results matching the given search.

Parametersosid.relationship.FamilyQueryfamilyQuery the family query
osid.relationship.FamilySearchfamilySearch the family search
Returnosid.relationship.FamilySearchResults the search results
ErrorsNULL_ARGUMENT familyQuery or familySearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED familyQuery or familySearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetFamilyQueryFromInspector
Description

Gets a family query from an inspector. The inspector is available from an FamilySearchResults.

Parametersosid.relationship.FamilyQueryInspectorfamilyQueryInspector a family query inspector
Returnosid.relationship.FamilyQuery the familyh query
ErrorsNULL_ARGUMENT familyQueryInspector is null
UNSUPPORTED familyQueryInspector is not of this service
Compliancemandatory This method must be implemented.