| Interface | osid.installation.InstallationPackageSmartDepotSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.installation.InstallationManager | ||
osid.installation.InstallationProxyManager | |||
| Description |
This session manages queries and sequencing to create
"smart" dynamic catalogs. A
This | ||
| Method | getDepotId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Depot Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDepot | ||
| Description |
Gets the | ||
| Return | osid.installation.Depot | the Depot associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSmartDepot | ||
| Description |
Tests if this user can manage smart depot. 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 depot management is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackageQuery | ||
| Description |
Gets a package query. | ||
| Return | osid.installation.InstallationPackageQuery | the package query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackageSearchOrder | ||
| Description |
Gets a package search order. | ||
| Return | osid.installation.InstallationPackageSearchOrder | the package search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyInstallationPackageQuery | ||
| Description |
Applies a package query to this depot. | ||
| Parameters | osid.installation.InstallationPackageQuery | installationPackageQuery | the package query |
| Errors | NULL_ARGUMENT | installationPackageQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | installationPackageQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectInstallationPackageQuery | ||
| Description |
Gets a package query inspector for this depot. | ||
| Return | osid.installation.InstallationPackageQueryInspector | the package query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyInstallationPackageSequencing | ||
| Description |
Applies a package search order to this depot. | ||
| Parameters | osid.installation.InstallationPackageSearchOrder | installationPackageSearchOrder | the package search order |
| Errors | NULL_ARGUMENT | installationPackageSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | installationPackageSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackageQueryFromInspector | ||
| Description |
Gets a package query from an inspector. | ||
| Parameters | osid.installation.InstallationPackageQueryInspector | installationPackageQueryInspector | a package query inspector |
| Return | osid.installation.InstallationPackageQuery | the package query | |
| Errors | NULL_ARGUMENT | installationPackageQueryInspector is null | |
| UNSUPPORTED | installationPackageQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |