| Interface | osid.resourcing.WorkSmartFoundrySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session manages queries and sequencing to create 
                "smart" dynamic catalogs. A   This   | ||
| Method | getFoundryId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Foundry Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFoundry | ||
| Description | 
                     Gets the   | ||
| Return | osid.resourcing.Foundry | the foundry | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSmartFoundries | ||
| Description | 
                     Tests if this user can manage smart foundries. 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 foundry management is not authorized,  
true  otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getWorkQuery | ||
| Description | 
                     Gets a work query.  | ||
| Return | osid.resourcing.WorkQuery | the work query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getWorkSearchOrder | ||
| Description | 
                     Gets a work search order.  | ||
| Return | osid.resourcing.WorkSearchOrder | the work search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyWorkQuery | ||
| Description | 
                     Applies a work query to this foundry.  | ||
| Parameters | osid.resourcing.WorkQuery | workQuery | the work query | 
| Errors | NULL_ARGUMENT |  workQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  workQuery  not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectWorkQuery | ||
| Description | 
                     Gets a work query inspector for this foundry.  | ||
| Return | osid.resourcing.WorkQueryInspector | the work query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyWorkSequencing | ||
| Description | 
                     Applies a work search order to this foundry.  | ||
| Parameters | osid.resourcing.WorkSearchOrder | workSearchOrder | the work search order | 
| Errors | NULL_ARGUMENT |  workSearchOrder  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  workSearchOrder  not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getWorkQueryFromInspector | ||
| Description | 
                     Gets a work query from an inspector.  | ||
| Parameters | osid.resourcing.WorkQueryInspector | workQueryInspector | a work query inspector | 
| Return | osid.resourcing.WorkQuery | the work query | |
| Errors | NULL_ARGUMENT |  workQueryInspector  is  null   |                 |
| UNSUPPORTED |  workQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |