public interface BrokerConstrainerEnablerSmartDistributorSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
distributors. A BrokerConstrainerEnablerQuery
can be
retrieved from this session and mapped to this Distributor
to create a virtual collection of broker constrainer enablers. The broker
constrainer enablers may be sequenced using the
BrokerConstrainerEnablerSearchOrder
from this session.
This Distributor
has a default query that matches any
broker constrainer enabler and a default search order that specifies no
sequencing. The queries may be examined using a
BrokerConstrainerEnablerQueryInspector.
The query may be modified
by converting the inspector back to a
BrokerConstrainerEnablerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyBrokerConstrainerEnablerQuery(BrokerConstrainerEnablerQuery brokerConstrainerEnablerQuery)
Applies a broker constrainer enabler query to this distributor.
|
void |
applyBrokerConstrainerEnablerSequencing(BrokerConstrainerEnablerSearchOrder brokerConstrainerEnablerSearchOrder)
Applies a broker constrainer enabler search order to this distributor.
|
boolean |
canManageSmartDistributors()
Tests if this user can manage smart distributors.
|
BrokerConstrainerEnablerQuery |
getBrokerConstrainerEnablerQuery()
Gets a broker constrainer enabler query.
|
BrokerConstrainerEnablerQuery |
getBrokerConstrainerEnablerQueryFromInspector(BrokerConstrainerEnablerQueryInspector brokerConstrainerEnablerQueryInspector)
Gets a broker constrainer enabler query from an inspector.
|
BrokerConstrainerEnablerSearchOrder |
getBrokerConstrainerEnablerSearchOrder()
Gets a broker constrainer enabler search order.
|
Distributor |
getDistributor()
Gets the
Distributor associated with this session. |
Id |
getDistributorId()
Gets the
Distributor Id associated with
this session. |
BrokerConstrainerEnablerQueryInspector |
inspectBrokerConstrainerEnablerQuery()
Gets a broker constrainer enabler query inspector for this
distributor.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getDistributorId()
Distributor
Id
associated with
this session. Distributor Id
associated with this sessionmandatory
- This method must be implemented. Distributor getDistributor() throws OperationFailedException, PermissionDeniedException
Distributor
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartDistributors()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart distributor management is not
authorized, true
otherwisemandatory
- This method must be implemented. BrokerConstrainerEnablerQuery getBrokerConstrainerEnablerQuery()
mandatory
- This method must be implemented. BrokerConstrainerEnablerSearchOrder getBrokerConstrainerEnablerSearchOrder()
mandatory
- This method must be implemented. void applyBrokerConstrainerEnablerQuery(BrokerConstrainerEnablerQuery brokerConstrainerEnablerQuery) throws OperationFailedException, PermissionDeniedException
brokerConstrainerEnablerQuery
- the broker constrainer enabler
queryNullArgumentException
-
brokerConstrainerEnablerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
brokerConstrainerEnablerQuery
not of this servicemandatory
- This method must be implemented. BrokerConstrainerEnablerQueryInspector inspectBrokerConstrainerEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyBrokerConstrainerEnablerSequencing(BrokerConstrainerEnablerSearchOrder brokerConstrainerEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
brokerConstrainerEnablerSearchOrder
- the broker constrainer
enabler search orderNullArgumentException
-
brokerConstrainerEnablerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
brokerConstrainerEnablerSearchOrder
not of this
servicemandatory
- This method must be implemented. BrokerConstrainerEnablerQuery getBrokerConstrainerEnablerQueryFromInspector(BrokerConstrainerEnablerQueryInspector brokerConstrainerEnablerQueryInspector)
brokerConstrainerEnablerQueryInspector
- a broker constrainer
enabler query inspectorNullArgumentException
-
brokerConstrainerEnablerQueryInspector
is null
UnsupportedException
-
brokerConstrainerEnablerQueryInspector
is not of this
servicemandatory
- This method must be implemented.