|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.keel.services.model.StandardModel
org.keel.services.model.StandardLogEnabledModel
org.keel.services.model.SecurableStandardLogEnabledModel
org.keel.apps.poll.models.PromptPoll
This method creates and adds a new poll to a given category. When creating a new Poll, the User is prompted to enter a Poll Description which is used as the name of the Poll. The Open and Close Date and Times are also entered on this page. Note that the required format for the Date/Time field is shown to the left of the entry field. Dates can be entered without entering exact hours/minutes which then default to 00:00:00. The final prompt is "View Results Allowed Before Poll Closes?" with the choices of Allowed or Disallowed. If the User selects Allowed, any User, with security permission, will be able to view the Summary and the Participant results before the poll is closed. The icons for these will be displayed on the Poll Listing page. If Disallowed is selected, these views may only be accessed after the poll has closed and until then the icons are not displayed on the Poll Listing page. The newly added Poll is only viewable by "root" (or another group if specified in configuration) until securtity is explicitly granted.
| 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 | |
PromptPoll() |
|
| 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 |
public PromptPoll()
| Method Detail |
public ModelResponse execute(ModelRequest req)
throws ModelException
execute in interface ModelModelException - Nested DB errors
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||