public interface Repository extends OsidCatalog
A repository defines a collection of assets.
Modifier and Type | Method and Description |
---|---|
RepositoryRecord |
getRepositoryRecord(Type repositoryRecordType)
Gets the record corresponding to the given
Repository
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
RepositoryRecord getRepositoryRecord(Type repositoryRecordType) throws OperationFailedException
Repository
record Type.
This method is used to retrieve an object
implementing the requested record. The repositoryRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(repositoryRecordType)
is true
.repositoryRecordType
- a repository record typeNullArgumentException
- repositoryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(repositoryRecordType)
is false
mandatory
- This method must be implemented.