Interface InstallationPackageSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface InstallationPackageSearch extends OsidSearch

InstallationPackageSearch defines the interface for specifying package search options.

  • Method Details

    • searchAmongInstallationPackages

      void searchAmongInstallationPackages(IdList installationPackageIds)
      Execute this search among the given list of packages.
      Parameters:
      installationPackageIds - list of packages
      Throws:
      NullArgumentException - installationPackageIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderInstallationPackageResults

      void orderInstallationPackageResults(InstallationPackageSearchOrder installationPackageSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      installationPackageSearchOrder - package search order
      Throws:
      NullArgumentException - installationPackageSearchOrder is null
      UnsupportedException - installationPackageSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getInstallationPackageSearchRecord

      InstallationPackageSearchRecord getInstallationPackageSearchRecord(Type installationPackageSearchRecordType) throws OperationFailedException
      Gets the package search record corresponding to the given package search record Type. This method is used to retrieve an object implementing the requested record.
      Parameters:
      installationPackageSearchRecordType - a package search record type
      Returns:
      the package search record
      Throws:
      NullArgumentException - installationPackageSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(packageSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.