Keel 2.1RC2

org.keel.apps.poll.models
Class AddPoll

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

public class AddPoll
extends SecurableStandardLogEnabledModel
implements ThreadSafe

Handle submission of a form to add a new poll. New polls will be added with full permissions for either the "root" group, or to the group specified in configuration for this model with the <default-group> element.

Version:
$Revision: 1.9 $ $Date: 2003/10/10 23:16:29 $
Author:
Michael Nash
See Also:
For details on the process of adding a new poll.

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
AddPoll()
           
 
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

AddPoll

public AddPoll()
Method Detail

execute

public ModelResponse execute(ModelRequest req)
                      throws ModelException
Specified by:
execute in interface Model
Throws:
ModelException - For any nested model or DB exceptions

Keel 2.1RC2

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