OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.DistributorQuerySession
Implementsosid.OsidSession
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
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_ARGUMENT distributorQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED distributorQuery is not of this service
CompliancemandatoryThis method must be implemented.