Interface | osid.assessment.authoring.SequenceRuleEnablerRuleApplicationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to apply | ||
Method | getBankId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Bank Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getBank | ||
Description |
Gets the | ||
Return | osid.assessment.Bank | the bank | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canAssignSequenceRuleEnablers | ||
Description |
Tests if this user can alter sequence rule
enabler/sequence rule 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 | assignSequenceRuleEnablerToSequenceRule | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | sequenceRuleEnablerId | the Id of the SequenceRuleEnabler |
osid.id.Id | sequenceRuleId | the Id of the SequenceRule | |
Errors | ALREADY_EXISTS | sequenceRuleEnablerId is already applied to
sequenceRuleId | |
NOT_FOUND | sequenceRuleEnablerId or sequenceRuleId not
found | ||
NULL_ARGUMENT | sequenceRuleEnablerId or sequenceRuleId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignSequenceRuleEnablerFromSequenceRule | ||
Description |
Removes a | ||
Parameters | osid.id.Id | sequenceRuleEnablerId | the Id of the SequenceRuleEnabler |
osid.id.Id | sequenceRuleId | the Id of the SequenceRule | |
Errors | NOT_FOUND | sequenceRuleEnablerId or sequenceRuleId not
found or sequenceRuleEnablerId not applied to
sequenceRuleId | |
NULL_ARGUMENT | sequenceRuleEnablerId or sequenceRuleId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSequenceSequenceRuleEnablers | ||
Description |
Tests if this user can order | ||
Return | boolean | false if SequenceRuleEnabler ordering is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | moveSequenceRuleEnablerAhead | ||
Description |
Reorders sequence rule enablers for a sequence rule by moving the specified sequence rule enabler in front of a reference sequence rule enabler. | ||
Parameters | osid.id.Id | sequenceRuleEnablerId | the Id of a SequenceRuleEnabler |
osid.id.Id | sequenceRuleId | the Id of a SequenceRule | |
osid.id.Id | referenceId | the reference sequence rule enabler Id | |
Errors | NOT_FOUND | sequenceRuleEnablerId, sequenceRuleId, or referenceId
not found or, sequenceRuleEnablerId or
referenceId not related to sequenceRuleId | |
NULL_ARGUMENT | sequenceRuleEnablerId, sequenceRuleId, or referenceId
is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | moveSequenceRuleEnablerBehind | ||
Description |
Reorders sequence rule enablers for a sequence rule by moving the specified sequence rule enabler behind a reference sequence rule enabler. | ||
Parameters | osid.id.Id | sequenceRuleEnablerId | the Id of a SequenceRuleEnabler |
osid.id.Id | sequenceRuleId | the Id of a SequenceRule | |
osid.id.Id | referenceId | the reference sequence rule enabler Id | |
Errors | NOT_FOUND | sequenceRuleEnablerId, sequenceRuleId, or referenceId
not found or, sequenceRuleEnablerId or
referenceId not related to sequenceRuleId | |
NULL_ARGUMENT | sequenceRuleEnablerId, sequenceRuleId, or referenceId
is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | orderSequenceRuleEnablers | ||
Description |
Reorders a set of sequence rule enablers for a sequence rule. | ||
Parameters | osid.id.Id[] | sequenceRuleEnablerIds | the Ids for a set of SequenceRuleEnablers |
osid.id.Id | sequenceRuleId | the Id of a SequenceRule | |
Errors | NOT_FOUND | sequenceRuleId not found or, an sequenceRuleEnablerId
not related to sequenceRuleId | |
NULL_ARGUMENT | sequenceRuleEnablerIds or sequenceRuleId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |