OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.rules.BrokerConstrainerSmartDistributorSession
Implementsosid.OsidSession
Description

This session manages queries and sequencing to create "smart" dynamic distributors. A BrokerConstrainerQuery can be retrieved from this session and mapped to this Distributor to create a virtual collection of broker constrainers. The broker constrainer may be sequenced using the BrokerConstrainerSearchOrder from this session.

This Distributor has a default query that matches any broker constrainer and a default search order that specifies no sequencing. The queries may be examined using a BrokerConstrainerQueryInspector. The query may be modified by converting the inspector back to a BrokerConstrainerQuery.

MethodgetDistributorId
Description

Gets the Distributor Id associated with this session.

Returnosid.id.Idthe Distributor Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetDistributor
Description

Gets the Distributor associated with this session.

Returnosid.provisioning.Distributorthe distributor
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanManageSmartDistributors
Description

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

Returnboolean false if smart distributor management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBrokerConstrainerQuery
Description

Gets a broker constrainer query.

Returnosid.provisioning.rules.BrokerConstrainerQuerythe broker constrainer query
CompliancemandatoryThis method must be implemented.
MethodgetBrokerConstrainerSearchOrder
Description

Gets a broker constrainer search order.

Returnosid.provisioning.rules.BrokerConstrainerSearchOrderthe broker constrainer search order
CompliancemandatoryThis method must be implemented.
MethodapplyBrokerConstrainerQuery
Description

Applies a broker constrainer query to this distributor.

Parametersosid.provisioning.rules.BrokerConstrainerQuerybrokerConstrainerQuerythe broker constrainer query
ErrorsNULL_ARGUMENT brokerConstrainerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED brokerConstrainerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectBrokerConstrainerQuery
Description

Gets a broker constrainer query inspector for this distributor.

Returnosid.provisioning.rules.BrokerConstrainerQueryInspectorthe broker constrainer query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyBrokerConstrainerSequencing
Description

Applies a broker constrainer search order to this distributor.

Parametersosid.provisioning.rules.BrokerConstrainerSearchOrderbrokerConstrainerSearchOrderthe broker constrainer search order
ErrorsNULL_ARGUMENT brokerConstrainerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED brokerConstrainerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetBrokerConstrainerQueryFromInspector
Description

Gets a broker constrainer query from an inspector.

Parametersosid.provisioning.rules.BrokerConstrainerQueryInspectorbrokerConstrainerQueryInspectora broker constrainer query inspector
Returnosid.provisioning.rules.BrokerConstrainerQuerythe broker constrainer query
ErrorsNULL_ARGUMENT brokerConstrainerQueryInspector is null
UNSUPPORTED brokerConstrainerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.