Interface DataTransfer

All Superinterfaces:
ArrivalMonitoringParameters, CollectionSizeBean, ecmwf.web.model.ModelBean, TransferMonitoringParameters
All Known Implementing Classes:
DataTransferBaseBean, DataTransferHeavyBean, DataTransferLightBean

The Interface DataTransfer.
  • 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
    • getDataFile

      DataFile getDataFile() throws TransferException
      Gets the data file.
      Returns:
      the data file
      Throws:
      TransferException - the transfer exception
    • getDataFileId

      long getDataFileId()
      Gets the data file id.
      Returns:
      the data file id
    • getComment

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

      String getFormattedComment()
      Gets the formatted comment.
      Returns:
      the formatted comment
    • getIdentity

      String getIdentity()
      Gets the identity.
      Returns:
      the identity
    • getAsap

      boolean getAsap()
      Gets the asap.
      Returns:
      the asap
    • getDeleted

      boolean getDeleted()
      Gets the deleted.
      Returns:
      the deleted
    • getBackup

      boolean getBackup()
      Gets the backup.
      Returns:
      the backup
    • getProxy

      boolean getProxy()
      Gets the proxy.
      Returns:
      the proxy
    • getBackupHostName

      String getBackupHostName()
      Gets the backup host name.
      Returns:
      the backup host name
    • getProxyHostName

      String getProxyHostName()
      Gets the proxy host name.
      Returns:
      the proxy host name
    • getBackupHost

      Host getBackupHost() throws TransferException
      Gets the backup host.
      Returns:
      the backup host
      Throws:
      TransferException - the transfer exception
    • getProxyHost

      Host getProxyHost() throws TransferException
      Gets the proxy host.
      Returns:
      the proxy host
      Throws:
      TransferException - the transfer exception
    • getReplicated

      boolean getReplicated()
      Gets the replicated.
      Returns:
      the replicated
    • getUniqueKey

      String getUniqueKey()
      Gets the unique key.
      Returns:
      the unique key
    • getSize

      long getSize()
      Gets the size.
      Returns:
      the size
    • getFormattedSize

      String getFormattedSize()
      Gets the formatted size.
      Returns:
      the formatted size
    • getDestination

      Destination getDestination() throws TransferException
      Gets the destination.
      Returns:
      the destination
      Throws:
      TransferException - the transfer exception
    • getDestinationName

      String getDestinationName()
      Gets the destination name.
      Returns:
      the destination name
    • getExpiryDate

      Date getExpiryDate()
      Gets the expiry date.
      Returns:
      the expiry date
    • getExpired

      boolean getExpired()
      Gets the expired.
      Returns:
      the expired
    • getHost

      Host getHost() throws TransferException
      Gets the host.
      Returns:
      the host
      Throws:
      TransferException - the transfer exception
    • getHostNickName

      String getHostNickName()
      Gets the host nick name.
      Returns:
      the host nick name
    • getHostName

      String getHostName()
      Gets the host name.
      Returns:
      the host name
    • getPriority

      int getPriority()
      Gets the priority.
      Returns:
      the priority
    • getScheduledTime

      Date getScheduledTime()
      Gets the scheduled time.
      Returns:
      the scheduled time
    • getQueueTime

      Date getQueueTime()
      Gets the queue time.
      Returns:
      the queue time
    • getScheduledTimeMinusMinutes

      Date getScheduledTimeMinusMinutes(int minutesBefore)
      Gets the scheduled time minus minutes.
      Parameters:
      minutesBefore - the minutes before
      Returns:
      the scheduled time minus minutes
    • getStartTime

      Date getStartTime()
      Gets the start time.
      Returns:
      the start time
    • getRetryTime

      Date getRetryTime()
      Gets the retry time.
      Returns:
      the retry time
    • getFinishTime

      Date getFinishTime()
      The FIRST TIME a file is SUCCESSFULLY transferred. Even if it is requeued later and re-sent, this value won't change. This is to be used for monitoring, because operators don't want to be
      Returns:
      the finish time
    • getRealFinishTime

      Date getRealFinishTime()
      The date of the LAST TIME a file transfer is finished, successfully OR NOT.
      Returns:
      the real finish time
    • getFailedTime

      Date getFailedTime()
      Gets the failed time.
      Returns:
      the failed time
    • getStartCount

      int getStartCount()
      Gets the start count.
      Returns:
      the start count
    • getRequeueCount

      int getRequeueCount()
      Gets the requeue count.
      Returns:
      the requeue count
    • getStatus

      String getStatus() throws TransferException
      Gets the status.
      Returns:
      the status
      Throws:
      TransferException - the transfer exception
    • getFormattedStatus

      String getFormattedStatus() throws TransferException
      Gets the formatted status.
      Returns:
      the formatted status
      Throws:
      TransferException - the transfer exception
    • getMemberStateFormattedStatus

      String getMemberStateFormattedStatus() throws TransferException
      Gets the member state formatted status.
      Returns:
      the member state formatted status
      Throws:
      TransferException - the transfer exception
    • getDetailedStatus

      String getDetailedStatus() throws TransferException
      Gets the detailed status.
      Returns:
      the detailed status
      Throws:
      TransferException - the transfer exception
    • getMemberStateDetailedStatus

      String getMemberStateDetailedStatus() throws TransferException
      Gets the member state detailed status.
      Returns:
      the member state detailed status
      Throws:
      TransferException - the transfer exception
    • getStatusCode

      String getStatusCode()
      Gets the status code.
      Returns:
      the status code
    • getTarget

      String getTarget()
      Gets the target.
      Returns:
      the target
    • getRetrievalProgress

      String getRetrievalProgress() throws TransferException
      Gets the retrieval progress.
      Returns:
      the retrieval progress
      Throws:
      TransferException - the transfer exception
    • getProgress

      int getProgress() throws TransferException
      Gets the progress.
      Returns:
      the progress
      Throws:
      TransferException - the transfer exception
    • getSent

      long getSent() throws TransferException
      Gets the sent.
      Returns:
      the sent
      Throws:
      TransferException - the transfer exception
    • getFormattedSent

      String getFormattedSent() throws TransferException
      Gets the formatted sent.
      Returns:
      the formatted sent
      Throws:
      TransferException - the transfer exception
    • getDuration

      long getDuration() throws TransferException
      Gets the duration.
      Returns:
      the duration
      Throws:
      TransferException - the transfer exception
    • getFormattedDuration

      String getFormattedDuration() throws TransferException
      Gets the formatted duration.
      Returns:
      the formatted duration
      Throws:
      TransferException - the transfer exception
    • getTransferRate

      long getTransferRate() throws TransferException
      Gets the transfer rate.
      Returns:
      the transfer rate
      Throws:
      TransferException - the transfer exception
    • getFormattedTransferRate

      String getFormattedTransferRate() throws TransferException
      Gets the formatted transfer rate.
      Returns:
      the formatted transfer rate
      Throws:
      TransferException - the transfer exception
    • getFormattedTransferRateInMBitsPerSeconds

      double getFormattedTransferRateInMBitsPerSeconds() throws TransferException
      Gets the formatted transfer rate in M bits per seconds.
      Returns:
      the formatted transfer rate in M bits per seconds
      Throws:
      TransferException - the transfer exception
    • getCopy

      DataTransfer getCopy()
      Gets the copy.
      Returns:
      the copy
    • isRetry

      boolean isRetry()
      Checks if is retry.
      Returns:
      true, if is retry
    • setRetry

      void setRetry(boolean b)
      Sets the retry.
      Parameters:
      b - the new retry
    • getTransferServer

      TransferServer getTransferServer() throws TransferException
      Gets the transfer server.
      Returns:
      the transfer server
      Throws:
      TransferException - the transfer exception
    • getTransferServerName

      String getTransferServerName()
      Gets the transfer server name.
      Returns:
      the transfer server name
    • getTransferHistory

      Collection<TransferHistory> getTransferHistory() throws TransferException
      Gets the transfer history.
      Returns:
      the transfer history
      Throws:
      TransferException - the transfer exception
    • getTransferHistoryAfterScheduledTime

      Collection<TransferHistory> getTransferHistoryAfterScheduledTime() throws TransferException
      Gets the transfer history after scheduled time.
      Returns:
      the transfer history after scheduled time
      Throws:
      TransferException - the transfer exception
    • getOlderTransfersForSameDataFile

      Collection<DataTransfer> getOlderTransfersForSameDataFile() throws TransferException
      Gets the older transfers for same data file.
      Returns:
      the older transfers for same data file
      Throws:
      TransferException - the transfer exception
    • setDataFileId

      void setDataFileId(long id)
      Sets the data file id.
      Parameters:
      id - the new data file id
    • setDestinationName

      void setDestinationName(String name)
      Sets the destination name.
      Parameters:
      name - the new destination name
    • setExpiryDate

      void setExpiryDate(Date d)
      Sets the expiry date.
      Parameters:
      d - the new expiry date
    • setHostName

      void setHostName(String name)
      Sets the host name.
      Parameters:
      name - the new host name
    • setBackupHostName

      void setBackupHostName(String name)
      Sets the backup host name.
      Parameters:
      name - the new backup host name
    • setProxyHostName

      void setProxyHostName(String name)
      Sets the proxy host name.
      Parameters:
      name - the new proxy host name
    • setPriority

      void setPriority(int p, ecmwf.web.model.users.User u) throws TransferException
      Sets the priority.
      Parameters:
      p - the p
      u - the u
      Throws:
      TransferException - the transfer exception
    • setExpiryDate

      void setExpiryDate(Date date, ecmwf.web.model.users.User u) throws TransferException
      Sets the expiry date.
      Parameters:
      date - the date
      u - the u
      Throws:
      TransferException - the transfer exception
    • setStartTime

      void setStartTime(Date d)
      Sets the start time.
      Parameters:
      d - the new start time
    • setFinishTime

      void setFinishTime(Date d)
      Sets the finish time.
      Parameters:
      d - the new finish time
    • setStatus

      void setStatus(String status)
      Sets the status.
      Parameters:
      status - the new status
    • setTarget

      void setTarget(String target)
      Sets the target.
      Parameters:
      target - the new target
    • setTransferServerName

      void setTransferServerName(String name)
      Sets the transfer server name.
      Parameters:
      name - the new transfer server name
    • setSent

      void setSent(long s)
      Sets the sent.
      Parameters:
      s - the new sent
    • setDuration

      void setDuration(long s)
      Sets the duration.
      Parameters:
      s - the new duration
    • setStartCount

      void setStartCount(int i)
      Sets the start count.
      Parameters:
      i - the new start count
    • interruptRetrieval

      void interruptRetrieval(ecmwf.web.model.users.User u) throws TransferException
      Interrupt retrieval.
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • requeue

      void requeue(ecmwf.web.model.users.User u) throws TransferException
      Requeue.
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • putOnHold

      void putOnHold(ecmwf.web.model.users.User u) throws TransferException
      Put on hold.
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • stop

      void stop(ecmwf.web.model.users.User u) throws TransferException
      Stop.
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • scheduleNow

      void scheduleNow(ecmwf.web.model.users.User u) throws TransferException
      Schedule now.
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • getCanBeRequeued

      boolean getCanBeRequeued()
      Gets the can be requeued.
      Returns:
      the can be requeued
    • getCanBePutOnHold

      boolean getCanBePutOnHold()
      Gets the can be put on hold.
      Returns:
      the can be put on hold
    • getCanBeStopped

      boolean getCanBeStopped()
      Gets the can be stopped.
      Returns:
      the can be stopped
    • getCanBeDownloaded

      boolean getCanBeDownloaded()
      Gets the can be downloaded.
      Returns:
      the can be downloaded
    • getEarliestTime

      Date getEarliestTime()
      Gets the earliest time.
      Returns:
      the earliest time
    • getLatestTime

      Date getLatestTime()
      Gets the latest time.
      Returns:
      the latest time
    • getPredictedTime

      Date getPredictedTime()
      Gets the predicted time.
      Returns:
      the predicted time
    • getTargetTime

      Date getTargetTime()
      Gets the target time.
      Returns:
      the target time