OSID Logo
OSID Specifications
provisioning package
Version 3.1.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.DistributorSearch the distributor search
Compliancemandatory This 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.DistributorSearchOrder the distributor search order
Compliancemandatory This method must be implemented.
MethodgetDistributorsBySearch
Description

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

Parametersosid.provisioning.DistributorQuerydistributorQuery the distributor query
osid.provisioning.DistributorSearchdistributorSearch the distributor search
Returnosid.provisioning.DistributorSearchResults the distributor search results
ErrorsNULL_ARGUMENT distributorQuery or distributorSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED distributorQuery or distributorSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetDistributorQueryFromInspector
Description

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

Parametersosid.provisioning.DistributorQueryInspectordistributorQueryInspector a distributor query inspector
Returnosid.provisioning.DistributorQuery the distributor query
ErrorsNULL_ARGUMENT distributorQueryInspector is null
UNSUPPORTED distributorQueryInspector is not of this service
Compliancemandatory This method must be implemented.