public interface CommissionEnablerSmartFoundrySession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
foundries. A CommissionEnablerQuery
can be retrieved from
this session and mapped to this Foundry
to create a virtual
collection of commission enablers. The commission enabler may be sequenced
using the CommissionEnablerSearchOrder
terface from this
session.
This Foundry
has a default query that matches any
commission enabler and a default search order that specifies no
sequencing. The queries may be examined using a
CommissionEnablerQueryInspector.
The query may be modified by
converting the inspector back to a CommissionEnablerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyCommissionEnablerQuery(CommissionEnablerQuery commissionEnablerQuery)
Applies a commission enabler query to this foundry.
|
void |
applyCommissionEnablerSequencing(CommissionEnablerSearchOrder commissionEnablerSearchOrder)
Applies a commission enabler search order to this foundry.
|
boolean |
canManageSmartFoundries()
Tests if this user can manage smart foundries.
|
CommissionEnablerQuery |
getCommissionEnablerQuery()
Gets a commission enabler query.
|
CommissionEnablerQuery |
getCommissionEnablerQueryFromInspector(CommissionEnablerQueryInspector commissionEnablerQueryInspector)
Gets a commission enabler query from an inspector.
|
CommissionEnablerSearchOrder |
getCommissionEnablerSearchOrder()
Gets a commission enabler search order.
|
Foundry |
getFoundry()
Gets the
Foundry associated with this session. |
Id |
getFoundryId()
Gets the
Foundry Id associated with this
session. |
CommissionEnablerQueryInspector |
inspectCommissionEnablerQuery()
Gets a commission enabler query inspector for this foundry.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getFoundryId()
Foundry
Id
associated with this
session. Foundry Id
associated with this sessionmandatory
- This method must be implemented. Foundry getFoundry() throws OperationFailedException, PermissionDeniedException
Foundry
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartFoundries()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart foundry management is not
authorized, true
otherwisemandatory
- This method must be implemented. CommissionEnablerQuery getCommissionEnablerQuery()
mandatory
- This method must be implemented. CommissionEnablerSearchOrder getCommissionEnablerSearchOrder()
mandatory
- This method must be implemented. void applyCommissionEnablerQuery(CommissionEnablerQuery commissionEnablerQuery) throws OperationFailedException, PermissionDeniedException
commissionEnablerQuery
- the commission enabler queryNullArgumentException
- ccommissionEnablerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- commissionEnablerQuery
not of this servicemandatory
- This method must be implemented. CommissionEnablerQueryInspector inspectCommissionEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyCommissionEnablerSequencing(CommissionEnablerSearchOrder commissionEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
commissionEnablerSearchOrder
- the commission enabler search
orderNullArgumentException
-
commissionEnablerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
commissionEnablerSearchOrder
not of this servicemandatory
- This method must be implemented. CommissionEnablerQuery getCommissionEnablerQueryFromInspector(CommissionEnablerQueryInspector commissionEnablerQueryInspector)
commissionEnablerQueryInspector
- a commission enabler query
inspectorNullArgumentException
-
commissionEnablerQueryInspector
is null
UnsupportedException
-
commissionEnablerQueryInspector
is not of this servicemandatory
- This method must be implemented.