org.ow2.jonas.webapp.jonasadmin.service.mail
Class MailFactoryForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.ow2.jonas.webapp.jonasadmin.service.mail.MailFactoryForm
All Implemented Interfaces:
Serializable

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

Author:
Adriana Danes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
MailFactoryForm()
           
 
Method Summary
 String getAction()
           
 String getBcc()
           
 String getCc()
           
 String getJndiName()
           
 ArrayList getListUsedByEjb()
           
 String getMailFactoryName()
           
 String getPassword()
           
 String getSessionProps()
           
 String getSubject()
           
 String getTo()
           
 String getUsername()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setAction(String action)
           
 void setBcc(String bcc)
           
 void setCc(String cc)
           
 void setJndiName(String jndiName)
           
 void setListUsedByEjb(ArrayList listUsedByEjb)
           
 void setMailFactoryName(String mailFactoryName)
           
 void setPassword(String password)
           
 void setSessionProps(String sessionProps)
           
 void setSubject(String subject)
           
 void setTo(String to)
           
 void setUsername(String username)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, 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

MailFactoryForm

public MailFactoryForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  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,
                                                      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
Returns:
List of errors

getAction

public String getAction()

setAction

public void setAction(String action)

getMailFactoryName

public String getMailFactoryName()

setMailFactoryName

public void setMailFactoryName(String mailFactoryName)

getJndiName

public String getJndiName()

setJndiName

public void setJndiName(String jndiName)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getSessionProps

public String getSessionProps()

setSessionProps

public void setSessionProps(String sessionProps)

getTo

public String getTo()

setTo

public void setTo(String to)

getSubject

public String getSubject()

setSubject

public void setSubject(String subject)

getCc

public String getCc()

setCc

public void setCc(String cc)

getBcc

public String getBcc()

setBcc

public void setBcc(String bcc)

getListUsedByEjb

public ArrayList getListUsedByEjb()

setListUsedByEjb

public void setListUsedByEjb(ArrayList listUsedByEjb)


Copyright © 2010 OW2 Consortium. All Rights Reserved.