public interface SequenceRuleEnablerSmartBankSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
bank. a SequenceRuleEnablerQuery can be retrieved from this
session and mapped to this Bank to create a virtual
collection of sequence rule enablers. The sequence rule enablers may be
sequenced using the SequenceRuleEnablerSearchOrder from
this session.
This Bank has a default query that matches any sequence
rule enabler and a default search order that specifies no sequencing. The
queries may be examined using a SequenceRuleEnablerQueryInspector.
The query may be modified by converting the inspector back to a
SequenceRuleEnablerQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applySequenceRuleEnablerQuery(SequenceRuleEnablerQuery sequenceRuleEnablerQuery)
Applies a sequence rule enabler query to this bank.
|
void |
applySequenceRuleEnablerSequencing(SequenceRuleEnablerSearchOrder sequenceRuleEnablerSearchOrder)
Applies a sequence rule enabler search order to this bank.
|
boolean |
canManageSmartBanks()
Tests if this user can manage smart bank.
|
Bank |
getBank()
Gets the
Bank associated with this session. |
Id |
getBankId()
Gets the
Bank Id associated with this
session. |
SequenceRuleEnablerQuery |
getSequenceRuleEnablerQuery()
Gets a sequence rule enabler query.
|
SequenceRuleEnablerQuery |
getSequenceRuleEnablerQueryFromInspector(SequenceRuleEnablerQueryInspector sequenceRuleEnablerQueryInspector)
Gets a sequence rule enabler query from an inspector.
|
SequenceRuleEnablerSearchOrder |
getSequenceRuleEnablerSearchOrder()
Gets a sequence rule enabler search order.
|
SequenceRuleEnablerQueryInspector |
inspectSequenceRuleEnablerQuery()
Gets a sequence rule enabler query inspector for this bank.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getBankId()
Bank Id associated with this
session. Bank Id associated with this sessionmandatory - This method must be implemented. Bank getBank() throws OperationFailedException, PermissionDeniedException
Bank associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartBanks()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart bank management is not
authorized, true otherwisemandatory - This method must be implemented. SequenceRuleEnablerQuery getSequenceRuleEnablerQuery()
mandatory - This method must be implemented. SequenceRuleEnablerSearchOrder getSequenceRuleEnablerSearchOrder()
mandatory - This method must be implemented. void applySequenceRuleEnablerQuery(SequenceRuleEnablerQuery sequenceRuleEnablerQuery) throws OperationFailedException, PermissionDeniedException
sequenceRuleEnablerQuery - the sequence rule enabler queryNullArgumentException - sequenceRuleEnablerQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - sequenceRuleEnablerQuery
not of this servicemandatory - This method must be implemented. SequenceRuleEnablerQueryInspector inspectSequenceRuleEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applySequenceRuleEnablerSequencing(SequenceRuleEnablerSearchOrder sequenceRuleEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
sequenceRuleEnablerSearchOrder - the sequence rule enabler
search orderNullArgumentException -
sequenceRuleEnablerSearchOrder is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
sequenceRuleEnablerSearchOrder not of this servicemandatory - This method must be implemented. SequenceRuleEnablerQuery getSequenceRuleEnablerQueryFromInspector(SequenceRuleEnablerQueryInspector sequenceRuleEnablerQueryInspector)
sequenceRuleEnablerQueryInspector - a sequence rule enabler
query inspectorNullArgumentException -
sequenceRuleEnablerQueryInspector is null
UnsupportedException -
sequenceRuleEnablerQueryInspector is not of this
servicemandatory - This method must be implemented.