| Interface | osid.installation.InstallationPackageLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.installation.InstallationManager | ||
osid.installation.InstallationProxyManager | |||
| Description |
This session provides methods for retrieving
This session defines views that offer differing behaviors when retrieving multiple objects.
InstallationPackages may have an additional records
indicated by their respective record types. The record may not
be accessed through a cast of the
| ||
| 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 | canLookupInstallationPackages | ||
| Description |
Tests if this user can perform
| ||
| Return | boolean | false if lookup methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeInstallationPackageView | ||
| Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryInstallationPackageView | ||
| Description |
A complete view of the
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedDepotView | ||
| Description |
Federates the view for methods in this session. A federated view will include packages in depots which are children of this depot in the depot hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedDepotView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this depot only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useNormalizedVersionView | ||
| Description |
The returns from the lookup methods may omit multiple versions of the same package. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useDenormalizedVersionView | ||
| Description |
All versions of the same package are returned. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getInstallationPackage | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | installationPackageId | Id of the InstallationPackage |
| Return | osid.installation.InstallationPackage | the package | |
| Errors | NOT_FOUND | installationPackageId not found | |
| NULL_ARGUMENT | installationPackageId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getInstallationPackagesByIds | ||
| Description |
Gets a | ||
| Parameters | osid.id.IdList | installationPackageIds | the list of Ids to retrieve |
| Return | osid.installation.InstallationPackageList | the returned InstallationPackage list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | installationPackageIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackagesByGenusType | ||
| Description |
Gets a | ||
| Parameters | osid.type.Type | installationPackageGenusType | a package genus type |
| Return | osid.installation.InstallationPackageList | the returned InstallationPackage list | |
| Errors | NULL_ARGUMENT | installationPackageGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackagesByParentGenusType | ||
| Description |
Gets a | ||
| Parameters | osid.type.Type | installationPackageGenusType | a package genus type |
| Return | osid.installation.InstallationPackageList | the returned InstallationPackage list | |
| Errors | NULL_ARGUMENT | installationPackageGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackagesByRecordType | ||
| Description |
Gets a | ||
| Parameters | osid.type.Type | installationPackageRecordType | a package record type |
| Return | osid.installation.InstallationPackageList | the returned InstallationPackage list | |
| Errors | NULL_ARGUMENT | installationPackageRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackagesByProvider | ||
| Description |
Gets a | ||
| Parameters | osid.id.Id | resourceId | a resource Id |
| Return | osid.installation.InstallationPackageList | the returned InstallationPackage list | |
| Errors | NULL_ARGUMENT | resourceId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDependentInstallationPackages | ||
| Description |
Gets a list of packages depending on the given package. | ||
| Parameters | osid.id.Id | installationPackageId | an Id of a InstallationPackage |
| Return | osid.installation.InstallationPackageList | list of package dependents | |
| Errors | NOT_FOUND | installationPackageId is not found | |
| NULL_ARGUMENT | installationPackageId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackageVersions | ||
| Description |
Gets a list of packages in the specified package version chain. | ||
| Parameters | osid.id.Id | installationPackageId | an Id of a InstallationPackage |
| Return | osid.installation.InstallationPackageList | list of dependencies | |
| Errors | NOT_FOUND | installationPackageId is not found | |
| NULL_ARGUMENT | installationPackageId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackages | ||
| Description |
Gets all | ||
| Return | osid.installation.InstallationPackageList | a InstallationPackageList | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |