OSID Logo
OSID Specifications
voting batch package
Version 3.1.0
Interfaceosid.voting.batch.VotingBatchManager
Implementsosid.OsidManager
osid.voting.batch.VotingBatchProfile
Used Byosid.voting.VotingManager
Description

The voting batch manager provides access to voting batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • VotingBatchSession: a session to vote in bulk
  • CandidateBatchAdminSession: a session to create, modify and delete Candidates in bulk
  • RaceBatchAdminSession: a session to create, modify and delete Races in bulk
  • BallotBatchAdminSession: a session to create, modify and delete Ballots in bulk
  • PollsBatchAdminSession: a session to create, modify and delete Polls in bulk
MethodgetVotingBatchSession
Description

Gets the OsidSession associated with the bulk voting service.

Returnosid.voting.batch.VotingBatchSession a VotingBatchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVotingBatchAdmin() is false
Complianceoptional This 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.IdpollsId the Id of the Polls
Returnosid.voting.batch.VotingBatchSession a VotingBatchAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVotingBatchAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsVotingBatchAdmin() and supportsVisibleFederation() are true
MethodgetCandidateBatchAdminSession
Description

Gets the OsidSession associated with the bulk candidate administration service.

Returnosid.voting.batch.CandidateBatchAdminSession a CandidateBatchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateBatchAdmin() is false
Complianceoptional This 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.IdpollsId the Id of the Polls
Returnosid.voting.batch.CandidateBatchAdminSession a CandidateBatchAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateBatchAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsCandidateBatchAdmin() and supportsVisibleFederation() are true
MethodgetRaceBatchAdminSession
Description

Gets the OsidSession associated with the bulk race administration service.

Returnosid.voting.batch.RaceBatchAdminSession a RaceBatchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceBatchAdmin() is false
Complianceoptional This 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.IdpollsId the Id of the Polls
Returnosid.voting.batch.RaceBatchAdminSession a RaceBatchAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceBatchAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRaceBatchAdmin() and supportsVisibleFederation() are true
MethodgetBallotBatchAdminSession
Description

Gets the OsidSession associated with the bulk ballot administration service.

Returnosid.voting.batch.BallotBatchAdminSession a BallotBatchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotBatchAdmin() is false
Complianceoptional This 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.IdpollsId the Id of the Polls
Returnosid.voting.batch.BallotBatchAdminSession a BallotBatchAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotBatchAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBallotBatchAdmin() and supportsVisibleFederation() are true
MethodgetPollsBatchAdminSession
Description

Gets the OsidSession associated with the bulk polls administration service.

Returnosid.voting.batch.PollsBatchAdminSession a PollsBatchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsBatchAdmin() is false
Complianceoptional This method must be implemented if supportsPollsBatchAdmin() is true.