Interface | osid.sequencing.ChainLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving chains. This lookup session defines several views:
The methods Chains may have an additional records indicated by their respective record types. The record may not be accessed through a cast of the chains. | ||
Method | getAntimatroidId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Antimatroid Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getAntimatroid | ||
Description |
Gets the | ||
Return | osid.sequencing.Antimatroid | the antimatroid | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupChains | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeChainView | ||
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 | usePlenaryChainView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedAntimatroidView | ||
Description |
Federates the view for methods in this session. A federated view will include chains in antimatroids which are children of this antimatroid in the antimatroid hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedAntimatroidView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this antimatroid only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getChain | ||
Description |
Gets the | ||
Parameters | osid.id.Id | chainId | the Id of the Chain to retrieve |
Return | osid.sequencing.Chain | the returned Chain | |
Errors | NOT_FOUND | no Chain found with the given Id | |
NULL_ARGUMENT | chainId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getChainsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | chainIds | the list of Ids to retrieve |
Return | osid.sequencing.ChainList | the returned Chain list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | chainIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getChainsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | chainGenusType | a chain genus type |
Return | osid.sequencing.ChainList | the returned Chain list | |
Errors | NULL_ARGUMENT | chainGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getChainsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | chainGenusType | a chain genus type |
Return | osid.sequencing.ChainList | the returned Chain list | |
Errors | NULL_ARGUMENT | chainGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getChainsByRecordType | ||
Description |
Gets a In plenary mode, the returned list contains all known chains or an error results. Otherwise, the returned list may contain only those chains that are accessible through this session. | ||
Parameters | osid.type.Type | chainRecordType | a chain record type |
Return | osid.sequencing.ChainList | the returned Chain list | |
Errors | NULL_ARGUMENT | chainRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getChains | ||
Description |
Gets all chains. | ||
Return | osid.sequencing.ChainList | the returned Chain list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |