votorola.a.election
Class CR_Unvote

java.lang.Object
  extended by CommandResponder.Base
      extended by CR_Vote
          extended by CR_Unvote
All Implemented Interfaces:
CommandResponder

public final class CR_Unvote
extends CR_Vote

Responder for the command 'unvote' - to withdraw a vote from an election.

See Also:
http://zelea.com/project/votorola/a/mail/guide.xht#unvote

Nested Class Summary
 
Nested classes/interfaces inherited from class CR_Vote
CR_Vote.CachedCountNodeTable, CR_Vote.TracePair
 
Nested classes/interfaces inherited from interface CommandResponder
CommandResponder.AnonymousIssueException, CommandResponder.Base, CommandResponder.Session, CommandResponder.X
 
Field Summary
 
Fields inherited from class CommandResponder.Base
electoralService, keyPrefix
 
Constructor Summary
CR_Unvote(Election election)
          Constructs a CR_Unvote.
 
Method Summary
 void help(CommandResponder.Session session)
          Calls X.
 Exception respond(String[] argv, CommandResponder.Session session)
          Responds to an invocation of the command.
 
Methods inherited from class CR_Vote
commitVoteAndEcho, compileOptions, echoTraces, election, finalRecipientOrNobody
 
Methods inherited from class CommandResponder.Base
acceptsAnonymousIssue, canonicalEmail, commandName, compileBaseOptions, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CR_Unvote

CR_Unvote(Election election)
Constructs a CR_Unvote.

Method Detail

help

public void help(CommandResponder.Session session)
Description copied from class: CommandResponder.Base
Calls X.helpDefault(keyPrefix,session).

Specified by:
help in interface CommandResponder
Overrides:
help in class CR_Vote

respond

public Exception respond(String[] argv,
                         CommandResponder.Session session)
Description copied from interface: CommandResponder
Responds to an invocation of the command.

Specified by:
respond in interface CommandResponder
Overrides:
respond in class CR_Vote
Parameters:
argv - array of command name (index 0) and any arguments (indeces 1..*)
Returns:
any soft exception, of temporary cause (which might clear up on a retry); or null if none occured