| Interface | osid.assessment.ItemSmartBankSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session manages queries and sequencing to create 
                "smart" dynamic catalogs. An   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  associated with this session  | |
| 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 banks. A return of 
                    true does not guarantee successful assessment. 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 | getItemQuery | ||
| Description | 
                     Gets an assessment item query.  | ||
| Return | osid.assessment.ItemQuery | the assessment item query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getItemSearchOrder | ||
| Description | 
                     Gets an assessment item search order.  | ||
| Return | osid.assessment.ItemSearchOrder | the assessment item search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyItemQuery | ||
| Description | 
                     Applies an item query to this bank.  | ||
| Parameters | osid.assessment.ItemQuery | itemQuery | the item query | 
| Errors | NULL_ARGUMENT |  itemQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  itemQuery  not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectItemQuery | ||
| Description | 
                     Gets an item query inspector for this bank.  | ||
| Return | osid.assessment.ItemQueryInspector | the item query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyItemSequencing | ||
| Description | 
                     Applies an item search order to this bank.  | ||
| Parameters | osid.assessment.ItemSearchOrder | itemSearchOrder | the item search order | 
| Errors | NULL_ARGUMENT |  itemSearchOrder  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  itemSearchOrder  not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getItemQueryFromInspector | ||
| Description | 
                     Gets an item query from an inspector.  | ||
| Parameters | osid.assessment.ItemQueryInspector | itemQueryInspector | an item query inspector | 
| Return | osid.assessment.ItemQuery | the item query | |
| Errors | NULL_ARGUMENT |  itemQueryInspector  is  null   |                 |
| UNSUPPORTED |  itemQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |