Uses of Class
org.gswing.components.common.Election

Packages that use Election
org.gswing.components.common Package contains the classes common to gswing components. 
org.gswing.components.common.db Package contains the classes common to gswing gui components. 
org.gswing.components.input Package contains the gswing database insertion packages and classes. 
org.gswing.components.output.exporter Output package containing classes for exporting data from the database. 
org.gswing.framework.services Package contains gswing framework services interfaces. 
 

Uses of Election in org.gswing.components.common
 

Methods in org.gswing.components.common that return Election
 Election Entry.getElection()
           
 Election Result.getElection()
          Set the election data for this result.
 

Methods in org.gswing.components.common with parameters of type Election
 void Result.setElection(Election election)
          Set the election data of this result.
 boolean DbXmlWriter.writeToFile(Election election, Hashtable results, Vector leaders)
          Write the election data to file.
 

Constructors in org.gswing.components.common with parameters of type Election
ConstituencyEntry(Election election, Candidate candidate, int votes)
          Construcor.
Entry(Election election, int votes)
          Construcor.
ListEntry(Election election, Party party, int votes)
          Construcor.
ResultKey(Constituency constituency, Election election)
          Constructor.
 

Uses of Election in org.gswing.components.common.db
 

Methods in org.gswing.components.common.db that return Election
 Election DbReadAccess.getElection(Date date, String electionType)
          Get the election details for a particular election.
 Election DbReadAccess.getElection(int electionNo)
          Get the election details for a particular election.
 Election DbReadAccess.getLatestDate(Constituency constituency)
          Get the election of the latest result for this constituency.
 

Methods in org.gswing.components.common.db that return types with arguments of type Election
 Vector<Election> DbReadAccess.getElections()
          Get all elections in the database.
 Vector<Election> DbReadAccess.getElections(boolean includeByElections, char type)
          Get elections in the database.
 

Methods in org.gswing.components.common.db with parameters of type Election
 List<SimpleConstituency> DbReadAccess.getConstituencies(Election election)
          Fetch list of constituencies in an election.
 Vector<Candidate> DbReadAccess.getLeaders(Election election)
          Get list of leaders (as candidates) for this election.
 Vector<Candidate> DbReadAccess.getLeaders(Election election, int constituencyNo)
          Get list of leaders (as candidates) for this election and constituency.
 int DbReadAccess.getVotesCast(Constituency constituency, Election election)
          Fetch the number of votes cast in a constituency for a particular election.
 boolean DbReadAccess.resultExists(Election election, int candidateNo, String constituency)
          Check whether this result exists in the database.
 boolean DbReadAccess.resultExists(Election election, String participant, String constituency)
          Check whether this result exists in the database.
 

Uses of Election in org.gswing.components.input
 

Methods in org.gswing.components.input with parameters of type Election
 boolean DbWriteAccess.insertElection(Election election)
          Insert a new Election into the database.
 boolean DbWriteAccess.insertPartyLeader(Election election, Candidate candidate, Constituency constituency)
          Insert a new party leader into the database.
 

Uses of Election in org.gswing.components.output.exporter
 

Fields in org.gswing.components.output.exporter declared as Election
protected  Election AbstractDbToFile.election
           
 

Method parameters in org.gswing.components.output.exporter with type arguments of type Election
 void AbstractDbToFile.export(Vector<Election> elections)
          Kick off the export process.
 

Uses of Election in org.gswing.framework.services
 

Methods in org.gswing.framework.services that return Election
 Election IDbReadAccess.getElection(int electionNo)
          Get the election details for a particular election.
 Election IDbReadAccess.getLatestDate(Constituency constituency)
          Get the election of the latest result for this constituency.
 

Methods in org.gswing.framework.services that return types with arguments of type Election
 Vector<Election> IDbReadAccess.getElections()
          Get all elections in the database.
 

Methods in org.gswing.framework.services with parameters of type Election
 List<SimpleConstituency> IDbReadAccess.getConstituencies(Election election)
          Fetch all constituencies taking part in particular election.
 Vector IDbReadAccess.getLeaders(Election election)
          Get list of leaders (as candidates) for this election.
 Vector IDbReadAccess.getLeaders(Election election, int constituencyNo)
          Get list of leaders (as candidates) for a local election.
 int IDbReadAccess.getVotesCast(Constituency constituency, Election election)
          Fetch the number of votes cast in a constituency for a particular election.
 boolean IDbWriteAccess.insertElection(Election election)
          Insert a new Election into the database.
 boolean IDbWriteAccess.insertPartyLeader(Election election, Candidate candidate, Constituency constituency)
          Insert a party leader.
 boolean IDbReadAccess.resultExists(Election election, int candidateNo, String constituency)
          Check whether this result exists in the database.
 boolean IDbReadAccess.resultExists(Election election, String participant, String constituency)
          Check whether this result exists in the database.
 



Copyright © 2008. All Rights Reserved.