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

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

public final class JoramTopicForm
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
JoramTopicForm()
           
 
Method Summary
 java.lang.String[] getSubscriberIds()
           
 int getSubscriptions()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setSubscriberIds(java.lang.String[] subscriberIds)
           
 void setSubscriptions(int subscriptions)
           
 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
getCreationDate, getDmq, getFreelyReadable, getFreelyWriteable, getId, getListUsedByEjb, getName, getReaderList, getType, getWriterList, setCreationDate, setDmq, setFreelyReadable, setFreelyWriteable, setId, setListUsedByEjb, setName, 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

JoramTopicForm

public JoramTopicForm()
Method Detail

getSubscriberIds

public java.lang.String[] getSubscriberIds()
Returns:
Returns the subscriberIds.

setSubscriberIds

public void setSubscriberIds(java.lang.String[] subscriberIds)
Parameters:
subscriberIds - The subscriberIds to set.

getSubscriptions

public int getSubscriptions()
Returns:
Returns the subscriptions.

setSubscriptions

public void setSubscriptions(int subscriptions)
Parameters:
subscriptions - The subscriptions 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