OSID Logo
OSID Specifications
voting batch package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.batch.VotingBatchProxyManager
Implementsosid.OsidProxyManager
osid.voting.batch.VotingBatchProfile
Description

The voting batch proxy manager provides access to voting batch sessions and provides interoperability tests for various aspects of this service. Methods in this manager support the passing of a Proxy object. The sessions included in this manager are:

  • VotingBatchSession: a session to vote in bulk
  • CandidateBatchAdminSession: a session to manage candidates in bulk
  • RaceBatchAdminSession: a session to manage races in bulk
  • BallotBatchAdminSession: a session to manage ballotd in bulk
  • PollsBatchAdminSession: a session to create, modify and delete Polls in bulk
MethodgetVotingBatchSession
Description

Gets the OsidSession associated with the bulk voting service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.voting.batch.VotingBatchSessiona VotingBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsVotingBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsVotingBatchAdmin() is true.
MethodgetVoteBatchSessionForPolls
Description

Gets the OsidSession associated with the bulk voting service for the given polls.

Parametersosid.id.IdpollsIdthe Id of the Polls
osid.proxy.Proxyproxya proxy
Returnosid.voting.batch.VotingBatchSessiona VotingBatchAdminSession
ErrorsNOT_FOUNDno Polls found by the given Id
NULL_ARGUMENT pollsId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsVotingBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVotingBatchAdmin() and supportsVisibleFederation() are true
MethodgetCandidateBatchAdminSession
Description

Gets the OsidSession associated with the bulk candidate administration service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.voting.batch.CandidateBatchAdminSessiona CandidateBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCandidateBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsCandidateBatchAdmin() is true.
MethodgetCandidateBatchAdminSessionForPolls
Description

Gets the OsidSession associated with the bulk candidate administration service for the given polls.

Parametersosid.id.IdpollsIdthe Id of the Polls
osid.proxy.Proxyproxya proxy
Returnosid.voting.batch.CandidateBatchAdminSessiona CandidateBatchAdminSession
ErrorsNOT_FOUNDno Polls found by the given Id
NULL_ARGUMENT pollsId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCandidateBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCandidateBatchAdmin() and supportsVisibleFederation() are true
MethodgetRaceBatchAdminSession
Description

Gets the OsidSession associated with the bulk ballot administration service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.voting.batch.RaceBatchAdminSessiona BallotBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRaceBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsRaceBatchAdmin() is true.
MethodgetRaceBatchAdminSessionForPolls
Description

Gets the OsidSession associated with the bulk race administration service for the given polls.

Parametersosid.id.IdpollsIdthe Id of the Polls
osid.proxy.Proxyproxya proxy
Returnosid.voting.batch.RaceBatchAdminSessiona RaceBatchAdminSession
ErrorsNOT_FOUNDno Polls found by the given Id
NULL_ARGUMENT pollsId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRaceBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRaceBatchAdmin() and supportsVisibleFederation() are true
MethodgetBallotBatchAdminSession
Description

Gets the OsidSession associated with the bulk ballot administration service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.voting.batch.BallotBatchAdminSessiona BallotBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsBallotBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsBallotBatchAdmin() is true.
MethodgetBallotBatchAdminSessionForPolls
Description

Gets the OsidSession associated with the bulk ballot administration service for the given polls.

Parametersosid.id.IdpollsIdthe Id of the Polls
osid.proxy.Proxyproxya proxy
Returnosid.voting.batch.BallotBatchAdminSessiona BallotBatchAdminSession
ErrorsNOT_FOUNDno Polls found by the given Id
NULL_ARGUMENT pollsId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsBallotBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsBallotBatchAdmin() and supportsVisibleFederation() are true
MethodgetPollsBatchAdminSession
Description

Gets the OsidSession associated with the bulk polls administration service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.voting.batch.PollsBatchAdminSessiona PollsBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPollsBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsPollsBatchAdmin() is true.