Keel 2.1RC2

org.keel.apps.poll.models
Class PromptCategory

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

public class PromptCategory
extends SecurableStandardLogEnabledModel
implements ThreadSafe

The Add/Update Category page is used to create a new category or to edit an existing category. A Description (name) is given to create a new category. Security for the new category is automatically set for the security group "root" and this group is given full permission to all security settings for the new category. This group can be overridden and another specified through configuration - see the system.xconf file for comments providing details.

Version:
$Revision: 1.8 $ $Date: 2003/10/10 23:16:29 $
Author:
Michael Nash

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
PromptCategory()
           
 
Method Summary
 ModelResponse execute(ModelRequest req)
          This state creates all the elements to prompt for a screen to add a new category.
 
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

PromptCategory

public PromptCategory()
Method Detail

execute

public ModelResponse execute(ModelRequest req)
                      throws ModelException
This state creates all the elements to prompt for a screen to add a new category.

Specified by:
execute in interface Model
Throws:
ModelException - Nested DB errors

Keel 2.1RC2

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