OSID Logo
OSID Specifications
installation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.installation.Depot
Implementsosid.OsidCatalog
Description

A depot defines a collection of packages.

MethodgetDepotRecord
Description

Gets the depot record corresponding to the given Depot record Type. This method is used to retrieve an object implementing the requested record. The depotRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(depotRecordType) is true .

Parametersosid.type.TypedepotRecordTypea depot record type
Returnosid.installation.records.DepotRecordthe depot record
ErrorsNULL_ARGUMENT depotRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(depotRecordType) is false
CompliancemandatoryThis method must be implemented.