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:
  • 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

      public String getCheckFrequency()
      Gets the check frequency.
      Returns:
      the check frequency
    • getAcquisitionFrequency

      public String getAcquisitionFrequency()
      Gets the acquisition frequency.
      Returns:
      the acquisition frequency
    • getValid

      public String getValid()
      Gets the valid.
      Returns:
      the valid
    • getCheck

      public String getCheck()
      Gets the check.
      Returns:
      the check
    • getCheckFilename

      public String getCheckFilename()
      Gets the check filename.
      Returns:
      the check filename
    • getMailOnSuccess

      public String getMailOnSuccess()
      Gets the mail on success.
      Returns:
      the mail on success
    • getMailOnError

      public String getMailOnError()
      Gets the mail on error.
      Returns:
      the mail on error
    • getNotifyOnce

      public String getNotifyOnce()
      Gets the notify once.
      Returns:
      the notify once
    • getUserMail

      public String getUserMail()
      Gets the user mail.
      Returns:
      the user mail
    • getActive

      public String getActive()
      Gets the active.
      Returns:
      the active
    • getComment

      public String getComment()
      Gets the comment.
      Returns:
      the comment
    • getConnections

      public String getConnections()
      Gets the connections.
      Returns:
      the connections
    • getCompletions

      public String getCompletions()
      Gets the completions.
      Returns:
      the completions
    • getProperties

      public String getProperties()
      Gets the properties.
      Returns:
      the properties
    • getJavascript

      public String getJavascript()
      Gets the javascript.
      Returns:
      the javascript
    • getTransferModuleNames

      public String getTransferModuleNames() throws TransferException
      Gets the transfer module names.
      Returns:
      the transfer module names
      Throws:
      TransferException - the transfer exception
    • getHost

      public String getHost()
      Gets the host.
      Returns:
      the host
    • getDir

      public String getDir()
      Gets the dir.
      Returns:
      the dir
    • getId

      public String getId()
      Gets the id.
      Returns:
      the id
    • getLogin

      public String getLogin()
      Gets the login.
      Returns:
      the login
    • getMaxConnections

      public String getMaxConnections()
      Gets the max connections.
      Returns:
      the max connections
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • getPasswd

      public String getPasswd()
      Gets the passwd.
      Returns:
      the passwd
    • getRetryCount

      public String getRetryCount()
      Gets the retry count.
      Returns:
      the retry count
    • getRetryFrequency

      public String getRetryFrequency()
      Gets the retry frequency.
      Returns:
      the retry frequency
    • setCheckFrequency

      public void setCheckFrequency(String string)
      Sets the check frequency.
      Parameters:
      string - the new check frequency
    • setAcquisitionFrequency

      public void setAcquisitionFrequency(String string)
      Sets the acquisition frequency.
      Parameters:
      string - the new acquisition frequency
    • setValid

      public void setValid(String string)
      Sets the valid.
      Parameters:
      string - the new valid
    • setCheck

      public void setCheck(String string)
      Sets the check.
      Parameters:
      string - the new check
    • setCheckFilename

      public void setCheckFilename(String string)
      Sets the check filename.
      Parameters:
      string - the new check filename
    • setMailOnSuccess

      public void setMailOnSuccess(String string)
      Sets the mail on success.
      Parameters:
      string - the new mail on success
    • setMailOnError

      public void setMailOnError(String string)
      Sets the mail on error.
      Parameters:
      string - the new mail on error
    • setNotifyOnce

      public void setNotifyOnce(String string)
      Sets the notify once.
      Parameters:
      string - the new notify once
    • setUserMail

      public void setUserMail(String string)
      Sets the user mail.
      Parameters:
      string - the new user mail
    • setActive

      public void setActive(String string)
      Sets the active.
      Parameters:
      string - the new active
    • setComment

      public void setComment(String string)
      Sets the comment.
      Parameters:
      string - the new comment
    • setConnections

      public void setConnections(String string)
      Sets the connections.
      Parameters:
      string - the new connections
    • setProperties

      public void setProperties(String string)
      Sets the properties.
      Parameters:
      string - the new properties
    • setJavascript

      public void setJavascript(String string)
      Sets the javascript.
      Parameters:
      string - the new javascript
    • setHost

      public void setHost(String string)
      Sets the host.
      Parameters:
      string - the new host
    • setDir

      public void setDir(String string)
      Sets the dir.
      Parameters:
      string - the new dir
    • setId

      public void setId(String string)
      Sets the id.
      Parameters:
      string - the new id
    • setLogin

      public void setLogin(String string)
      Sets the login.
      Parameters:
      string - the new login
    • setMaxConnections

      public void setMaxConnections(String string)
      Sets the max connections.
      Parameters:
      string - the new max connections
    • setName

      public void setName(String string)
      Sets the name.
      Parameters:
      string - the new name
    • setPasswd

      public void setPasswd(String string)
      Sets the passwd.
      Parameters:
      string - the new passwd
    • setRetryCount

      public void setRetryCount(String string)
      Sets the retry count.
      Parameters:
      string - the new retry count
    • setRetryFrequency

      public void setRetryFrequency(String string)
      Sets the retry frequency.
      Parameters:
      string - the new retry frequency
    • getNetworkCode

      public String getNetworkCode()
      Gets the network code.
      Returns:
      the network code
    • setNetworkCode

      public void setNetworkCode(String networkCode)
      Sets the network code.
      Parameters:
      networkCode - the new network code
    • getNetworkName

      public String getNetworkName()
      Gets the network name.
      Returns:
      the network name
    • setNetworkName

      public void setNetworkName(String networkName)
      Sets the network name.
      Parameters:
      networkName - the new network name
    • getNickName

      public String getNickName()
      Gets the nick name.
      Returns:
      the nick name
    • setNickName

      public void setNickName(String nickName)
      Sets the nick name.
      Parameters:
      nickName - the new nick name
    • setAutomaticLocation

      public void setAutomaticLocation(String automaticLocation)
      Sets the automatic location.
      Parameters:
      automaticLocation - the new automatic location
    • getLatitude

      public String getLatitude()
      Gets the latitude.
      Returns:
      the latitude
    • setLatitude

      public void setLatitude(String latitude)
      Sets the latitude.
      Parameters:
      latitude - the new latitude
    • getLongitude

      public String getLongitude()
      Gets the longitude.
      Returns:
      the longitude
    • setLongitude

      public void setLongitude(String longitude)
      Sets the longitude.
      Parameters:
      longitude - the new longitude
    • getAutomaticLocation

      public String getAutomaticLocation()
      Gets the automatic location.
      Returns:
      the automatic location
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(String type)
      Sets the type.
      Parameters:
      type - the new type
    • getFilterName

      public String getFilterName()
      Gets the filter name.
      Returns:
      the filter name
    • setFilterName

      public void setFilterName(String filterName)
      Sets the filter name.
      Parameters:
      filterName - the new filter name
    • getTransferMethodOptions

      public Collection<TransferMethod> getTransferMethodOptions()
      Gets the transfer method options.
      Returns:
      the transfer method options
    • getFilterNameOptions

      public Collection<ecmwf.web.util.bean.Pair> getFilterNameOptions()
      Gets the filter name options.
      Returns:
      the filter name options
    • getNetworkOptions

      public Collection<ecmwf.web.util.bean.Pair> getNetworkOptions()
      Gets the network options.
      Returns:
      the network options
    • getTypeOptions

      public Collection<ecmwf.web.util.bean.Pair> getTypeOptions()
      Gets the type options.
      Returns:
      the type options
    • getTransferGroupOptions

      public Collection<TransferGroup> getTransferGroupOptions()
      Gets the transfer group options.
      Returns:
      the transfer group options
    • getAllowedUsers

      public Collection<EcUser> getAllowedUsers()
      Gets the allowed users.
      Returns:
      the allowed users
    • getAllowedUserOptions

      public Collection<EcUser> getAllowedUserOptions()
      Gets the allowed user options.
      Returns:
      the allowed user options
    • getTransferGroup

      public String getTransferGroup()
      Gets the transfer group.
      Returns:
      the transfer group
    • setTransferGroup

      public void setTransferGroup(String transferGroup)
      Sets the transfer group.
      Parameters:
      transferGroup - the new transfer group
    • getTransferMethod

      public String getTransferMethod()
      Gets the transfer method.
      Returns:
      the transfer method
    • getTransferMethodValue

      public String getTransferMethodValue()
      Gets the transfer method value.
      Returns:
      the transfer method value
    • setTransferMethod

      public void setTransferMethod(String string)
      Sets the transfer method.
      Parameters:
      string - the new transfer method
    • getOwnerOptions

      public Collection<EcUser> getOwnerOptions()
      Gets the owner options.
      Returns:
      the owner options
    • getOwner

      public String getOwner()
      Gets the owner.
      Returns:
      the owner
    • setOwner

      public void setOwner(String string)
      Sets the owner.
      Parameters:
      string - the new owner
    • populateHost

      protected void populateHost(Host h)
      Populate host.
      Parameters:
      h - the h
    • convertToDouble

      public double convertToDouble(String value)
      Convert to double.
      Parameters:
      value - the value
      Returns:
      the double
    • convertFromDouble

      public static final String convertFromDouble(Double value)
      Convert from double.
      Parameters:
      value - the value
      Returns:
      the string
    • populateFromHost

      protected void populateFromHost(Host h)
      Populate from host.
      Parameters:
      h - the h