org.ow2.jonas.webapp.jonasadmin.service.smartclient
Class SmartclientServiceForm
java.lang.Object
org.apache.struts.action.ActionForm
org.ow2.jonas.webapp.jonasadmin.service.smartclient.SmartclientServiceForm
- All Implemented Interfaces:
- Serializable
public class SmartclientServiceForm
- extends org.apache.struts.action.ActionForm
Implement form for smartclient service management.
- Author:
- S. Ali Tokmen
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Method Summary |
int |
getPort()
|
boolean |
isActive()
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
Reset all properties to their default values. |
void |
setActive(boolean active)
|
void |
setPort(int port)
|
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 |
SmartclientServiceForm
public SmartclientServiceForm()
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 instancerequest
- 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 instancerequest
- The servlet request we are processing
getPort
public int getPort()
setPort
public void setPort(int port)
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
Copyright © 2010 OW2 Consortium. All Rights Reserved.