Keel 2.1RC2

org.keel.apps.poll.models
Class PromptVote

java.lang.Object
  extended byorg.keel.services.model.StandardModel
      extended byorg.keel.services.model.StandardLogEnabledModel
          extended byorg.keel.services.model.SecurableStandardLogEnabledModel
              extended byorg.keel.apps.poll.models.PromptVote
All Implemented Interfaces:
Configurable, LogEnabled, Model, Securable

public class PromptVote
extends SecurableStandardLogEnabledModel

Creates the elements required to create a form for an user to submit a vote on a specified Poll, noted at the top left corner of the header. Questions are shown on the left with choices centered vertically on the right in the format specified for the Question. When a User clicks on Submit Vote and their vote is successfully recorded, they are taken to the Vote Confirmation page.

Version:
$Revision: 1.9 $ $Date: 2003/10/10 23:16:29 $
Author:
Michael Nash, Shash Chatterjee

Field Summary
 
Fields inherited from class org.keel.services.model.SecurableStandardLogEnabledModel
 
Fields inherited from class org.keel.services.model.StandardLogEnabledModel
log
 
Fields inherited from class org.keel.services.model.StandardModel
configuration
 
Fields inherited from interface org.keel.services.model.Model
ROLE
 
Constructor Summary
PromptVote()
           
 
Method Summary
 ModelResponse execute(ModelRequest req)
           
 
Methods inherited from class org.keel.services.model.SecurableStandardLogEnabledModel
getAuthorizationManager, setAuthorizationManager
 
Methods inherited from class org.keel.services.model.StandardLogEnabledModel
enableLogging
 
Methods inherited from class org.keel.services.model.StandardModel
configure, getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromptVote

public PromptVote()
Method Detail

execute

public ModelResponse execute(ModelRequest req)
                      throws ModelException
Throws:
ControllerException - Nested DB errors
ModelException

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.