Class HostActionForm
java.lang.Object
org.apache.struts.action.ActionForm
ecmwf.web.controller.ECMWFActionForm
ecmwf.ecpds.master.plugin.http.controller.transfer.host.HostActionForm
- All Implemented Interfaces:
Serializable
public class HostActionForm
extends ecmwf.web.controller.ECMWFActionForm
The Class HostActionForm.
- See Also:
-
Field Summary
Fields inherited from class ecmwf.web.controller.ECMWFActionForm
ALLOWED_IN_IDENTIFIER, DATE, DATE_FORMAT_LONG, DATE_FORMAT_MEDIUM, DATE_FORMAT_SHORT, DATE_FORMATS, IDENTIFIER, ISODATE, NUMBER, NUMBER_OTHER, STRING
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final String
convertFromDouble
(Double value) Convert from double.double
convertToDouble
(String value) Convert to double.Gets the acquisition frequency.Gets the active.Gets the allowed user options.Gets the allowed users.Gets the automatic location.getCheck()
Gets the check.Gets the check filename.Gets the check frequency.Gets the comment.Gets the completions.Gets the connections.getDir()
Gets the dir.Gets the filter name.Collection
<ecmwf.web.util.bean.Pair> Gets the filter name options.getHost()
Gets the host.getId()
Gets the id.Gets the javascript.Gets the latitude.getLogin()
Gets the login.Gets the longitude.Gets the mail on error.Gets the mail on success.Gets the max connections.getName()
Gets the name.Gets the network code.Gets the network name.Collection
<ecmwf.web.util.bean.Pair> Gets the network options.Gets the nick name.Gets the notify once.getOwner()
Gets the owner.Gets the owner options.Gets the passwd.Gets the properties.Gets the retry count.Gets the retry frequency.Gets the transfer group.Gets the transfer group options.Gets the transfer method.Gets the transfer method options.Gets the transfer method value.Gets the transfer module names.getType()
Gets the type.Collection
<ecmwf.web.util.bean.Pair> Gets the type options.Gets the user mail.getValid()
Gets the valid.protected void
Populate from host.protected void
populateHost
(Host h) Populate host.void
setAcquisitionFrequency
(String string) Sets the acquisition frequency.void
Sets the active.void
setAutomaticLocation
(String automaticLocation) Sets the automatic location.void
Sets the check.void
setCheckFilename
(String string) Sets the check filename.void
setCheckFrequency
(String string) Sets the check frequency.void
setComment
(String string) Sets the comment.void
setConnections
(String string) Sets the connections.void
setDefaultValues
(ecmwf.web.model.users.User u) Sets the default values.void
Sets the dir.void
setFilterName
(String filterName) Sets the filter name.void
Sets the host.void
Sets the id.void
setJavascript
(String string) Sets the javascript.void
setLatitude
(String latitude) Sets the latitude.void
Sets the login.void
setLongitude
(String longitude) Sets the longitude.void
setMailOnError
(String string) Sets the mail on error.void
setMailOnSuccess
(String string) Sets the mail on success.void
setMaxConnections
(String string) Sets the max connections.void
Sets the name.void
setNetworkCode
(String networkCode) Sets the network code.void
setNetworkName
(String networkName) Sets the network name.void
setNickName
(String nickName) Sets the nick name.void
setNotifyOnce
(String string) Sets the notify once.void
Sets the owner.void
Sets the passwd.void
setProperties
(String string) Sets the properties.void
setRetryCount
(String string) Sets the retry count.void
setRetryFrequency
(String string) Sets the retry frequency.void
setTransferGroup
(String transferGroup) Sets the transfer group.void
setTransferMethod
(String string) Sets the transfer method.void
Sets the type.void
setUserMail
(String string) Sets the user mail.void
Sets the valid.Methods inherited from class ecmwf.web.controller.ECMWFActionForm
adaptActionForward, adaptActionForward, addError, addError, addError, checkSize, checkType, cleanErrors, convertToBoolean, convertToDate, convertToDate, convertToInt, convertToLong, convertToString, getErrors, getPathParameter, getPathParameters, isDate, isIdentifier, isIsoDate, isNumber, isNumber, isString, newErrors, newErrors, newErrors, newErrors, nonBlank, nonNull, validateContent, validateContent
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
-
Constructor Details
-
HostActionForm
public HostActionForm()
-
-
Method Details
-
setDefaultValues
public void setDefaultValues(ecmwf.web.model.users.User u) Sets the default values.- Parameters:
u
- the new default values
-
getCheckFrequency
-
getAcquisitionFrequency
Gets the acquisition frequency.- Returns:
- the acquisition frequency
-
getValid
-
getCheck
-
getCheckFilename
-
getMailOnSuccess
-
getMailOnError
-
getNotifyOnce
-
getUserMail
-
getActive
-
getComment
-
getConnections
-
getCompletions
-
getProperties
-
getJavascript
-
getTransferModuleNames
Gets the transfer module names.- Returns:
- the transfer module names
- Throws:
TransferException
- the transfer exception
-
getHost
-
getDir
-
getId
-
getLogin
-
getMaxConnections
-
getName
-
getPasswd
-
getRetryCount
-
getRetryFrequency
-
setCheckFrequency
Sets the check frequency.- Parameters:
string
- the new check frequency
-
setAcquisitionFrequency
Sets the acquisition frequency.- Parameters:
string
- the new acquisition frequency
-
setValid
-
setCheck
-
setCheckFilename
Sets the check filename.- Parameters:
string
- the new check filename
-
setMailOnSuccess
Sets the mail on success.- Parameters:
string
- the new mail on success
-
setMailOnError
Sets the mail on error.- Parameters:
string
- the new mail on error
-
setNotifyOnce
Sets the notify once.- Parameters:
string
- the new notify once
-
setUserMail
-
setActive
-
setComment
-
setConnections
Sets the connections.- Parameters:
string
- the new connections
-
setProperties
Sets the properties.- Parameters:
string
- the new properties
-
setJavascript
Sets the javascript.- Parameters:
string
- the new javascript
-
setHost
-
setDir
-
setId
-
setLogin
-
setMaxConnections
Sets the max connections.- Parameters:
string
- the new max connections
-
setName
-
setPasswd
-
setRetryCount
Sets the retry count.- Parameters:
string
- the new retry count
-
setRetryFrequency
Sets the retry frequency.- Parameters:
string
- the new retry frequency
-
getNetworkCode
-
setNetworkCode
Sets the network code.- Parameters:
networkCode
- the new network code
-
getNetworkName
-
setNetworkName
Sets the network name.- Parameters:
networkName
- the new network name
-
getNickName
-
setNickName
Sets the nick name.- Parameters:
nickName
- the new nick name
-
setAutomaticLocation
Sets the automatic location.- Parameters:
automaticLocation
- the new automatic location
-
getLatitude
-
setLatitude
-
getLongitude
-
setLongitude
Sets the longitude.- Parameters:
longitude
- the new longitude
-
getAutomaticLocation
-
getType
-
setType
-
getFilterName
-
setFilterName
Sets the filter name.- Parameters:
filterName
- the new filter name
-
getTransferMethodOptions
Gets the transfer method options.- Returns:
- the transfer method options
-
getFilterNameOptions
Gets the filter name options.- Returns:
- the filter name options
-
getNetworkOptions
Gets the network options.- Returns:
- the network options
-
getTypeOptions
Gets the type options.- Returns:
- the type options
-
getTransferGroupOptions
Gets the transfer group options.- Returns:
- the transfer group options
-
getAllowedUsers
-
getAllowedUserOptions
Gets the allowed user options.- Returns:
- the allowed user options
-
getTransferGroup
-
setTransferGroup
Sets the transfer group.- Parameters:
transferGroup
- the new transfer group
-
getTransferMethod
-
getTransferMethodValue
Gets the transfer method value.- Returns:
- the transfer method value
-
setTransferMethod
Sets the transfer method.- Parameters:
string
- the new transfer method
-
getOwnerOptions
-
getOwner
-
setOwner
-
populateHost
-
convertToDouble
Convert to double.- Parameters:
value
- the value- Returns:
- the double
-
convertFromDouble
-
populateFromHost
-