OSID Logo
OSID Specifications
provisioning package
Version 3.0.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.

Returnbooleanfalse if search methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDistributorQuery
Description

Gets a distributor query.

Returnosid.provisioning.DistributorQuerythe distributor query
CompliancemandatoryThis method must be implemented.
MethodgetDistributorsByQuery
Description

Gets a list of Distributors matching the given distributor query.

Parametersosid.provisioning.DistributorQuerydistributorQuerythe distributor query
Returnosid.provisioning.DistributorListthe returned DistributorList
ErrorsNULL_ARGUMENTdistributorQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDdistributorQuery is not of this service
CompliancemandatoryThis method must be implemented.