Interface Host

All Superinterfaces:
CollectionSizeBean, ecmwf.web.model.ModelBean
All Known Implementing Classes:
HostBean

public interface Host extends ecmwf.web.model.ModelBean, CollectionSizeBean
The Interface Host.
  • Method Details

    • setUser

      void setUser(ecmwf.web.model.users.User user)
      Sets the user.
      Parameters:
      user - the new user
    • getUser

      ecmwf.web.model.users.User getUser()
      Gets the user.
      Returns:
      the user
    • getNickName

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

      void setNickName(String n)
      Sets the nick name.
      Parameters:
      n - the new nick name
    • getCompletions

      String getCompletions()
      Gets the completions.
      Returns:
      the completions
    • getAutomaticLocation

      boolean getAutomaticLocation()
      Gets the automatic location.
      Returns:
      the automatic location
    • setAutomaticLocation

      void setAutomaticLocation(boolean b)
      Sets the automatic location.
      Parameters:
      b - the new automatic location
    • getLatitude

      Double getLatitude()
      Gets the latitude.
      Returns:
      the latitude
    • setLatitude

      void setLatitude(Double f)
      Sets the latitude.
      Parameters:
      f - the new latitude
    • getLongitude

      Double getLongitude()
      Gets the longitude.
      Returns:
      the longitude
    • setLongitude

      void setLongitude(Double f)
      Sets the longitude.
      Parameters:
      f - the new longitude
    • getType

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

      void setType(String n)
      Sets the type.
      Parameters:
      n - the new type
    • getAcquisitionFrequency

      long getAcquisitionFrequency()
      Gets the acquisition frequency.
      Returns:
      the acquisition frequency
    • getFormattedAcquisitionFrequency

      String getFormattedAcquisitionFrequency()
      Gets the formatted acquisition frequency.
      Returns:
      the formatted acquisition frequency
    • setAcquisitionFrequency

      void setAcquisitionFrequency(long i)
      Sets the acquisition frequency.
      Parameters:
      i - the new acquisition frequency
    • getFilterName

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

      void setFilterName(String n)
      Sets the filter name.
      Parameters:
      n - the new filter name
    • getNetworkName

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

      void setNetworkName(String s)
      Sets the network name.
      Parameters:
      s - the new network name
    • getAllNetworks

      List<ecmwf.web.util.bean.StringPair> getAllNetworks()
      Gets the all networks.
      Returns:
      the all networks
    • getTransferModuleNames

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

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

      void setNetworkCode(String s)
      Sets the network code.
      Parameters:
      s - the new network code
    • getCheckTime

      Date getCheckTime()
      Gets the check time.
      Returns:
      the check time
    • getCheckFrequency

      long getCheckFrequency()
      Gets the check frequency.
      Returns:
      the check frequency
    • getFormattedCheckFrequency

      String getFormattedCheckFrequency()
      Gets the formatted check frequency.
      Returns:
      the formatted check frequency
    • setCheckFrequency

      void setCheckFrequency(long i)
      Sets the check frequency.
      Parameters:
      i - the new check frequency
    • getValid

      boolean getValid()
      Gets the valid.
      Returns:
      the valid
    • getCheck

      boolean getCheck()
      Gets the check.
      Returns:
      the check
    • setCheck

      void setCheck(boolean b)
      Sets the check.
      Parameters:
      b - the new check
    • getCheckFilename

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

      void setCheckFilename(String s)
      Sets the check filename.
      Parameters:
      s - the new check filename
    • getMailOnSuccess

      boolean getMailOnSuccess()
      Gets the mail on success.
      Returns:
      the mail on success
    • setMailOnSuccess

      void setMailOnSuccess(boolean b)
      Sets the mail on success.
      Parameters:
      b - the new mail on success
    • getMailOnError

      boolean getMailOnError()
      Gets the mail on error.
      Returns:
      the mail on error
    • setMailOnError

      void setMailOnError(boolean b)
      Sets the mail on error.
      Parameters:
      b - the new mail on error
    • getNotifyOnce

      boolean getNotifyOnce()
      Gets the notify once.
      Returns:
      the notify once
    • setNotifyOnce

      void setNotifyOnce(boolean b)
      Sets the notify once.
      Parameters:
      b - the new notify once
    • getUserMail

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

      void setUserMail(String s)
      Sets the user mail.
      Parameters:
      s - the new user mail
    • getActive

      boolean getActive()
      Gets the active.
      Returns:
      the active
    • setActive

      void setActive(boolean b)
      Sets the active.
      Parameters:
      b - the new active
    • getComment

      String getComment()
      Gets the comment.
      Returns:
      the comment
    • setComment

      void setComment(String c)
      Sets the comment.
      Parameters:
      c - the new comment
    • getConnections

      int getConnections()
      Gets the connections.
      Returns:
      the connections
    • getData

      String getData()
      Gets the data.
      Returns:
      the data
    • getProperties

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

      String getJavascript()
      Gets the javascript.
      Returns:
      the javascript
    • setData

      void setData(String s)
      Sets the data.
      Parameters:
      s - the new data
    • getEcUser

      EcUser getEcUser() throws EcUserException
      Gets the ec user.
      Returns:
      the ec user
      Throws:
      EcUserException - the ec user exception
    • getLastOutput

      String getLastOutput()
      Gets the last output.
      Returns:
      the last output
    • getFormattedLastOutput

      String getFormattedLastOutput()
      Gets the formatted last output.
      Returns:
      the formatted last output
    • getECUserName

      String getECUserName()
      Gets the EC user name.
      Returns:
      the EC user name
    • setECUserName

      void setECUserName(String u)
      Sets the EC user name.
      Parameters:
      u - the new EC user name
    • getAllowedUsers

      Collection<EcUser> getAllowedUsers() throws TransferException
      Gets the allowed users.
      Returns:
      the allowed users
      Throws:
      TransferException - the transfer exception
    • addAllowedUser

      void addAllowedUser(EcUser u)
      Adds the allowed user.
      Parameters:
      u - the u
    • deleteAllowedUser

      void deleteAllowedUser(EcUser u)
      Delete allowed user.
      Parameters:
      u - the u
    • getHost

      String getHost()
      Gets the host.
      Returns:
      the host
    • setHost

      void setHost(String s)
      Sets the host.
      Parameters:
      s - the new host
    • getLogin

      String getLogin()
      Gets the login.
      Returns:
      the login
    • setLogin

      void setLogin(String s)
      Sets the login.
      Parameters:
      s - the new login
    • getMaxConnections

      int getMaxConnections()
      Gets the max connections.
      Returns:
      the max connections
    • setMaxConnections

      void setMaxConnections(int i)
      Sets the max connections.
      Parameters:
      i - the new max connections
    • getName

      String getName()
      Gets the name.
      Returns:
      the name
    • setName

      void setName(String s)
      Sets the name.
      Parameters:
      s - the new name
    • getPasswd

      String getPasswd()
      Gets the passwd.
      Returns:
      the passwd
    • setPasswd

      void setPasswd(String s)
      Sets the passwd.
      Parameters:
      s - the new passwd
    • getRetryCount

      int getRetryCount()
      Gets the retry count.
      Returns:
      the retry count
    • setRetryCount

      void setRetryCount(int i)
      Sets the retry count.
      Parameters:
      i - the new retry count
    • getRetryFrequency

      int getRetryFrequency()
      Gets the retry frequency.
      Returns:
      the retry frequency
    • getFormattedRetryFrequency

      String getFormattedRetryFrequency()
      Gets the formatted retry frequency.
      Returns:
      the formatted retry frequency
    • setRetryFrequency

      void setRetryFrequency(int i)
      Sets the retry frequency.
      Parameters:
      i - the new retry frequency
    • getTransferMethod

      TransferMethod getTransferMethod() throws TransferException
      Gets the transfer method.
      Returns:
      the transfer method
      Throws:
      TransferException - the transfer exception
    • getChangeLogList

      Collection<ChangeLog> getChangeLogList() throws TransferException
      Gets the change log list.
      Returns:
      the change log list
      Throws:
      TransferException - the transfer exception
    • setTransferMethod

      void setTransferMethod(TransferMethod m)
      Sets the transfer method.
      Parameters:
      m - the new transfer method
    • getTransferMethodName

      String getTransferMethodName()
      Gets the transfer method name.
      Returns:
      the transfer method name
    • setTransferMethodName

      void setTransferMethodName(String s)
      Sets the transfer method name.
      Parameters:
      s - the new transfer method name
    • getTransferGroup

      TransferGroup getTransferGroup() throws DataFileException
      Gets the transfer group.
      Returns:
      the transfer group
      Throws:
      DataFileException - the data file exception
    • setTransferGroup

      void setTransferGroup(TransferGroup m)
      Sets the transfer group.
      Parameters:
      m - the new transfer group
    • getTransferGroupName

      String getTransferGroupName()
      Gets the transfer group name.
      Returns:
      the transfer group name
    • setTransferGroupName

      void setTransferGroupName(String s)
      Sets the transfer group name.
      Parameters:
      s - the new transfer group name
    • getDir

      String getDir()
      Gets the dir.
      Returns:
      the dir
    • setDir

      void setDir(String dir)
      Sets the dir.
      Parameters:
      dir - the new dir
    • getSent

      long getSent()
      Gets the sent.
      Returns:
      the sent
    • getFormattedSent

      String getFormattedSent()
      Gets the formatted sent.
      Returns:
      the formatted sent
    • getDuration

      long getDuration()
      Gets the duration.
      Returns:
      the duration
    • getFormattedDuration

      String getFormattedDuration()
      Gets the formatted duration.
      Returns:
      the formatted duration
    • getBandWidth

      long getBandWidth()
      Gets the band width.
      Returns:
      the band width
    • getFormattedBandWidth

      String getFormattedBandWidth()
      Gets the formatted band width.
      Returns:
      the formatted band width
    • getFormattedBandWidthInMBitsPerSeconds

      double getFormattedBandWidthInMBitsPerSeconds()
      Gets the formatted band width in M bits per seconds.
      Returns:
      the formatted band width in M bits per seconds
    • increasePriorityWithinDestination

      void increasePriorityWithinDestination(Destination d, int step)
      Increase priority within destination.
      Parameters:
      d - the d
      step - the step
    • decreasePriorityWithinDestination

      void decreasePriorityWithinDestination(Destination d, int step)
      Decrease priority within destination.
      Parameters:
      d - the d
      step - the step
    • getDataTransfersToday

      Collection<DataTransferLightBean> getDataTransfersToday() throws TransferException
      Gets the data transfers today.
      Returns:
      the data transfers today
      Throws:
      TransferException - the transfer exception
    • getDestinations

      Collection<Destination> getDestinations() throws TransferException
      Gets the destinations.
      Returns:
      the destinations
      Throws:
      TransferException - the transfer exception
    • resetTransferStatistics

      void resetTransferStatistics(ecmwf.web.model.users.User u) throws TransferException
      Reset transfer statistics.
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • cleanDataWindow

      void cleanDataWindow(ecmwf.web.model.users.User u) throws TransferException
      Clean data window.
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • getReport

      String getReport(ecmwf.web.model.users.User u) throws TransferException
      Gets the report.
      Parameters:
      u - the u
      Returns:
      the report
      Throws:
      TransferException - the transfer exception
    • getReport

      String getReport(ecmwf.web.model.users.User u, Host proxy) throws TransferException
      Gets the report.
      Parameters:
      u - the u
      proxy - the proxy
      Returns:
      the report
      Throws:
      TransferException - the transfer exception
    • getOutput

      RemoteInputStream getOutput(ecmwf.web.model.users.User u) throws TransferException
      Gets the output.
      Parameters:
      u - the u
      Returns:
      the output
      Throws:
      TransferException - the transfer exception
    • transfer

      long transfer(ecmwf.web.model.users.User u, byte[] bytes, String target, long remotePos) throws TransferException
      Transfer.
      Parameters:
      u - the u
      bytes - the bytes
      target - the target
      remotePos - the remote pos
      Returns:
      the long
      Throws:
      TransferException - the transfer exception
    • getOjbImplementation

      Object getOjbImplementation()
      Gets the ojb implementation.
      Returns:
      the ojb implementation