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

Packages that use Candidate
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.framework.services Package contains gswing framework services interfaces. 
 

Uses of Candidate in org.gswing.components.common
 

Methods in org.gswing.components.common that return Candidate
 Candidate ConstituencyEntry.getCandidate()
           
 

Constructors in org.gswing.components.common with parameters of type Candidate
ConstituencyEntry(Election election, Candidate candidate, int votes)
          Construcor.
 

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

Methods in org.gswing.components.common.db that return Candidate
 Candidate DbReadAccess.getCandidate(int candidateNo)
          Get candidate object in the database matching the candidate no.
 

Methods in org.gswing.components.common.db that return types with arguments of type Candidate
 Vector<Candidate> DbReadAccess.getCandidates()
          Get all candidates in the database.
 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.
 

Methods in org.gswing.components.common.db with parameters of type Candidate
 int DbReadAccess.getCandidateNo(Candidate candidate)
          Get the unique candidate number of a candidate.
 

Uses of Candidate in org.gswing.components.input
 

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

Uses of Candidate in org.gswing.framework.services
 

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

Methods in org.gswing.framework.services with parameters of type Candidate
 int IDbReadAccess.getCandidateNo(Candidate candidate)
          Get the unique candidate number of a candidate.
 boolean IDbWriteAccess.insertCandidate(Candidate candidate)
          Insert a new Candidate into the database.
 boolean IDbWriteAccess.insertPartyLeader(Election election, Candidate candidate, Constituency constituency)
          Insert a party leader.
 



Copyright © 2008. All Rights Reserved.