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, STRINGFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final StringconvertFromDouble(Double value) Convert from double.doubleconvertToDouble(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 voidPopulate from host.protected voidpopulateHost(Host h) Populate host.voidsetAcquisitionFrequency(String string) Sets the acquisition frequency.voidSets the active.voidsetAutomaticLocation(String automaticLocation) Sets the automatic location.voidSets the check.voidsetCheckFilename(String string) Sets the check filename.voidsetCheckFrequency(String string) Sets the check frequency.voidsetComment(String string) Sets the comment.voidsetConnections(String string) Sets the connections.voidsetDefaultValues(ecmwf.web.model.users.User u) Sets the default values.voidSets the dir.voidsetFilterName(String filterName) Sets the filter name.voidSets the host.voidSets the id.voidsetJavascript(String string) Sets the javascript.voidsetLatitude(String latitude) Sets the latitude.voidSets the login.voidsetLongitude(String longitude) Sets the longitude.voidsetMailOnError(String string) Sets the mail on error.voidsetMailOnSuccess(String string) Sets the mail on success.voidsetMaxConnections(String string) Sets the max connections.voidSets the name.voidsetNetworkCode(String networkCode) Sets the network code.voidsetNetworkName(String networkName) Sets the network name.voidsetNickName(String nickName) Sets the nick name.voidsetNotifyOnce(String string) Sets the notify once.voidSets the owner.voidSets the passwd.voidsetProperties(String string) Sets the properties.voidsetRetryCount(String string) Sets the retry count.voidsetRetryFrequency(String string) Sets the retry frequency.voidsetTransferGroup(String transferGroup) Sets the transfer group.voidsetTransferMethod(String string) Sets the transfer method.voidSets the type.voidsetUserMail(String string) Sets the user mail.voidSets 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, validateContentMethods 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
-