org.objectweb.jonas.webapp.jonasadmin.service.jms
Class TopicForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.objectweb.jonas.webapp.jonasadmin.service.jms.TopicForm
All Implemented Interfaces:
java.io.Serializable

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

Form used to present a Topic's properties

Author:
Adriana Danes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
TopicForm()
           
 
Method Summary
 java.util.ArrayList getListUsedByEjb()
           
 java.lang.String getName()
           
 int getSubscriptions()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setListUsedByEjb(java.util.ArrayList listUsedByEjb)
           
 void setName(java.lang.String name)
           
 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.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

TopicForm

public TopicForm()
Method Detail

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 org.apache.struts.action.ActionForm
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 org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getSubscriptions

public int getSubscriptions()

setSubscriptions

public void setSubscriptions(int subscriptions)

getListUsedByEjb

public java.util.ArrayList getListUsedByEjb()

setListUsedByEjb

public void setListUsedByEjb(java.util.ArrayList listUsedByEjb)