| Interface | osid.installation.InstallationPackageSearchSession | ||
|---|---|---|---|
| Implements | osid.installation.InstallationPackageQuerySession | ||
| Used By | osid.installation.InstallationManager | ||
osid.installation.InstallationProxyManager | |||
| Description |
This session provides methods for searching
getInstallationPackagesByQuery() is the basic
search method and returns a list of
InstallationPackages. A more advanced search may
be performed with
getInstallationPackagesBySearch().It accepts a
InstallationPackageSearch in addition to the
query for the purpose of specifying additional options
affecting the entire search, such as ordering.
getInstallationPackagesBySearch() returns a
InstallationPackageSearchResults that can be used
to access the resulting InstallationPackageList
or be used to perform a search within the result set through
InstallationPackageSearch.
This session defines views that offer differing behaviors for searching.
InstallationPackages may have a query record indicated by
their respective record types. The query record is accessed
via the | ||
| Method | getInstallationPackageSearch | ||
| Description |
Gets a package search. | ||
| Return | osid.installation.InstallationPackageSearch | the package search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackageSearchOrder | ||
| Description |
Gets a package search order. The
| ||
| Return | osid.installation.InstallationPackageSearchOrder | the package search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackagesBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.installation.InstallationPackageQuery | installationPackageQuery | the package query |
osid.installation.InstallationPackageSearch | installationPackageSearch | the package search | |
| Return | osid.installation.InstallationPackageSearchResults | the returned search results | |
| Errors | NULL_ARGUMENT | installationPackageQuery or
installationPackageSearch is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | installationPackageSearch or
installationPackageQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationPackageQueryFromInspector | ||
| Description |
Gets a package query from an inspector. The inspector
is available from a
| ||
| 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. | |