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, COLORSFields 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
ConstructorsModifierConstructorDescriptionprotectedDataTransferLightBean(DataTransfer transfer) Instantiates a new data transfer light bean. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the can be put on hold.booleanGets the can be requeued.booleanGets the can be stopped.Gets the destination.Gets the transfer server.protected voidsetCanBePutOnHold(boolean canBePutOnHold) Sets the can be put on hold.protected voidsetCanBeRequeued(boolean canBeRequeued) Sets the can be requeued.protected voidsetCanBeStopped(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, toStringMethods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getDestinationin interfaceDataTransfer- Overrides:
getDestinationin classDataTransferBaseBean- Returns:
- the destination
- Throws:
TransferException- the transfer exception
-
getTransferServer
Gets the transfer server. Gets the transfer server. Gets the transfer server.- Specified by:
getTransferServerin interfaceDataTransfer- Overrides:
getTransferServerin 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:
getCanBeRequeuedin interfaceDataTransfer- Overrides:
getCanBeRequeuedin 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:
getCanBePutOnHoldin interfaceDataTransfer- Overrides:
getCanBePutOnHoldin 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:
getCanBeStoppedin interfaceDataTransfer- Overrides:
getCanBeStoppedin 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
-