org.objectweb.jonas.webapp.jonasadmin.joramplatform
Class JoramQueueForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.objectweb.jonas.webapp.jonasadmin.joramplatform.DestinationForm
          extended by org.objectweb.jonas.webapp.jonasadmin.joramplatform.JoramQueueForm
All Implemented Interfaces:
java.io.Serializable

public final class JoramQueueForm
extends DestinationForm

Form bean for the Joram local queue form page.

Author:
Frederic MAISTRE
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
JoramQueueForm()
           
 
Method Summary
 java.lang.String getMessageIds()
           
 int getNbMaxMsg()
           
 int getPendingMessages()
           
 int getPendingRequests()
           
 int getThreshold()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setMessageIds(java.lang.String messageIds)
           
 void setNbMaxMsg(int nbMaxMsg)
           
 void setPendingMessages(int pendingMessages)
           
 void setPendingRequests(int pendingRequests)
           
 void setThreshold(int threshold)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.joramplatform.DestinationForm
getAction, getBooleanVals, getCreationDate, getDmq, getFreelyReadable, getFreelyWriteable, getId, getListUsedByEjb, getName, getOName, getReaderList, getType, getWriterList, setAction, setBooleanVals, setCreationDate, setDmq, setFreelyReadable, setFreelyWriteable, setId, setListUsedByEjb, setName, setOName, setReaderList, setType, setWriterList
 
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
 

Constructor Detail

JoramQueueForm

public JoramQueueForm()
Method Detail

getMessageIds

public java.lang.String getMessageIds()
Returns:
Returns the messageIds.

setMessageIds

public void setMessageIds(java.lang.String messageIds)
Parameters:
messageIds - The messageIds to set.

getNbMaxMsg

public int getNbMaxMsg()
Returns:
Returns the nbMaxMsg.

setNbMaxMsg

public void setNbMaxMsg(int nbMaxMsg)
Parameters:
nbMaxMsg - The nbMaxMsg to set.

getPendingMessages

public int getPendingMessages()
Returns:
Returns the pendingMessages.

setPendingMessages

public void setPendingMessages(int pendingMessages)
Parameters:
pendingMessages - The pendingMessages to set.

getPendingRequests

public int getPendingRequests()
Returns:
Returns the pendingRequests.

setPendingRequests

public void setPendingRequests(int pendingRequests)
Parameters:
pendingRequests - The pendingRequests to set.

getThreshold

public int getThreshold()
Returns:
Returns the threshold.

setThreshold

public void setThreshold(int threshold)
Parameters:
threshold - The threshold to set.

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values.

Overrides:
reset in class DestinationForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found. If no errors are found, return null or an ActionErrors object with no recorded error messages.

Overrides:
validate in class DestinationForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing