| Interface | osid.assessment.authoring.SequenceRuleSmartBankSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session manages queries and sequencing to create 
                "smart" dynamic bank. a   This   | ||
| Method | getBankId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Bank Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBank | ||
| Description | 
                     Gets the   | ||
| Return | osid.assessment.Bank | the bank | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSmartBanks | ||
| Description | 
                     Tests if this user can manage smart bank. 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   | ||
| Return | boolean |  false  if smart bank management is not authorized,  
true  otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSequenceRuleQuery | ||
| Description | 
                     Gets a sequence rule query.  | ||
| Return | osid.assessment.authoring.SequenceRuleQuery | the sequence rule query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSequenceRuleSearchOrder | ||
| Description | 
                     Gets a sequence rule search order.  | ||
| Return | osid.assessment.authoring.SequenceRuleSearchOrder | the sequence rule search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applySequenceRuleQuery | ||
| Description | 
                     Applies a sequence rule query to this bank.  | ||
| Parameters | osid.assessment.authoring.SequenceRuleQuery | sequenceRuleQuery | the sequence rule query | 
| Errors | NULL_ARGUMENT |  sequenceRuleQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  sequenceRuleQuery  not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectSequenceRuleQuery | ||
| Description | 
                     Gets a sequence rule query inspector for this bank.  | ||
| Return | osid.assessment.authoring.SequenceRuleQueryInspector | the sequence rule query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applySequenceRuleSequencing | ||
| Description | 
                     Applies a sequence rule search order to this bank.  | ||
| Parameters | osid.assessment.authoring.SequenceRuleSearchOrder | sequenceRuleSearchOrder | the sequence rule search order | 
| Errors | NULL_ARGUMENT |  sequenceRuleSearchOrder  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  sequenceRuleSearchOrder  not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getSequenceRuleQueryFromInspector | ||
| Description | 
                     Gets a sequence rule query from an inspector.  | ||
| Parameters | osid.assessment.authoring.SequenceRuleQueryInspector | sequenceRuleQueryInspector | a sequence rule query inspector | 
| Return | osid.assessment.authoring.SequenceRuleQuery | the sequence rule query | |
| Errors | NULL_ARGUMENT |  sequenceRuleQueryInspector  is  null   |                 |
| UNSUPPORTED |  sequenceRuleQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |