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