OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Interfaceosid.provisioning.DistributorSearchSession
Implementsosid.provisioning.DistributorQuerySession
Used Byosid.provisioning.ProvisioningManager
osid.provisioning.ProvisioningProxyManager
Description

This session provides methods for searching among Distributor objects. The search query is constructed using the DistributorQuery .

getDistributorsByQuery() is the basic search method and returns a list of Distributors . A more advanced search may be performed with getDistributorsBySearch() .It accepts a DistributorSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getDistributorsBySearch() returns a DistributorSearchResults that can be used to access the resulting DistributorList or be used to perform a search within the result set through DistributorSearch .

Distributors may have a query record indicated by their respective record types. The query record is accessed via the DistributorQuery .

MethodgetDistributorSearch
Description

Gets a distributor search.

Returnosid.provisioning.DistributorSearchthe distributor search
CompliancemandatoryThis method must be implemented.
MethodgetDistributorSearchOrder
Description

Gets a distributor search order. The DistributorSearchOrder is supplied to a DistributorSearch to specify the ordering of results.

Returnosid.provisioning.DistributorSearchOrderthe distributor search order
CompliancemandatoryThis method must be implemented.
MethodgetDistributorsBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.provisioning.DistributorQuerydistributorQuerythe distributor query
osid.provisioning.DistributorSearchdistributorSearchthe distributor search
Returnosid.provisioning.DistributorSearchResultsthe distributor search results
ErrorsNULL_ARGUMENTdistributorQuery or distributorSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDdistributorQuery or distributorSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetDistributorQueryFromInspector
Description

Gets a distributor query from an inspector. The inspector is available from a DistributorSearchResults .

Parametersosid.provisioning.DistributorQueryInspectordistributorQueryInspectora distributor query inspector
Returnosid.provisioning.DistributorQuerythe distributor query
ErrorsNULL_ARGUMENTdistributorQueryInspector is null
UNSUPPORTEDdistributorQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.