| Interface | osid.voting.rules.RaceConstrainerEnablerRuleApplicationSession | ||
|---|---|---|---|
| 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 | canAssignRaceConstrainerEnablers | ||
| Description |
Tests if this user can alter race constrainer
enabler/race constrainer 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 | assignRaceConstrainerEnablerToRaceConstrainer | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | raceConstrainerEnablerId | the Id of the RaceConstrainerEnabler |
osid.id.Id | raceConstrainerId | the Id of the RaceConstrainer | |
| Errors | ALREADY_EXISTS | raceConstrainerEnablerId is already applied to
raceConstrainerId | |
| NOT_FOUND | raceConstrainerEnablerId or raceConstrainerId
not found | ||
| NULL_ARGUMENT | raceConstrainerEnablerId or raceConstrainerId
is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignRaceConstrainerEnablerFromRaceConstrainer | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | raceConstrainerEnablerId | the Id of the RaceConstrainerEnabler |
osid.id.Id | raceConstrainerId | the Id of the RaceConstrainer | |
| Errors | NOT_FOUND | raceConstrainerEnablerId or raceConstrainerId
not found or raceConstrainerEnablerId not applied to
raceConstrainerId | |
| NULL_ARGUMENT | raceConstrainerEnablerId or raceConstrainerId
is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSequenceRaceConstrainerEnablers | ||
| Description |
Tests if this user can order | ||
| Return | boolean | false if RaceConstrainerEnabler ordering is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | moveRaceConstrainerEnablerAhead | ||
| Description |
Reorders race constrainer enablers for a race constrainer by moving the specified race constrainer enabler in front of a reference race constrainer enabler. | ||
| Parameters | osid.id.Id | raceConstrainerEnablerId | the Id of a RaceConstrainerEnabler |
osid.id.Id | raceConstrainerId | the Id of a RaceConstrainer | |
osid.id.Id | referenceId | the reference race constrainer enabler Id | |
| Errors | NOT_FOUND | raceConstrainerEnablerId, raceConstrainerId, or
referenceId not found or, raceConstrainerEnablerId or
referenceId not related to raceConstrainerId | |
| NULL_ARGUMENT | raceConstrainerEnablerId, raceConstrainerId, or
referenceId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | moveRaceConstrainerEnablerBehind | ||
| Description |
Reorders race constrainer enablers for a race constrainer by moving the specified race constrainer enabler behind a reference race constrainer enabler. | ||
| Parameters | osid.id.Id | raceConstrainerEnablerId | the Id of a RaceConstrainerEnabler |
osid.id.Id | raceConstrainerId | the Id of a RaceConstrainer | |
osid.id.Id | referenceId | the reference race constrainer enabler Id | |
| Errors | NOT_FOUND | raceConstrainerEnablerId, raceConstrainerId, or
referenceId not found or, raceConstrainerEnablerId or
referenceId not related to raceConstrainerId | |
| NULL_ARGUMENT | raceConstrainerEnablerId, raceConstrainerId, or
referenceId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | orderRaceConstrainerEnablers | ||
| Description |
Reorders a set of race constrainer enablers for a race constrainer. | ||
| Parameters | osid.id.Id[] | raceConstrainerEnablerIds | the Ids for a set of RaceConstrainerEnablers |
osid.id.Id | raceConstrainerId | the Id of a RaceConstrainer | |
| Errors | NOT_FOUND | raceConstrainerId not found or, a
raceConstrainerEnablerId not related to raceConstrainerId
| |
| NULL_ARGUMENT | raceConstrainerEnablerIds or raceConstrainerId
is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |