Class DataTransferLightBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.DataTransferBaseBean
ecmwf.ecpds.master.plugin.http.dao.transfer.DataTransferLightBean
- All Implemented Interfaces:
OjbImplementedBean
,CollectionSizeBean
,ArrivalMonitoringParameters
,DataTransfer
,TransferMonitoringParameters
,ecmwf.web.model.ModelBean
The Class DataTransferLightBean.
-
Field Summary
Fields inherited from interface ecmwf.ecpds.master.plugin.http.model.transfer.ArrivalMonitoringParameters
ANTICIPATION_TARGET1, ANTICIPATION_TARGET2, ANTICIPATION_TARGET3, ANTICIPATION_TARGET4, ARRIVAL_STATUS_BEFORE_PREDICTED, ARRIVAL_STATUS_BEFORE_TARGET1, ARRIVAL_STATUS_BEFORE_TARGET2, ARRIVAL_STATUS_NONE, ARRIVAL_STATUS_NOT_BEFORE_TARGET2, ARRIVAL_STATUS_NOT_BEFORE_TARGET3, ARRIVAL_STATUS_NOT_BEFORE_TARGET4, ARRIVAL_STATUS_OPERATORS_OK, COLORS
Fields inherited from interface ecmwf.ecpds.master.plugin.http.model.transfer.TransferMonitoringParameters
DAYS_TO_CONSIDER_BACK, TRANSFER_STATUS_BEFORE_PREDICTED, TRANSFER_STATUS_BEFORE_PREDICTED_PLUS_RANGE_BY_2, TRANSFER_STATUS_BEFORE_TARGET, TRANSFER_STATUS_NONE, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_2, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_4, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_6, TRANSFER_STATUS_OPERATORS_OK
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DataTransferLightBean
(DataTransfer transfer) Instantiates a new data transfer light bean. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the can be put on hold.boolean
Gets the can be requeued.boolean
Gets the can be stopped.Gets the destination.Gets the transfer server.protected void
setCanBePutOnHold
(boolean canBePutOnHold) Sets the can be put on hold.protected void
setCanBeRequeued
(boolean canBeRequeued) Sets the can be requeued.protected void
setCanBeStopped
(boolean canBeStopped) Sets the can be stopped.Methods inherited from class ecmwf.ecpds.master.plugin.http.dao.transfer.DataTransferBaseBean
equals, equals, getArrivalEarliestTime, getArrivalLatestTime, getArrivalMonitoringParameters, getArrivalPredictedTime, getArrivalStatus, getArrivalTargetTime, getAsap, getBackup, getBackupHost, getBackupHostName, getBeanInterfaceName, getCanBeDownloaded, getCollectionSize, getComment, getCopy, getDataFile, getDataFileId, getDeleted, getDestinationName, getDetailedStatus, getDuration, getEarliestTime, getExpired, getExpiryDate, getFailedTime, getFinishTime, getFormattedComment, getFormattedDuration, getFormattedSent, getFormattedSize, getFormattedStatus, getFormattedTransferRate, getFormattedTransferRateInMBitsPerSeconds, getHost, getHostName, getHostNickName, getId, getIdentity, getLatestTime, getMemberStateDetailedStatus, getMemberStateFormattedStatus, getOjbImplementation, getOlderTransfersForSameDataFile, getPredictedTime, getPriority, getProgress, getProxy, getProxyHost, getProxyHostName, getQueueTime, getRealFinishTime, getReplicated, getRequeueCount, getRetrievalProgress, getRetryTime, getScheduledTime, getScheduledTimeMinusMinutes, getSent, getSize, getStartCount, getStartTime, getStatus, getStatusCode, getTarget, getTargetTime, getTransferEarliestTime, getTransferHistory, getTransferHistoryAfterScheduledTime, getTransferLatestTime, getTransferMonitoringParameters, getTransferPredictedTime, getTransferRate, getTransferServerName, getTransferStatus, getTransferStatusHexColor, getTransferTargetTime, getUniqueKey, getUser, hashCode, interruptRetrieval, isRetry, putOnHold, requeue, scheduleNow, setBackupHostName, setDataFileId, setDataFileId, setDestinationName, setDuration, setExpiryDate, setExpiryDate, setFinishTime, setHostName, setPriority, setPriority, setProxyHostName, setRetry, setSent, setStartCount, setStartTime, setStatus, setTarget, setTransferServerName, setUser, stop, toString
Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setId
-
Constructor Details
-
DataTransferLightBean
Instantiates a new data transfer light bean.- Parameters:
transfer
- the transfer
-
-
Method Details
-
getDestination
Gets the destination. Gets the destination. Gets the destination.- Specified by:
getDestination
in interfaceDataTransfer
- Overrides:
getDestination
in classDataTransferBaseBean
- Returns:
- the destination
- Throws:
TransferException
- the transfer exception
-
getTransferServer
Gets the transfer server. Gets the transfer server. Gets the transfer server.- Specified by:
getTransferServer
in interfaceDataTransfer
- Overrides:
getTransferServer
in classDataTransferBaseBean
- Returns:
- the transfer server
- Throws:
TransferException
- the transfer exception
-
getCanBeRequeued
public boolean getCanBeRequeued()Gets the can be requeued. Gets the can be requeued. Gets the can be requeued.- Specified by:
getCanBeRequeued
in interfaceDataTransfer
- Overrides:
getCanBeRequeued
in classDataTransferBaseBean
- Returns:
- the can be requeued
-
getCanBePutOnHold
public boolean getCanBePutOnHold()Gets the can be put on hold. Gets the can be put on hold. Gets the can be put on hold.- Specified by:
getCanBePutOnHold
in interfaceDataTransfer
- Overrides:
getCanBePutOnHold
in classDataTransferBaseBean
- Returns:
- the can be put on hold
-
getCanBeStopped
public boolean getCanBeStopped()Gets the can be stopped. Gets the can be stopped. Gets the can be stopped.- Specified by:
getCanBeStopped
in interfaceDataTransfer
- Overrides:
getCanBeStopped
in classDataTransferBaseBean
- Returns:
- the can be stopped
-
setCanBeRequeued
protected void setCanBeRequeued(boolean canBeRequeued) Sets the can be requeued.- Parameters:
canBeRequeued
- the new can be requeued
-
setCanBePutOnHold
protected void setCanBePutOnHold(boolean canBePutOnHold) Sets the can be put on hold.- Parameters:
canBePutOnHold
- the new can be put on hold
-
setCanBeStopped
protected void setCanBeStopped(boolean canBeStopped) Sets the can be stopped.- Parameters:
canBeStopped
- the new can be stopped
-