Keel 2.1RC2

org.keel.apps.poll.models
Class Results

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.Results
All Implemented Interfaces:
Configurable, LogEnabled, Model, Securable

public class Results
extends SecurableStandardLogEnabledModel

This method is used to view the results of a poll. The selected poll is noted in the top left corner of the header. Questions in the poll are shown in bold above the outlined choices for each question. To the right of the question are the total number of votes recorded for this poll. Each possible choice for the question is shown within the blue outlined box. To the right of this are statistics for that choice, showing the percentage of total votes that choice received along with the number of votes out of the total votes recorded. To the right of the statistics is a visual version of these same statistics showing the percentage in iconized format. A total of 10 icons are used for each question and are broken down to the nearest tenth for each choice which received a vote. Note that on checkbox questions, a negitive (non-checked) selection, is not displayed as a choice but is recorded as a vote.

Version:
$Revision: 1.10 $ $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
Results()
           
 
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

Results

public Results()
Method Detail

execute

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

Keel 2.1RC2

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