|
|||||||||
| Home >> All >> com >> RuntimeCollective >> questionnaire >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.questionnaire.form
Class EditQuestionnaireForm2

java.lang.Objectorg.apache.struts.action.ActionForm
com.RuntimeCollective.sitemap.form.PublishableDatesForm
com.RuntimeCollective.questionnaire.form.EditQuestionnaireForm2
- All Implemented Interfaces:
- com.RuntimeCollective.webapps.form.BeanForm, java.io.Serializable
- public class EditQuestionnaireForm2
- extends com.RuntimeCollective.sitemap.form.PublishableDatesForm
A form for creating/editing a Questionnaire (proposed replacement for EditQuestionnaireForm but not fully checked for compatibility).
- Version:
- $Id: EditQuestionnaireForm2.java,v 1.3 2003/09/30 15:12:54 joe Exp $
| Field Summary | |
protected boolean |
AnonP
The AnonP (whether or not you need to be logged in to vote) |
protected java.lang.String |
Description
The Description |
protected java.lang.String |
Name
The Name |
protected int |
QuestionnaireId
The QuestionnaireId |
protected boolean |
Secret
Whether the results of the poll are secret to normal users |
| Fields inherited from class com.RuntimeCollective.sitemap.form.PublishableDatesForm |
action, GoDeadDateDay, GoDeadDateMonth, GoDeadDateYear, GoLiveDateDay, GoLiveDateMonth, GoLiveDateYear, UseExpiryDate |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
EditQuestionnaireForm2()
|
|
| Method Summary | |
boolean |
getAnonP()
Get the AnonP |
java.lang.String |
getDescription()
Get the Description |
java.lang.String |
getName()
Get the Name |
int |
getQuestionnaireId()
Get the QuestionnaireId |
boolean |
getSecret()
Get whether the results of the poll are secret to normal users |
boolean |
isAnonP()
Get the AnonP |
boolean |
isSecret()
Get whether the results of the poll are secret to normal users |
com.RuntimeCollective.webapps.bean.EntityBean |
populateBean(com.RuntimeCollective.webapps.bean.EntityBean bean)
Wrapper for populateBean which just ensures the form complies with the BeanForm signature. |
void |
populateForm(com.RuntimeCollective.webapps.bean.EntityBean bean)
Wrapper for populateForm which just ensures the form complies with the BeanForm signature. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset form variables. |
void |
setAnonP(boolean anonP)
Set the AnonP |
void |
setDescription(java.lang.String description)
Set the Description |
void |
setName(java.lang.String name)
Set the Name |
void |
setQuestionnaireId(int questionnaireId)
Set the QuestionnaireId |
void |
setSecret(boolean secret)
Set whether the results of the poll are secret to normal users |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the form details. |
| Methods inherited from class com.RuntimeCollective.sitemap.form.PublishableDatesForm |
getFormAction, getGoDeadDateDay, getGoDeadDateMonth, getGoDeadDateYear, getGoLiveDateDay, getGoLiveDateMonth, getGoLiveDateYear, getUseExpiryDate, populateBean, populateForm, setFormAction, setGoDeadDateDay, setGoDeadDateMonth, setGoDeadDateYear, setGoLiveDateDay, setGoLiveDateMonth, setGoLiveDateYear, setUseExpiryDate |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
Name
protected java.lang.String Name
- The Name
Description
protected java.lang.String Description
- The Description
AnonP
protected boolean AnonP
- The AnonP (whether or not you need to be logged in to vote)
Secret
protected boolean Secret
- Whether the results of the poll are secret to normal users
QuestionnaireId
protected int QuestionnaireId
- The QuestionnaireId
| Constructor Detail |
EditQuestionnaireForm2
public EditQuestionnaireForm2()
| Method Detail |
setName
public void setName(java.lang.String name)
- Set the Name
getName
public java.lang.String getName()
- Get the Name
setDescription
public void setDescription(java.lang.String description)
- Set the Description
getDescription
public java.lang.String getDescription()
- Get the Description
setAnonP
public void setAnonP(boolean anonP)
- Set the AnonP
getAnonP
public boolean getAnonP()
- Get the AnonP
isAnonP
public boolean isAnonP()
- Get the AnonP
setSecret
public void setSecret(boolean secret)
- Set whether the results of the poll are secret to normal users
getSecret
public boolean getSecret()
- Get whether the results of the poll are secret to normal users
isSecret
public boolean isSecret()
- Get whether the results of the poll are secret to normal users
setQuestionnaireId
public void setQuestionnaireId(int questionnaireId)
- Set the QuestionnaireId
getQuestionnaireId
public int getQuestionnaireId()
- Get the QuestionnaireId
populateForm
public void populateForm(com.RuntimeCollective.webapps.bean.EntityBean bean)
- Description copied from class:
com.RuntimeCollective.sitemap.form.PublishableDatesForm - Wrapper for populateForm which just ensures the form complies with the BeanForm signature.
populateBean
public com.RuntimeCollective.webapps.bean.EntityBean populateBean(com.RuntimeCollective.webapps.bean.EntityBean bean)
- Wrapper for populateBean which just ensures the form complies with the BeanForm signature.
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Reset form variables.
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Validate the form details. This returns the following error codes:
error.Questionnaire.NameNullerror.Questionnaire.NameTooLongerror.Questionnaire.DescriptionNullerror.Questionnaire.DescriptionTooLongerror.Questionnaire.QuestionnaireIdInvaliderror.PublishableDates.GoLiveDateInvaliderror.PublishableDates.GoDeadDateInvaliderror.PublishableDates.GoLiveAfterGoDeaderror.PublishableDates.GoDeadInPast
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> questionnaire >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC