public interface VotingBatchManager extends OsidManager, VotingBatchProfile
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 | Modifier and Type | Method and Description |
|---|---|
BallotBatchAdminSession |
getBallotBatchAdminSession()
Gets the
OsidSession associated with the bulk ballot
administration service. |
BallotBatchAdminSession |
getBallotBatchAdminSessionForPolls(Id pollsId)
Gets the
OsidSession associated with the bulk ballot
administration service for the given polls. |
CandidateBatchAdminSession |
getCandidateBatchAdminSession()
Gets the
OsidSession associated with the bulk candidate
administration service. |
CandidateBatchAdminSession |
getCandidateBatchAdminSessionForPolls(Id pollsId)
Gets the
OsidSession associated with the bulk candidate
administration service for the given polls. |
PollsBatchAdminSession |
getPollsBatchAdminSession()
Gets the
OsidSession associated with the bulk polls
administration service. |
RaceBatchAdminSession |
getRaceBatchAdminSession()
Gets the
OsidSession associated with the bulk race
administration service. |
RaceBatchAdminSession |
getRaceBatchAdminSessionForPolls(Id pollsId)
Gets the
OsidSession associated with the bulk race
administration service for the given polls. |
VotingBatchSession |
getVoteBatchSessionForPolls(Id pollsId)
Gets the
OsidSession associated with the bulk voting
service for the given polls. |
VotingBatchSession |
getVotingBatchSession()
Gets the
OsidSession associated with the bulk voting
service. |
changeBranch, initialize, rollbackServiceclosesupportsBallotBatchAdmin, supportsCandidateBatchAdmin, supportsPollsBatchAdmin, supportsRaceBatchAdmin, supportsVisibleFederation, supportsVotingBatchAdmingetBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypegetBranding, getBrandingIds, getLicense, getProvider, getProviderIdVotingBatchSession getVotingBatchSession() throws OperationFailedException
OsidSession associated with the bulk voting
service. VotingBatchAdminSession OperationFailedException - unable to complete requestUnimplementedException -
supportsVotingBatchAdmin() is false optional - This method must be implemented if
supportsVotingBatchAdmin() is true. VotingBatchSession getVoteBatchSessionForPolls(Id pollsId) throws NotFoundException, OperationFailedException
OsidSession associated with the bulk voting
service for the given polls.pollsId - the Id of the Polls VotingBatchAdminSession NotFoundException - no Polls found by
the given Id NullArgumentException - pollsId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsVotingBatchAdmin() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsVotingBatchAdmin() and
supportsVisibleFederation() are true
CandidateBatchAdminSession getCandidateBatchAdminSession() throws OperationFailedException
OsidSession associated with the bulk candidate
administration service. CandidateBatchAdminSession OperationFailedException - unable to complete requestUnimplementedException -
supportsCandidateBatchAdmin() is false optional - This method must be implemented if
supportsCandidateBatchAdmin() is true.
CandidateBatchAdminSession getCandidateBatchAdminSessionForPolls(Id pollsId) throws NotFoundException, OperationFailedException
OsidSession associated with the bulk candidate
administration service for the given polls.pollsId - the Id of the Polls CandidateBatchAdminSession NotFoundException - no Polls found by
the given Id NullArgumentException - pollsId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsCandidateBatchAdmin() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsCandidateBatchAdmin() and
supportsVisibleFederation() are true
RaceBatchAdminSession getRaceBatchAdminSession() throws OperationFailedException
OsidSession associated with the bulk race
administration service. RaceBatchAdminSession OperationFailedException - unable to complete requestUnimplementedException -
supportsRaceBatchAdmin() is false optional - This method must be implemented if
supportsRaceBatchAdmin() is true. RaceBatchAdminSession getRaceBatchAdminSessionForPolls(Id pollsId) throws NotFoundException, OperationFailedException
OsidSession associated with the bulk race
administration service for the given polls.pollsId - the Id of the Polls RaceBatchAdminSession NotFoundException - no Polls found by
the given Id NullArgumentException - pollsId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsRaceBatchAdmin() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsRaceBatchAdmin() and
supportsVisibleFederation() are true
BallotBatchAdminSession getBallotBatchAdminSession() throws OperationFailedException
OsidSession associated with the bulk ballot
administration service. BallotBatchAdminSession OperationFailedException - unable to complete requestUnimplementedException -
supportsBallotBatchAdmin() is false optional - This method must be implemented if
supportsBallotBatchAdmin() is true. BallotBatchAdminSession getBallotBatchAdminSessionForPolls(Id pollsId) throws NotFoundException, OperationFailedException
OsidSession associated with the bulk ballot
administration service for the given polls.pollsId - the Id of the Polls BallotBatchAdminSession NotFoundException - no Polls found by
the given Id NullArgumentException - pollsId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsBallotBatchAdmin() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsBallotBatchAdmin() and
supportsVisibleFederation() are true
PollsBatchAdminSession getPollsBatchAdminSession() throws OperationFailedException
OsidSession associated with the bulk polls
administration service. PollsBatchAdminSession OperationFailedException - unable to complete requestUnimplementedException -
supportsPollsBatchAdmin() is false optional - This method must be implemented if
supportsPollsBatchAdmin() is true.