public interface Depot extends OsidCatalog
A depot defines a collection of packages.
Modifier and Type | Method and Description |
---|---|
DepotRecord |
getDepotRecord(Type depotRecordType)
Gets the depot record corresponding to the given
Depot
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
DepotRecord getDepotRecord(Type depotRecordType) throws OperationFailedException
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
.depotRecordType
- a depot record typeNullArgumentException
- depotRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(depotRecordType)
is false
mandatory
- This method must be implemented.