Interface | osid.repository.CompositionQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching among This session defines views that offer differing behaviors when searching.
Compositions may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
Method | getRepositoryId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Repository Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getRepository | ||
Description |
Gets the | ||
Return | osid.repository.Repository | the Repository associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSearchCompositions | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if search methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useFederatedRepositoryView | ||
Description |
Federates the view for methods in this session. A federated view will include compositions in repositories which are children of this repository in the repository hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedRepositoryView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this repository only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useSequesteredCompositionView | ||
Description |
The methods in this session omit sequestered compositions. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useUnsequesteredCompositionView | ||
Description |
The methods in this session return all compositions, including sequestered compositions. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCompositionQuery | ||
Description |
Gets a composition query. | ||
Return | osid.repository.CompositionQuery | the composition query | |
Compliance | mandatory | This method must be implemented. | |
Method | getCompositionsByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.repository.CompositionQuery | compositionQuery | the composition query |
Return | osid.repository.CompositionList | the returned CompositionList | |
Errors | NULL_ARGUMENT | compositionQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | compositionQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |