org.figure8.join.control.form
Class SetupForm
java.lang.Object
org.apache.struts.action.ActionForm
org.figure8.join.control.JoinForm
org.figure8.join.control.form.SetupForm
- All Implemented Interfaces:
- java.io.Serializable
public class SetupForm
- extends JoinForm
Form object used during setup phase of Join application.
- Version:
- $Revision: 1.1 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary |
SetupForm()
Creates a new instance of SetupForm |
Methods inherited from class org.figure8.join.control.JoinForm |
addActionError, addActionError, addActionError, getGuiMessageResources, getId, getIdStr, getMessageResources, reset, setId, setIdStr, validate, validateEntityObjectId |
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 |
SetupForm
public SetupForm()
- Creates a new instance of SetupForm
setSetupType
public void setSetupType(java.lang.String type)
- Parameters:
type
- Installation type choosed
getSetupType
public java.lang.String getSetupType()
- Returns:
- Installation type choosed
setSetupMode
public void setSetupMode(java.lang.String setupMode)
- Parameters:
setupMode
- Installation mode choosed
getSetupMode
public java.lang.String getSetupMode()
- Returns:
- Installation mode choosed
setSetupSynch
public void setSetupSynch(java.lang.String setupSynch)
- Parameters:
setupSynch
- The synchronous property of this installation
getSetupSynch
public java.lang.String getSetupSynch()
- Returns:
- The synchronous property of this installation
setHttpUrl
public void setHttpUrl(java.lang.String httpUrl)
- Parameters:
httpUrl
- Application over side http url
getHttpUrl
public java.lang.String getHttpUrl()
- Returns:
- Application over side http url
setBrokerUrl
public void setBrokerUrl(java.lang.String brokerUrl)
- Parameters:
brokerUrl
- Application over side broker url
getBrokerUrl
public java.lang.String getBrokerUrl()
- Returns:
- Application over side broker url
getBrokerPort
public int getBrokerPort()
- Returns:
- Message broker listening port
setBrokerPortStr
public void setBrokerPortStr(java.lang.String brokerPortStr)
- Parameters:
brokerPortStr
- Message broker port string representation
getBrokerPortStr
public java.lang.String getBrokerPortStr()
- Returns:
- Message broker listening port string repesentation
setAdminName
public void setAdminName(java.lang.String name)
- Parameters:
name
- Administrator name
getAdminName
public java.lang.String getAdminName()
- Returns:
- Adminitrator name
setAdminPassword
public void setAdminPassword(java.lang.String pwd)
- Parameters:
pwd
- Administrator password
getAdminPassword
public java.lang.String getAdminPassword()
- Returns:
- Administrator password
setAdminCPassword
public void setAdminCPassword(java.lang.String cPassword)
- Parameters:
cPassword
- Administrator password confirmation
getAdminCPassword
public java.lang.String getAdminCPassword()
- Returns:
- Administrator password confirmation
setAdminLastname
public void setAdminLastname(java.lang.String lastname)
- Parameters:
lastname
- Administrator lastname
getAdminLastname
public java.lang.String getAdminLastname()
- Returns:
- Administrator lastname
setAdminFirstname
public void setAdminFirstname(java.lang.String firstname)
- Parameters:
firstname
- Administrator firstname
getAdminFirstname
public java.lang.String getAdminFirstname()
- Returns:
- Admnistrator firstname
setUserName
public void setUserName(java.lang.String name)
- Parameters:
name
- DB user name
getUserName
public java.lang.String getUserName()
- Returns:
- DB user name
setUserPassword
public void setUserPassword(java.lang.String pwd)
- Parameters:
pwd
- DB user password
getUserPassword
public java.lang.String getUserPassword()
- Returns:
- DB user password
setDatabaseUrl
public void setDatabaseUrl(java.lang.String url)
- Parameters:
url
- Database URL
getDatabaseUrl
public java.lang.String getDatabaseUrl()
- Returns:
- Database URL
setDriverClassname
public void setDriverClassname(java.lang.String driver)
- Parameters:
driver
- JDBC driver class name
getDriverClassname
public java.lang.String getDriverClassname()
- Returns:
- JDBC driver class name
setDialect
public void setDialect(java.lang.String dialect)
- Parameters:
dialect
- DB dialect to use
getDialect
public java.lang.String getDialect()
- Returns:
- DB dialect to use
getPoolSize
public int getPoolSize()
- Returns:
- Maximum size of connection pool size
setPoolSizeStr
public void setPoolSizeStr(java.lang.String poolSizeStr)
- Parameters:
poolSizeStr
- Maximum size of connection pool size
getPoolSizeStr
public java.lang.String getPoolSizeStr()
- Returns:
- Maximum size of connection pool size
setDatasource
public void setDatasource(java.lang.String jndi)
- Parameters:
jndi
- Datasource jndi name
getDatasource
public java.lang.String getDatasource()
- Returns:
- Datasource jndi name
doValidate
public void doValidate(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validation of the form attributes.
- Specified by:
doValidate
in class JoinForm
- Parameters:
operation
- String representing the operation to invoke on Actionmapping
- Mapping between forwards name and path for this actionrequest
- The servlet container request wrapper
Copyright © 2005-2008 Join. All Rights Reserved.