OSID Logo
OSID Specifications
repository package
Version 3.1.0
Interfaceosid.repository.Repository
Implementsosid.OsidCatalog
Used Byosid.repository.AssetAdminSession
osid.repository.AssetCompositionDesignSession
osid.repository.AssetCompositionSession
osid.repository.AssetContentAdminSession
osid.repository.AssetContentLookupSession
osid.repository.AssetContentNotificationSession
osid.repository.AssetContentQuerySession
osid.repository.AssetContentSmartRepositorySession
osid.repository.AssetLookupSession
osid.repository.AssetNotificationSession
show 22 more…
osid.repository.AssetQuerySession
osid.repository.AssetSmartRepositorySession
osid.repository.AssetSpatialAssignmentSession
osid.repository.AssetSpatialSession
osid.repository.AssetTemporalAssignmentSession
osid.repository.AssetTemporalSession
osid.repository.CompositionAdminSession
osid.repository.CompositionLookupSession
osid.repository.CompositionNotificationSession
osid.repository.CompositionQuerySession
osid.repository.CompositionSmartRepositorySession
osid.repository.RepositoryAdminSession
osid.repository.RepositoryList
osid.repository.RepositoryLookupSession
osid.repository.RepositoryNode
osid.repository.rules.CompositionEnablerAdminSession
osid.repository.rules.CompositionEnablerLookupSession
osid.repository.rules.CompositionEnablerNotificationSession
osid.repository.rules.CompositionEnablerQuerySession
osid.repository.rules.CompositionEnablerRuleApplicationSession
osid.repository.rules.CompositionEnablerRuleLookupSession
osid.repository.rules.CompositionEnablerSmartRepositorySession
Description

A repository defines a collection of assets.

MethodgetRepositoryRecord
Description

Gets the record corresponding to the given 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.

Parametersosid.type.TyperepositoryRecordType a repository record type
Returnosid.repository.records.RepositoryRecord the repository record
ErrorsNULL_ARGUMENT repositoryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(repositoryRecordType) is false
Compliancemandatory This method must be implemented.