| Interface | osid.authorization.VaultQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching among   Vaults may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | canSearchVaults | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if search methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getVaultQuery | ||
| Description | 
                     Gets a vault query.  | ||
| Return | osid.authorization.VaultQuery | a vault query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getVaultsByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.authorization.VaultQuery | vaultQuery | the vault query | 
| Return | osid.authorization.VaultList | the returned  VaultList   | |
| Errors | NULL_ARGUMENT |  vaultQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  vaultQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |