Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jeteam.bean.config.web
Class PriorityCRUDDispatchForm  view PriorityCRUDDispatchForm download PriorityCRUDDispatchForm.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.jeteam.bean.config.web.PriorityCRUDDispatchForm
All Implemented Interfaces:
java.io.Serializable

public class PriorityCRUDDispatchForm
extends org.apache.struts.action.ActionForm


Field Summary
private  java.lang.String description
           
private  java.lang.String level
           
private  java.lang.String name
           
private  org.jeteam.bean.config.PriorityDTO[] priorities
           
private  org.jeteam.bean.config.PriorityDTO priority
           
private  java.lang.String priorityName
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
PriorityCRUDDispatchForm()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getLevel()
           
 java.lang.String getName()
           
 org.jeteam.bean.config.PriorityDTO[] getPriorities()
           
 org.jeteam.bean.config.PriorityDTO getPriority()
           
 java.lang.String getPriorityName()
           
 void reset(org.apache.struts.action.ActionMapping actionMapping, javax.servlet.http.HttpServletRequest httpServletRequest)
          Reset bean properties to their default state, as needed.
 void setDescription(java.lang.String description)
           
 void setLevel(java.lang.String level)
           
 void setName(java.lang.String name)
           
 void setPriorities(org.jeteam.bean.config.PriorityDTO[] priorities)
           
 void setPriority(org.jeteam.bean.config.PriorityDTO priority)
           
 void setPriorityName(java.lang.String priorityName)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

priorityName

private java.lang.String priorityName

name

private java.lang.String name

description

private java.lang.String description

level

private java.lang.String level

priority

private org.jeteam.bean.config.PriorityDTO priority

priorities

private org.jeteam.bean.config.PriorityDTO[] priorities
Constructor Detail

PriorityCRUDDispatchForm

public PriorityCRUDDispatchForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping actionMapping,
                  javax.servlet.http.HttpServletRequest httpServletRequest)
Description copied from class: org.apache.struts.action.ActionForm

Reset bean properties to their default state, as needed. This method is called before the properties are repopulated by the controller.

The default implementation does nothing. In practice, the only properties that need to be reset are those which represent checkboxes on a session-scoped form. Otherwise, properties can be given initial values where the field is declared.

If the form is stored in session-scope so that values can be collected over multiple requests (a "wizard"), you must be very careful of which properties, if any, are reset. As mentioned, session-scope checkboxes must be reset to false for any page where this property is set. This is because the client does not submit a checkbox value when it is clear (false). If a session-scoped checkbox is not proactively reset, it can never be set to false.

This method is not the appropriate place to initialize form value for an "update" type page (this should be done in a setup Action). You mainly need to worry about setting checkbox values to false; most of the time you can leave this method unimplemented.


getPriorities

public org.jeteam.bean.config.PriorityDTO[] getPriorities()

setPriorities

public void setPriorities(org.jeteam.bean.config.PriorityDTO[] priorities)

getPriorityName

public java.lang.String getPriorityName()

setPriorityName

public void setPriorityName(java.lang.String priorityName)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getLevel

public java.lang.String getLevel()

setLevel

public void setLevel(java.lang.String level)

getPriority

public org.jeteam.bean.config.PriorityDTO getPriority()

setPriority

public void setPriority(org.jeteam.bean.config.PriorityDTO priority)