OSID Logo
OSID Specifications
voting package
Version 3.1.0
Interfaceosid.voting.VotingManager
Implementsosid.OsidManager
osid.voting.VotingProfile
Used Byosid.orchestration.OrchestrationManager
Description

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

  • VotingSession: a session to vote
  • VotingResultsSession: a session to examine voting results
  • VoterAllocationLookupSession: a session to look up voter allocations
  • VoterAllocationAdminSession: a session to manage voter allocations
  • VoteLookupSession: a session to retrieve votes
  • VoteQuerySession: a session to query for votes
  • VoteSearchSession: a session to search for votes
  • VoteAdminSession: a session to create and delete votes
  • VoteNotificationSession: a session to receive notifications pertaining to votechanges
  • VotePollsSession: a session to look up vote to polls mappings
  • VotePollsAssignmentSession: a session to manage vote to polls mappings
  • VoteSmartPollsSession: a session to manage smart vote pollss
  • CandidateLookupSession: a session to retrieve candidates
  • CandidateQuerySession: a session to query candidates
  • CandidateSearchSession: a session to search for candidates
  • CandidateAdminSession: a session to create and delete candidates
  • CandidateNotificationSession: a session to receive notifications pertaining to candidate changes
  • CandidatePollsSession: a session to look up candidate to polls mappings
  • CandidatePollsAssignmentSession: a session to manage candidate to polls mappings
  • CandidateSmartPollsSession: a session to manage smart candidate polls
  • RaceLookupSession: a session to retrieve races
  • RaceQuerySession: a session to query for races
  • RaceSearchSession: a session to search for races
  • RaceAdminSession: a session to create and delete races
  • RaceNotificationSession: a session to receive notifications pertaining to races changes
  • RacePollsSession: a session to look up races to polls mappings
  • RacePollsAssignmentSession: a session to manage race to polls mappings
  • RaceSmartPollsSession: a session to manage smart race polls
  • BallotLookupSession: a session to retrieve ballots
  • BallotQuerySession: a session to query for ballots
  • BallotSearchSession: a session to search for ballots
  • BallotAdminSession: a session to create and delete ballots
  • BallotNotificationSession: a session to receive notifications pertaining to ballots changes
  • BallotPollsSession: a session to look up ballots to polls mappings
  • BallotPollsAssignmentSession: a session to manage ballot to polls mappings
  • BallotSmartPollsSession: a session to manage smart ballot polls
  • PollsLookupSession: a session to retrieve polls
  • PollsQuerySession: a session to query polls
  • PollsSearchSession: a session to search for pollss
  • PollsAdminSession: a session to create, update and delete polls
  • PollsNotificationSession: a session to receive notifications pertaining to changes in polls
  • PollsHierarchySession: a session to traverse polls hierarchies
  • PollsHierarchyDesignSession: a session to manage polls hierarchies
MethodgetVotingSession
Description

Gets the OsidSession associated with the voting service.

Returnosid.voting.VotingSession a VotingSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoting() is false
Complianceoptional This method must be implemented if supportsVoting() is true.
MethodgetVotingSessionForPolls
Description

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

Parametersosid.id.IdpollsId the Id of the Pools
Returnosid.voting.VotingSession a VotingSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoting() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsVoting() and supportsVisibleFederation() are true
MethodgetRaceResultsSession
Description

Gets the OsidSession associated with the race results service.

Returnosid.voting.RaceResultsSession a RaceResultsSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceResults() is false
Complianceoptional This method must be implemented if supportsRaceResults() is true.
MethodgetRaceResultsSessionForPolls
Description

Gets the OsidSession associated with the race results service for the given polls.

Parametersosid.id.IdpollsId the Id of the Pools
Returnosid.voting.RaceResultsSession a RaceResultsSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceResults() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRaceResults() and supportsVisibleFederation() are true
MethodgetVoterAllocationLookupSession
Description

Gets the OsidSession associated with the voter allocation lookup service.

Returnosid.voting.VoterAllocationLookupSession a VoterAllocationLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoterAllocationLookup() is false
Complianceoptional This method must be implemented if supportsVoterAllocationLookup() is true.
MethodgetVoterAllocationLookupSessionForPolls
Description

Gets the OsidSession associated with the voter allocation lookup service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.VoterAllocationLookupSession a VoterAllocationLookupSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoterAllocationLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsVoterAllocationLookup() and supportsVisibleFederation() are true
MethodgetVoterAllocationAdminSession
Description

Gets the OsidSession associated with the voter allocation administrative service.

Returnosid.voting.VoterAllocationAdminSession a VoterAllocationAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoterAllocationAdmin() is false
Complianceoptional This method must be implemented if supportsVoterAllocationAdmin() is true.
MethodgetVoterAllocationAdminSessionForPolls
Description

Gets the OsidSession associated with the voter allocation administrative service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.VoterAllocationAdminSession a VoterAllocationAdminSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoterAllocationAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsVoterAllocationAdmin() and supportsVisibleFederation() are true
MethodgetVoteLookupSession
Description

Gets the OsidSession associated with the vote lookup service.

Returnosid.voting.VoteLookupSession a VoteLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteLookup() is false
Complianceoptional This method must be implemented if supportsVoteLookup() is true.
MethodgetVoteLookupSessionForPolls
Description

Gets the OsidSession associated with the vote lookup service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.VoteLookupSession a VoteLookupSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsVoteLookup() and supportsVisibleFederation() are true
MethodgetVoteQuerySession
Description

Gets the OsidSession associated with the vote query service.

Returnosid.voting.VoteQuerySession a VoteQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteQuery() is false
Complianceoptional This method must be implemented if supportsVoteQuery() is true.
MethodgetVoteQuerySessionForPolls
Description

Gets the OsidSession associated with the vote query service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.VoteQuerySession a VoteQuerySession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsVoteQuery() and supportsVisibleFederation() are true
MethodgetVoteSearchSession
Description

Gets the OsidSession associated with the vote search service.

Returnosid.voting.VoteSearchSession a VoteSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteSearch() is false
Complianceoptional This method must be implemented if supportsVoteSearch() is true.
MethodgetVoteSearchSessionForPolls
Description

Gets the OsidSession associated with the vote search service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.VoteSearchSession a VoteSearchSession
ErrorsNOT_FOUND no polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsVoteSearch() and supportsVisibleFederation() are true
MethodgetVoteNotificationSession
Description

Gets the OsidSession associated with the vote notification service.

Parametersosid.voting.VoteReceivervoteReceiver the notification callback
Returnosid.voting.VoteNotificationSession a VoteNotificationSession
ErrorsNULL_ARGUMENT voteReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteNotification() is false
Complianceoptional This method must be implemented if supportsVoteNotification() is true.
MethodgetVoteNotificationSessionForPolls
Description

Gets the OsidSession associated with the vote notification service for the given polls.

Parametersosid.voting.VoteReceivervoteReceiver the notification callback
osid.id.IdpollsId the Id of the Polls
Returnosid.voting.VoteNotificationSession a VoteNotificationSession
ErrorsNOT_FOUND no polls found by the given Id
NULL_ARGUMENT voteReceiver or pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsVoteNotification() and supportsVisibleFederation() are true
MethodgetVotePollsSession
Description

Gets the session for retrieving vote to polls mappings.

Returnosid.voting.VotePollsSession a VotePollsSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVotePolls() is false
Complianceoptional This method must be implemented if supportsVotePolls() is true.
MethodgetVotePollsAssignmentSession
Description

Gets the session for assigning votes to polls mappings.

Returnosid.voting.VotePollsAssignmentSession a VotePollsAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVotePollsAssignment() is false
Complianceoptional This method must be implemented if supportsVotePollsAssignment() is true.
MethodgetVoteSmartPollsSession
Description

Gets the session for managing dynamic vote polls.

Parametersosid.id.IdpollsId the Id of the polls
Returnosid.voting.VoteSmartPollsSession a VoteSmartPollsSession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVoteSmartPolls() is false
Complianceoptional This method must be implemented if supportsVoteSmartPolls() is true.
MethodgetCandidateLookupSession
Description

Gets the OsidSession associated with the candidate lookup service.

Returnosid.voting.CandidateLookupSession a CandidateLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateLookup() is false
Complianceoptional This method must be implemented if supportsCandidateLookup() is true.
MethodgetCandidateLookupSessionForPolls
Description

Gets the OsidSession associated with the candidate lookup service for the given polls.

Parametersosid.id.IdpollsId the Id of the polls
Returnosid.voting.CandidateLookupSession a CandidateLookupSession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsCandidateLookup() and supportsVisibleFederation() are true.
MethodgetCandidateQuerySession
Description

Gets a candidate query session.

Returnosid.voting.CandidateQuerySession a CandidateQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateQuery() is false
Complianceoptional This method must be implemented if supportsCandidateQuery() is true.
MethodgetCandidateQuerySessionForPolls
Description

Gets a candidate query session for the given polls.

Parametersosid.id.IdpollsId the Id of the polls
Returnosid.voting.CandidateQuerySession a CandidateQuerySession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsCandidateQuery() and supportsVisibleFederation() are true.
MethodgetCandidateSearchSession
Description

Gets a candidate search session.

Returnosid.voting.CandidateSearchSession a CandidateSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateSearch() is false
Complianceoptional This method must be implemented if supportsCandidateSearch() is true.
MethodgetCandidateSearchSessionForPolls
Description

Gets a candidate search session for the given polls.

Parametersosid.id.IdpollsId the Id of the polls
Returnosid.voting.CandidateSearchSession a CandidateSearchSession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsCandidateSearch() and supportsVisibleFederation() are true.
MethodgetCandidateAdminSession
Description

Gets a candidate administration session for creating, updating and deleting candidates.

Returnosid.voting.CandidateAdminSession a CandidateAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateAdmin() is false
Complianceoptional This method must be implemented if supportsCandidateAdmin() is true.
MethodgetCandidateAdminSessionForPolls
Description

Gets a candidate administration session for the given polls.

Parametersosid.id.IdpollsId the Id of the polls
Returnosid.voting.CandidateAdminSession a CandidateAdminSession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsCandidateAdmin() and supportsVisibleFederation() are true.
MethodgetCandidateNotificationSession
Description

Gets the notification session for notifications pertaining to candidate changes.

Parametersosid.voting.CandidateReceivercandidateReceiver the notification callback
Returnosid.voting.CandidateNotificationSession a CandidateNotificationSession
ErrorsNULL_ARGUMENT candidateReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateNotification() is false
Complianceoptional This method must be implemented if supportsCandidateNotification() is true.
MethodgetCandidateNotificationSessionForPolls
Description

Gets the candidate notification session for the given polls.

Parametersosid.voting.CandidateReceivercandidateReceiver the notification callback
osid.id.IdpollsId the Id of the polls
Returnosid.voting.CandidateNotificationSession a CandidateNotificationSession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT candidateReceiver or pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsCandidateNotfication() and supportsVisibleFederation() are true.
MethodgetCandidatePollsSession
Description

Gets the session for retrieving candidate to polls mappings.

Returnosid.voting.CandidatePollsSession a CandidatePollsSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidatePolls() is false
Complianceoptional This method must be implemented if supportsCandidatePolls() is true.
MethodgetCandidatePollsAssignmentSession
Description

Gets the session for assigning candidate to polls mappings.

Returnosid.voting.CandidatePollsAssignmentSession a CandidatePollsAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidatePollsAssignment() is false
Complianceoptional This method must be implemented if supportsCandidatePollsAssignment() is true.
MethodgetCandidateSmartPollsSession
Description

Gets the session for managing dynamic candidate polls.

Parametersosid.id.IdpollsId the Id of the polls
Returnosid.voting.CandidateSmartPollsSession a CandidateSmartPollsSession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCandidateSmartPolls() is false
Complianceoptional This method must be implemented if supportsCandidateSmartPolls() is true.
MethodgetRaceLookupSession
Description

Gets the OsidSession associated with the race lookup service.

Returnosid.voting.RaceLookupSession a RaceLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceLookup() is false
Complianceoptional This method must be implemented if supportsRaceLookup() is true.
MethodgetRaceLookupSessionForPolls
Description

Gets the OsidSession associated with the race lookup service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.RaceLookupSession a RaceLookupSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRaceLookup() and supportsVisibleFederation() are true
MethodgetRaceQuerySession
Description

Gets the OsidSession associated with the race query service.

Returnosid.voting.RaceQuerySession a RaceQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceQuery() is false
Complianceoptional This method must be implemented if supportsRaceQuery() is true.
MethodgetRaceQuerySessionForPolls
Description

Gets the OsidSession associated with the race query service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.RaceQuerySession a RaceQuerySession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRaceQuery() and supportsVisibleFederation() are true
MethodgetRaceSearchSession
Description

Gets the OsidSession associated with the race search service.

Returnosid.voting.RaceSearchSession a RaceSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceSearch() is false
Complianceoptional This method must be implemented if supportsRaceSearch() is true.
MethodgetRaceSearchSessionForPolls
Description

Gets the OsidSession associated with the race search service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.VoteSearchSession a RaceSearchSession
ErrorsNOT_FOUND no polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supporstRaceSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRaceSearch() and supportsVisibleFederation() are true
MethodgetRaceAdminSession
Description

Gets the OsidSession associated with the race administration service.

Returnosid.voting.RaceAdminSession a RaceAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceAdmin() is false
Complianceoptional This method must be implemented if supportsRaceAdmin() is true.
MethodgetRaceAdminSessionForPolls
Description

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

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.RaceAdminSession a RaceAdminSession
ErrorsNOT_FOUND no polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRaceAdmin() and supportsVisibleFederation() are true
MethodgetRaceNotificationSession
Description

Gets the OsidSession associated with the race notification service.

Parametersosid.voting.RaceReceiverraceReceiver the notification callback
Returnosid.voting.RaceNotificationSession a RaceNotificationSession
ErrorsNULL_ARGUMENT raceReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceNotification() is false
Complianceoptional This method must be implemented if supportsRaceNotification() is true.
MethodgetRaceNotificationSessionForPolls
Description

Gets the OsidSession associated with the race notification service for the given polls.

Parametersosid.voting.RaceReceiverraceReceiver the notification callback
osid.id.IdpollsId the Id of the Polls
Returnosid.voting.RaceNotificationSession a RaceNotificationSession
ErrorsNOT_FOUND no polls found by the given Id
NULL_ARGUMENT raceReceiver or pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRaceNotification() and supportsVisibleFederation() are true
MethodgetRacePollsSession
Description

Gets the session for retrieving race to polls mappings.

Returnosid.voting.RacePollsSession a RacePollsSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRacePolls() is false
Complianceoptional This method must be implemented if supportsRacePolls() is true.
MethodgetRacePollsAssignmentSession
Description

Gets the session for assigning race to polls mappings.

Returnosid.voting.RacePollsAssignmentSession a RacePollsAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRacePollsAssignment() is false
Complianceoptional This method must be implemented if supportsRacePollsAssignment() is true.
MethodgetRaceSmartPollsSession
Description

Gets the session for managing dynamic race polls.

Parametersosid.id.IdpollsId the Id of the polls
Returnosid.voting.RaceSmartPollsSession a RaceSmartPollsSession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceSmartPolls() is false
Complianceoptional This method must be implemented if supportsRaceSmartPolls() is true.
MethodgetBallotLookupSession
Description

Gets the OsidSession associated with the ballot lookup service.

Returnosid.voting.BallotLookupSession a BallotLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotLookup() is false
Complianceoptional This method must be implemented if supportsBallotLookup() is true.
MethodgetBallotLookupSessionForPolls
Description

Gets the OsidSession associated with the ballot lookup service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.BallotLookupSession a BallotLookupSession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBallotLookup() and supportsVisibleFederation() are true
MethodgetBallotQuerySession
Description

Gets the OsidSession associated with the ballot query service.

Returnosid.voting.BallotQuerySession a BallotQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotQuery() is false
Complianceoptional This method must be implemented if supportsBallotQuery() is true.
MethodgetBallotQuerySessionForPolls
Description

Gets the OsidSession associated with the ballot query service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.BallotQuerySession a BallotQuerySession
ErrorsNOT_FOUND no Polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBallotQuery() and supportsVisibleFederation() are true
MethodgetBallotSearchSession
Description

Gets the OsidSession associated with the ballot search service.

Returnosid.voting.BallotSearchSession a RaceSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRaceSearch() is false
Complianceoptional This method must be implemented if supportsBallotSearch() is true.
MethodgetBallotSearchSessionForPolls
Description

Gets the OsidSession associated with the ballot search service for the given polls.

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.BallotSearchSession a BallotSearchSession
ErrorsNOT_FOUND no polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supporstBallotSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBallotSearch() and supportsVisibleFederation() are true
MethodgetBallotAdminSession
Description

Gets the OsidSession associated with the ballot administration service.

Returnosid.voting.BallotAdminSession a BallotAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotAdmin() is false
Complianceoptional This method must be implemented if supportsBallotAdmin() is true.
MethodgetBallotAdminSessionForPolls
Description

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

Parametersosid.id.IdpollsId the Id of the Polls
Returnosid.voting.BallotAdminSession a BallotAdminSession
ErrorsNOT_FOUND no polls found by the given Id
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBallotAdmin() and supportsVisibleFederation() are true
MethodgetBallotNotificationSession
Description

Gets the OsidSession associated with the ballot notification service.

Parametersosid.voting.BallotReceiverballotReceiver the notification callback
Returnosid.voting.BallotNotificationSession a BallotNotificationSession
ErrorsNULL_ARGUMENT ballotReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotNotification() is false
Complianceoptional This method must be implemented if supportsBallotNotification() is true.
MethodgetBallotNotificationSessionForPolls
Description

Gets the OsidSession associated with the ballot notification service for the given polls.

Parametersosid.voting.BallotReceiverballotReceiver the notification callback
osid.id.IdpollsId the Id of the Polls
Returnosid.voting.BallotNotificationSession a BallotNotificationSession
ErrorsNOT_FOUND no polls found by the given Id
NULL_ARGUMENT ballotReceiver or pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBallotNotification() and supportsVisibleFederation() are true
MethodgetBallotPollsSession
Description

Gets the session for retrieving ballot to polls mappings.

Returnosid.voting.BallotPollsSession a BallotPollsSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotPolls() is false
Complianceoptional This method must be implemented if supportsBallotPolls() is true.
MethodgetBallotPollsAssignmentSession
Description

Gets the session for assigning ballot to polls mappings.

Returnosid.voting.BallotPollsAssignmentSession a BallotPollsAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotPollsAssignment() is false
Complianceoptional This method must be implemented if supportsBallotPollsAssignment() is true.
MethodgetBallotSmartPollsSession
Description

Gets the session for managing dynamic ballot polls.

Parametersosid.id.IdpollsId the Id of the polls
Returnosid.voting.BallotSmartPollsSession a BallotSmartPollsSession
ErrorsNOT_FOUND pollsId not found
NULL_ARGUMENT pollsId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBallotSmartPolls() is false
Complianceoptional This method must be implemented if supportsBallotSmartPolls() is true.
MethodgetPollsLookupSession
Description

Gets the polls lookup session.

Returnosid.voting.PollsLookupSession a PollsLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsLookup() is false
Complianceoptional This method must be implemented if supportsPollsLookup() is true.
MethodgetPollsQuerySession
Description

Gets the polls query session.

Returnosid.voting.PollsQuerySession a PollsQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsQuery() is false
Complianceoptional This method must be implemented if supportsPollsQuery() is true.
MethodgetPollsSearchSession
Description

Gets the polls search session.

Returnosid.voting.PollsSearchSession a PollsSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsSearch() is false
Complianceoptional This method must be implemented if supportsPollsSearch() is true.
MethodgetPollsAdminSession
Description

Gets the polls administrative session for creating, updating and deleteing polls.

Returnosid.voting.PollsAdminSession a PollsAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsAdmin() is false
Complianceoptional This method must be implemented if supportsPollsAdmin() is true.
MethodgetPollsNotificationSession
Description

Gets the notification session for subscripollsg to changes to a polls.

Parametersosid.voting.PollsReceiverpollsReceiver the notification callback
Returnosid.voting.PollsNotificationSession a PollsNotificationSession
ErrorsNULL_ARGUMENT pollsReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsNotification() is false
Complianceoptional This method must be implemented if supportsPollsNotification() is true.
MethodgetPollsHierarchySession
Description

Gets the polls hierarchy traversal session.

Returnosid.voting.PollsHierarchySession a PollsHierarchySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsHierarchy() is false
Complianceoptional This method must be implemented if supportsPollsHierarchy() is true.
MethodgetPollsHierarchyDesignSession
Description

Gets the polls hierarchy design session.

Returnosid.voting.PollsHierarchyDesignSession a PollsHierarchyDesignSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPollsHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsPollsHierarchyDesign() is true.
MethodgetVotingBatchManager
Description

Gets a VotingBatchManager.

Returnosid.voting.batch.VotingBatchManager a VotingBatchManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVotingBatch() is false
Complianceoptional This method must be implemented if supportsVotingBatch() is true.
MethodgetVotingRulesManager
Description

Gets a VotingRulesManager.

Returnosid.voting.rules.VotingRulesManager a VotingRulesManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsVotingRules() is false
Complianceoptional This method must be implemented if supportsVotingRules() is true.