OSID Logo
OSID Specifications
voting batch package
Version 3.1.0
Interfaceosid.voting.batch.VotingBatchProxyManager
Implementsosid.OsidProxyManager
osid.voting.batch.VotingBatchProfile
Used Byosid.voting.VotingProxyManager
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. 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.Proxyproxy a proxy
Returnosid.voting.batch.VotingBatchSession a VotingBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.voting.batch.VotingBatchSession a VotingBatchAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.voting.batch.CandidateBatchAdminSession a CandidateBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.voting.batch.CandidateBatchAdminSession a CandidateBatchAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId or proxy 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 ballot administration service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.voting.batch.RaceBatchAdminSession a BallotBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.voting.batch.RaceBatchAdminSession a RaceBatchAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.voting.batch.BallotBatchAdminSession a BallotBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.voting.batch.BallotBatchAdminSession a BallotBatchAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.voting.batch.PollsBatchAdminSession a PollsBatchAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsBatchAdmin() is false
Complianceoptional This method must be implemented if supportsPollsBatchAdmin() is true.