| Interface | osid.repository.AssetSmartRepositorySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSmartRepository | ||
| Description |
Tests if this user can manage smart repository. 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 | getAssetQuery | ||
| Description |
Gets na asset query. | ||
| Return | osid.repository.AssetQuery | the asset query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetSearchOrder | ||
| Description |
Gets an asset search order. | ||
| Return | osid.repository.AssetSearchOrder | the asset search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyAssetQuery | ||
| Description |
Applies an asset query to this repository. | ||
| Parameters | osid.repository.AssetQuery | assetQuery | the asset query |
| Errors | NULL_ARGUMENT | assetQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | assetQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectAssetQuery | ||
| Description |
Gets an asset query inspector for this repository. | ||
| Return | osid.repository.AssetQueryInspector | the asset query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyAssetSequencing | ||
| Description |
Applies an asset search order to this repository. | ||
| Parameters | osid.repository.AssetSearchOrder | assetSearchOrder | the asset search order |
| Errors | NULL_ARGUMENT | assetSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | assetSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetQueryFromInspector | ||
| Description |
Gets an asset query from an inspector. | ||
| Parameters | osid.repository.AssetQueryInspector | assetQueryInspector | a resorce relationship query inspector |
| Return | osid.repository.AssetQuery | the asset query | |
| Errors | NULL_ARGUMENT | assetQueryInspector is null | |
| UNSUPPORTED | assetQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |