Interface | osid.assessment.authoring.SequenceRuleEnablerBankAssignmentSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to re-assign Adding a reference of a | ||
Method | canAssignSequenceRuleEnablers | ||
Description |
Tests if this user can alter sequence rule enabler/bank
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
Return | boolean | false if mapping is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canAssignSequenceRuleEnablersToBank | ||
Description |
Tests if this user can alter sequence rule enabler/bank
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
Parameters | osid.id.Id | bankId | the Id of the Bank |
Return | boolean | false if mapping is not authorized, true
otherwise | |
Errors | NULL_ARGUMENT | bankId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getAssignableBankIds | ||
Description |
Gets a list of bank including and under the given bank node in which any sequence rule enabler can be assigned. | ||
Parameters | osid.id.Id | bankId | the Id of the Bank |
Return | osid.id.IdList | list of assignable bank Ids | |
Errors | NULL_ARGUMENT | bankId is null | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssignableBankIdsForSequenceRuleEnabler | ||
Description |
Gets a list of bank including and under the given bank node in which a specific sequence rule enabler can be assigned. | ||
Parameters | osid.id.Id | bankId | the Id of the Bank |
osid.id.Id | sequenceRuleEnablerId | the Id of the SequenceRuleEnabler | |
Return | osid.id.IdList | list of assignable bank Ids | |
Errors | NULL_ARGUMENT | bankId or sequenceRuleEnablerId is
null | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | assignSequenceRuleEnablerToBank | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | sequenceRuleEnablerId | the Id of the SequenceRuleEnabler |
osid.id.Id | bankId | the Id of the Bank | |
Errors | ALREADY_EXISTS | sequenceRuleEnablerId is already assigned to bankId
| |
NOT_FOUND | sequenceRuleEnablerId or bankId not found | ||
NULL_ARGUMENT | sequenceRuleEnablerId or bankId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignSequenceRuleEnablerFromBank | ||
Description |
Removes a | ||
Parameters | osid.id.Id | sequenceRuleEnablerId | the Id of the SequenceRuleEnabler |
osid.id.Id | bankId | the Id of the Bank | |
Errors | NOT_FOUND | sequenceRuleEnablerId or bankId not found or
sequenceRuleEnablerId not assigned to bankId | |
NULL_ARGUMENT | sequenceRuleEnablerId or bankId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |