OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Release Candidate Preview
Interfaceosid.personnel.OrganizationSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetOrganizations
Description

Gets the organization list resulting from a search.

Returnosid.personnel.OrganizationListthe organization list
ErrorsILLEGAL_STATEthe list has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetOrganizationQueryInspector
Description

Gets the inspector for the query to examine the terms used in the search.

Returnosid.personnel.OrganizationQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetOrganizationSearchResultsRecord
Description

Gets the record corresponding to the given organization search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TypeorganizationSearchRecordTypean organization search record type
Returnosid.personnel.records.OrganizationSearchResultsRecordthe organization search results record
ErrorsNULL_ARGUMENT organizationSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(organizationSearchRecordType) is false
CompliancemandatoryThis method must be implemented.