| Interface | osid.offering.ResultSmartCatalogueSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | This session manages queries and sequencing to create 
                "smart" dynamic catalogs. An   This  | ||
| Method | getCatalogueId | ||
| Description | Gets the  | ||
| Return | osid.id.Id | the  Catalogue Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCatalogue | ||
| Description | Gets the  | ||
| Return | osid.offering.Catalogue | the  Catalogue associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSmartCatalogues | ||
| Description | Tests if this user can manage smart catalogues. 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 catalogue management is not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResultQuery | ||
| Description | Gets an result query. | ||
| Return | osid.offering.ResultQuery | the result query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResultSearchOrder | ||
| Description | Gets an result search order. | ||
| Return | osid.offering.ResultSearchOrder | the result search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyResultQuery | ||
| Description | Applies an result query to this catalogue. | ||
| Parameters | osid.offering.ResultQuery | resultQuery | the result query | 
| Errors | NULL_ARGUMENT |  resultQuery is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  resultQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectResultQuery | ||
| Description | Gets an result query inspector for this catalogue. | ||
| Return | osid.offering.ResultQueryInspector | the result query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyResultSequencing | ||
| Description | Applies an result search order to this catalogue. | ||
| Parameters | osid.offering.ResultSearchOrder | resultSearchOrder | the result search order | 
| Errors | NULL_ARGUMENT |  resultSearchOrder is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  resultSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getResultQueryFromInspector | ||
| Description | Gets an result query from an inspector. | ||
| Parameters | osid.offering.ResultQueryInspector | resultQueryInspector | a query inspector | 
| Return | osid.offering.ResultQuery | the result query | |
| Errors | NULL_ARGUMENT |  resultQueryInspector is null  | |
| UNSUPPORTED |  resultQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |