Interface | osid.voting.rules.BallotConstrainerEnablerSmartPollsSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session manages queries and sequencing to create
"smart" dynamic polls. A This | ||
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 | canManageSmartPolls | ||
Description |
Tests if this user can manage smart polls. A return of
true does not guarantee successful authorization. A return
of false indicates that it is known methods in this
session will result in a | ||
Return | boolean | false if smart polls management is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getBallotConstrainerEnablerQuery | ||
Description |
Gets a ballot constrainer enabler query. | ||
Return | osid.voting.rules.BallotConstrainerEnablerQuery | the ballot constrainer enabler query | |
Compliance | mandatory | This method must be implemented. | |
Method | getBallotConstrainerEnablerSearchOrder | ||
Description |
Gets a ballot constrainer enabler search order. | ||
Return | osid.voting.rules.BallotConstrainerEnablerSearchOrder | the ballot constrainer enabler search order | |
Compliance | mandatory | This method must be implemented. | |
Method | applyBallotConstrainerEnablerQuery | ||
Description |
Applies a ballot constrainer enabler query to this polls. | ||
Parameters | osid.voting.rules.BallotConstrainerEnablerQuery | ballotConstrainerEnablerQuery | the ballot constrainer enabler query |
Errors | NULL_ARGUMENT | ballotConstrainerEnablerQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | ballotConstrainerEnablerQuery not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | inspectBallotConstrainerEnablerQuery | ||
Description |
Gets a ballot constrainer enabler query inspector for this polls. | ||
Return | osid.voting.rules.BallotConstrainerEnablerQueryInspector | the ballot constrainer enabler query inspector | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure occurred | ||
Compliance | mandatory | This method must be implemented. | |
Method | applyBallotConstrainerEnablerSequencing | ||
Description |
Applies a ballot constrainer enabler search order to this polls. | ||
Parameters | osid.voting.rules.BallotConstrainerEnablerSearchOrder | ballotConstrainerEnablerSearchOrder | the ballot constrainer enabler search order |
Errors | NULL_ARGUMENT | ballotConstrainerEnablerSearchOrder is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | ballotConstrainerEnablerSearchOrder not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBallotConstrainerEnablerQueryFromInspector | ||
Description |
Gets a ballot constrainer enabler query from an inspector. | ||
Parameters | osid.voting.rules.BallotConstrainerEnablerQueryInspector | ballotConstrainerEnablerQueryInspector | a ballot constrainer enabler query inspector |
Return | osid.voting.rules.BallotConstrainerEnablerQuery | the ballot constrainer enabler query | |
Errors | NULL_ARGUMENT | ballotConstrainerEnablerQueryInspector is null
| |
UNSUPPORTED | ballotConstrainerEnablerQueryInspector is not of this
service | ||
Compliance | mandatory | This method must be implemented. |