| Interface | osid.offering.OfferingSmartCatalogueSession | ||
|---|---|---|---|
| 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 | getOfferingQuery | ||
| Description | 
                     Gets an offering query.  | ||
| Return | osid.offering.OfferingQuery | the offering query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfferingSearchOrder | ||
| Description | 
                     Gets an offering search order.  | ||
| Return | osid.offering.OfferingSearchOrder | the offering search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyOfferingQuery | ||
| Description | 
                     Applies an offering query to this catalogue.  | ||
| Parameters | osid.offering.OfferingQuery | offeringQuery | the offering query | 
| Errors | NULL_ARGUMENT |  offeringQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  offeringQuery  not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectOfferingQuery | ||
| Description | 
                     Gets an offering query inspector for this catalogue.  | ||
| Return | osid.offering.OfferingQueryInspector | the offering query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyOfferingSequencing | ||
| Description | 
                     Applies an offering search order to this catalogue.  | ||
| Parameters | osid.offering.OfferingSearchOrder | offeringSearchOrder | the offering search order | 
| Errors | NULL_ARGUMENT |  offeringSearchOrder  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  offeringSearchOrder  not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfferingQueryFromInspector | ||
| Description | 
                     Gets an offering query from an inspector.  | ||
| Parameters | osid.offering.OfferingQueryInspector | offeringQueryInspector | a query inspector | 
| Return | osid.offering.OfferingQuery | the offering query | |
| Errors | NULL_ARGUMENT |  offeringQueryInspector  is  null   |                 |
| UNSUPPORTED |  offeringQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |