Interface | osid.installation.PackageSmartDepotSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
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 | getPackageQuery | ||
Description |
Gets a package query. | ||
Return | osid.installation.PackageQuery | the package query | |
Compliance | mandatory | This method must be implemented. | |
Method | getPackageSearchOrder | ||
Description |
Gets a package search order. | ||
Return | osid.installation.PackageSearchOrder | the package search order | |
Compliance | mandatory | This method must be implemented. | |
Method | applyPackageQuery | ||
Description |
Applies a package query to this depot. | ||
Parameters | osid.installation.PackageQuery | packageQuery | the package query |
Errors | NULL_ARGUMENT | packageQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | packageQuery not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | inspectPackageQuery | ||
Description |
Gets a package query inspector for this depot. | ||
Return | osid.installation.PackageQueryInspector | the package query inspector | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure occurred | ||
Compliance | mandatory | This method must be implemented. | |
Method | applyPackageSequencing | ||
Description |
Applies a package search order to this depot. | ||
Parameters | osid.installation.PackageSearchOrder | packageSearchOrder | the package search order |
Errors | NULL_ARGUMENT | packageSearchOrder is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | packageSearchOrder not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPackageQueryFromInspector | ||
Description |
Gets a package query from an inspector. | ||
Parameters | osid.installation.PackageQueryInspector | packageQueryInspector | a package query inspector |
Return | osid.installation.PackageQuery | the package query | |
Errors | NULL_ARGUMENT | packageQueryInspector is null | |
UNSUPPORTED | packageQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |