| Interface | osid.repository.AssetContentSmartRepositorySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.repository.RepositoryManager | ||
osid.repository.RepositoryProxyManager | |||
| Description |
This session manages queries and sequencing to create
"smart" dynamic catalogs. An 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 | getAssetContentQuery | ||
| Description |
Gets an asset content query. | ||
| Return | osid.repository.AssetContentQuery | the asset content query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetContentSearchOrder | ||
| Description |
Gets an asset content search order. | ||
| Return | osid.repository.AssetContentSearchOrder | the asset content search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyAssetContentQuery | ||
| Description |
Applies an asset content query to this repository. | ||
| Parameters | osid.repository.AssetContentQuery | assetContentQuery | the asset content query |
| Errors | NULL_ARGUMENT | assetContentQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | assetContentQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectAssetContentQuery | ||
| Description |
Gets an asset content query inspector for this repository. | ||
| Return | osid.repository.AssetContentQueryInspector | the asset content query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyAssetContentSequencing | ||
| Description |
Applies an asset content search order to this repository. | ||
| Parameters | osid.repository.AssetContentSearchOrder | assetContentSearchOrder | the asset content search order |
| Errors | NULL_ARGUMENT | assetContentSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | assetContentSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetContentQueryFromInspector | ||
| Description |
Gets an asset content query from an inspector. | ||
| Parameters | osid.repository.AssetContentQueryInspector | assetContentQueryInspector | an asset content query inspector |
| Return | osid.repository.AssetContentQuery | the asset content query | |
| Errors | NULL_ARGUMENT | assetContentQueryInspector is null | |
| UNSUPPORTED | assetContentQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |