| Interface | osid.repository.rules.CompositionEnablerRepositorySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | This session provides methods to retrieve  This lookup session defines several views: 
 | ||
| Method | canLookupCompositionEnablerRepositorytMappings | ||
| Description | Tests if this user can perform lookups of composition 
                    enabler/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 | useComparativeCompositionEnablerRepositoryView | ||
| 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 | usePlenaryCompositionEnablerRepositoryView | ||
| Description | A complete view of the  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getCompositionEnablerIdsByRepository | ||
| Description | Gets the list of  | ||
| Parameters | osid.id.Id | repositoryId |  Id of the Repository  | 
| Return | osid.id.IdList | list of related composition enabler  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 | getCompositionEnablersByRepository | ||
| Description | Gets the list of composition enablers associated with a 
                     | ||
| Parameters | osid.id.Id | repositoryId |  Id of the Repository  | 
| Return | osid.repository.rules.CompositionEnablerList | list of related composition enablers | |
| 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 | getCompositionEnablerIdsByRepositories | ||
| Description | Gets the list of  | ||
| Parameters | osid.id.IdList | repositoryIds | list of repository  Ids  | 
| Return | osid.id.IdList | list of composition enabler  Ids  | |
| Errors | NULL_ARGUMENT |  familtIds is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompositionEnablersByRepositories | ||
| Description | Gets the list of composition enablers corresponding to 
                    a list of  | ||
| Parameters | osid.id.IdList | repositoryIds | list of repository  Ids  | 
| Return | osid.repository.rules.CompositionEnablerList | list of composition enablers | |
| Errors | NULL_ARGUMENT |  repositoryIds is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRepositoryIdsByCompositionEnabler | ||
| Description | Gets the  | ||
| Parameters | osid.id.Id | compositionEnablerId |  Id of a CompositionEnabler  | 
| Return | osid.id.IdList | list of repository  Ids  | |
| Errors | NOT_FOUND |  compositionEnablerId is not found | |
| NULL_ARGUMENT |  compositionEnablerId is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompositionsByCompositionEnabler | ||
| Description | Gets the repositories mapped to a  | ||
| Parameters | osid.id.Id | compositionEnablerId |  Id of a CompositionEnabler  | 
| Return | osid.repository.RepositoryList | list of repositories | |
| Errors | NOT_FOUND |  compositionEnablerId is not found | |
| NULL_ARGUMENT |  compositionEnablerId is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |