Interface | osid.voting.rules.RaceProcessorEnablerRuleApplicationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to apply | ||
Method | getPollsId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Polls Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getPolls | ||
Description |
Gets the | ||
Return | osid.voting.Polls | the polls | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canAssignRaceProcessorEnablers | ||
Description |
Tests if this user can alter race processor
enabler/race processor 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 | assignRaceProcessorEnablerToRaceProcessor | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | raceProcessorEnablerId | the Id of the RaceProcessorEnabler |
osid.id.Id | raceProcessorId | the Id of the RaceProcessor | |
Errors | ALREADY_EXISTS | raceProcessorEnablerId is already applied to
raceProcessorId | |
NOT_FOUND | raceProcessorEnablerId or raceProcessorId not
found | ||
NULL_ARGUMENT | raceProcessorEnablerId or raceProcessorId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignRaceProcessorEnablerFromRaceProcessor | ||
Description |
Removes a | ||
Parameters | osid.id.Id | raceProcessorEnablerId | the Id of the RaceProcessorEnabler |
osid.id.Id | raceProcessorId | the Id of the RaceProcessor | |
Errors | NOT_FOUND | raceProcessorEnablerId or raceProcessorId not
found or raceProcessorEnablerId not applied to
raceProcessorId | |
NULL_ARGUMENT | raceProcessorEnablerId or raceProcessorId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSequenceRaceProcessorEnablers | ||
Description |
Tests if this user can order | ||
Return | boolean | false if RaceProcessorEnabler ordering is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | moveRaceProcessorEnablerAhead | ||
Description |
Reorders race processor enablers for a race processor by moving the specified race processor enabler in front of a reference race processor enabler. | ||
Parameters | osid.id.Id | raceProcessorEnablerId | the Id of a RaceProcessorEnabler |
osid.id.Id | raceProcessorId | the Id of a RaceProcessor | |
osid.id.Id | referenceId | the reference race processor enabler Id | |
Errors | NOT_FOUND | raceProcessorEnablerId, raceProcessorId, or
referenceId not found or, raceProcessorEnablerId or
referenceId not related to processorId | |
NULL_ARGUMENT | raceProcessorEnablerId, raceProcessorId, or
referenceId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | moveRaceProcessorEnablerBehind | ||
Description |
Reorders race processor enablers for a race processor by moving the specified race processor enabler behind a reference race processor enabler. | ||
Parameters | osid.id.Id | raceProcessorEnablerId | the Id of a RaceProcessorEnabler |
osid.id.Id | raceProcessorId | the Id of a RaceProcessor | |
osid.id.Id | referenceId | the reference race processor enabler Id | |
Errors | NOT_FOUND | praceProcessorEnablerId, raceProcessorId, or
referenceId not found or, raceProcessorEnablerId or
referenceId not related to processorId | |
NULL_ARGUMENT | raceProcessorEnablerId, raceProcessorId, or
referenceId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | orderRaceProcessorEnablers | ||
Description |
Reorders a set of race processor enablers for a race processor. | ||
Parameters | osid.id.Id[] | raceProcessorEnablerIds | the Ids for a set of RaceProcessorEnablers |
osid.id.Id | raceProcessorId | the Id of a RaceProcessor | |
Errors | NOT_FOUND | raceProcessorId not found or, a
raceProcessorEnablerId not related to raceProcessorId | |
NULL_ARGUMENT | raceProcessorEnablerIds or raceProcessorId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |