| Interface | osid.repository.rules.CompositionEnablerSmartRepositorySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session manages queries and sequencing to create
"smart" dynamic repositories. A This | ||
| Method | getRepositoryId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Repository Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRepository | ||
| Description |
Gets the | ||
| Return | osid.repository.Repository | the repository | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSmartRepositories | ||
| Description |
Tests if this user can manage smart repositories. 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 repository management is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompositionEnablerQuery | ||
| Description |
Gets a composition enabler query. | ||
| Return | osid.repository.rules.CompositionEnablerQuery | the composition enabler query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompositionEnablerSearchOrder | ||
| Description |
Gets a composition enabler search order. | ||
| Return | osid.repository.rules.CompositionEnablerSearchOrder | the composition enabler search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyCompositionEnablerQuery | ||
| Description |
Applies a composition enabler query to this repository. | ||
| Parameters | osid.repository.rules.CompositionEnablerQuery | compositionEnablerQuery | the composition enabler query |
| Errors | NULL_ARGUMENT | compositionEnablerQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | compositionEnablerQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectCompositionEnablerQuery | ||
| Description |
Gets a composition enabler query inspector for this repository. | ||
| Return | osid.repository.rules.CompositionEnablerQueryInspector | the composition enabler query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyCompositionEnablerSequencing | ||
| Description |
Applies a composition enabler search order to this repository. | ||
| Parameters | osid.repository.rules.CompositionEnablerSearchOrder | compositionEnablerSearchOrder | the composition enabler search order |
| Errors | NULL_ARGUMENT | compositionEnablerSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | compositionEnablerSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompositionEnablerQueryFromInspector | ||
| Description |
Gets a composition enabler query from an inspector. | ||
| Parameters | osid.repository.rules.CompositionEnablerQueryInspector | compositionEnablerQueryInspector | a composition enabler query inspector |
| Return | osid.repository.rules.CompositionEnablerQuery | the composition enabler query | |
| Errors | NULL_ARGUMENT | compositionEnablerQueryInspector is null | |
| UNSUPPORTED | compositionEnablerQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |