Interface InstallationPackageSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
InstallationPackageSearch defines the interface for specifying
package search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetInstallationPackageSearchRecord(Type installationPackageSearchRecordType) Gets the package search record corresponding to the given package search recordType.voidorderInstallationPackageResults(InstallationPackageSearchOrder installationPackageSearchOrder) Specify an ordering to the search results.voidsearchAmongInstallationPackages(IdList installationPackageIds) Execute this search among the given list of packages.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongInstallationPackages
Execute this search among the given list of packages.- Parameters:
installationPackageIds- list of packages- Throws:
NullArgumentException-installationPackageIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderInstallationPackageResults
Specify an ordering to the search results.- Parameters:
installationPackageSearchOrder- package search order- Throws:
NullArgumentException-installationPackageSearchOrderisnullUnsupportedException-installationPackageSearchOrderis 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 recordType. 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-installationPackageSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(packageSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-