| Interface | osid.repository.AssetContentRepositorySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.repository.RepositoryManager | ||
osid.repository.RepositoryProxyManager | |||
| Description |
This session provides methods to retrieve
This lookup session defines several views:
| ||
| Method | canLookupAssetContentRepositoryMappings | ||
| Description |
Tests if this user can perform lookups of asset
content/repository mappings. A return of true does not
guarantee successful authorization. A return of false
indicates that it is known lookup methods in this session
will result in a | ||
| Return | boolean | false if looking up mappings is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeAssetContentRepositoryView | ||
| Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryAssetContentRepositoryView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAssetContentIdsByRepository | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.Id | repositoryId | Id of the Repository |
| Return | osid.id.IdList | list of related asset content Ids | |
| Errors | NOT_FOUND | repositoryId is not found | |
| NULL_ARGUMENT | repositoryId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetContentsByRepository | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.Id | repositoryId | Id of the Repository |
| Return | osid.repository.AssetContentList | list of related asset contents | |
| Errors | NOT_FOUND | repositoryId is not found | |
| NULL_ARGUMENT | repositoryId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetContentIdsByRepositories | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.IdList | repositoryIds | list of repository Ids |
| Return | osid.id.IdList | list of asset content Ids | |
| Errors | NULL_ARGUMENT | repositoryIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetContentsByRepositories | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.IdList | repositoryIds | list of repository Ids |
| Return | osid.repository.AssetContentList | list of asset contents | |
| Errors | NULL_ARGUMENT | repositoryIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRepositoryIdsByAssetContent | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | assetContentId | Id of an AssetContent |
| Return | osid.id.IdList | list of repository Ids | |
| Errors | NOT_FOUND | assetContentId is not found | |
| NULL_ARGUMENT | assetContentId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRepositoriesByAssetContent | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | assetContentId | Id of an AssetContent |
| Return | osid.repository.RepositoryList | list of repositories | |
| Errors | NOT_FOUND | assetContentId is not found | |
| NULL_ARGUMENT | assetContentId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |