OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.DistributorQuerySession
Implementsosid.OsidSession
Implemented Byosid.provisioning.DistributorSearchSession
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.

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

MethodcanSearchDistributors
Description

Tests if this user can perform Distributor searches. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may not offer lookup operations to unauthorized users.

Returnboolean false if search methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetDistributorQuery
Description

Gets a distributor query.

Returnosid.provisioning.DistributorQuery the distributor query
Compliancemandatory This method must be implemented.
MethodgetDistributorsByQuery
Description

Gets a list of Distributors matching the given distributor query.

Parametersosid.provisioning.DistributorQuerydistributorQuery the distributor query
Returnosid.provisioning.DistributorList the returned DistributorList
ErrorsNULL_ARGUMENT distributorQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED distributorQuery is not of this service
Compliancemandatory This method must be implemented.