Interface Host
- All Superinterfaces:
CollectionSizeBean,ecmwf.web.model.ModelBean
- All Known Implementing Classes:
HostBean
The Interface Host.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the allowed user.voidcleanDataWindow(ecmwf.web.model.users.User u) Clean data window.voiddecreasePriorityWithinDestination(Destination d, int step) Decrease priority within destination.voidDelete allowed user.longGets the acquisition frequency.booleanGets the active.List<ecmwf.web.util.bean.StringPair> Gets the all networks.Gets the allowed users.booleanGets the automatic location.longGets the band width.Gets the change log list.booleangetCheck()Gets the check.Gets the check filename.longGets the check frequency.Gets the check time.Gets the comment.Gets the completions.intGets the connections.getData()Gets the data.Gets the data transfers today.Gets the destinations.getDir()Gets the dir.longGets the duration.Gets the ec user.Gets the EC user name.Gets the filter name.Gets the formatted acquisition frequency.Gets the formatted band width.doubleGets the formatted band width in M bits per seconds.Gets the formatted check frequency.Gets the formatted duration.Gets the formatted last output.Gets the formatted retry frequency.Gets the formatted sent.getHost()Gets the host.Gets the javascript.Gets the last output.Gets the latitude.getLogin()Gets the login.Gets the longitude.booleanGets the mail on error.booleanGets the mail on success.intGets the max connections.getName()Gets the name.Gets the network code.Gets the network name.Gets the nick name.booleanGets the notify once.Gets the ojb implementation.getOutput(ecmwf.web.model.users.User u) Gets the output.Gets the passwd.Gets the properties.getReport(ecmwf.web.model.users.User u) Gets the report.Gets the report.intGets the retry count.intGets the retry frequency.longgetSent()Gets the sent.Gets the transfer group.Gets the transfer group name.Gets the transfer method.Gets the transfer method name.Gets the transfer module names.getType()Gets the type.ecmwf.web.model.users.UsergetUser()Gets the user.Gets the user mail.booleangetValid()Gets the valid.voidincreasePriorityWithinDestination(Destination d, int step) Increase priority within destination.voidresetTransferStatistics(ecmwf.web.model.users.User u) Reset transfer statistics.voidsetAcquisitionFrequency(long i) Sets the acquisition frequency.voidsetActive(boolean b) Sets the active.voidsetAutomaticLocation(boolean b) Sets the automatic location.voidsetCheck(boolean b) Sets the check.voidSets the check filename.voidsetCheckFrequency(long i) Sets the check frequency.voidsetComment(String c) Sets the comment.voidSets the data.voidSets the dir.voidSets the EC user name.voidSets the filter name.voidSets the host.voidSets the latitude.voidSets the login.voidSets the longitude.voidsetMailOnError(boolean b) Sets the mail on error.voidsetMailOnSuccess(boolean b) Sets the mail on success.voidsetMaxConnections(int i) Sets the max connections.voidSets the name.voidSets the network code.voidSets the network name.voidSets the nick name.voidsetNotifyOnce(boolean b) Sets the notify once.voidSets the passwd.voidsetRetryCount(int i) Sets the retry count.voidsetRetryFrequency(int i) Sets the retry frequency.voidSets the transfer group.voidSets the transfer group name.voidSets the transfer method.voidSets the transfer method name.voidSets the type.voidsetUser(ecmwf.web.model.users.User user) Sets the user.voidSets the user mail.longTransfer.Methods inherited from interface ecmwf.ecpds.master.plugin.http.model.CollectionSizeBean
getCollectionSizeMethods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getBeanInterfaceName, getId, getIntId, insert, insert, isNew, save, save, setId
-
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
-
setNickName
-
getCompletions
-
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
-
setLatitude
-
getLongitude
-
setLongitude
-
getType
-
setType
-
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
-
setFilterName
-
getNetworkName
-
setNetworkName
-
getAllNetworks
List<ecmwf.web.util.bean.StringPair> getAllNetworks()Gets the all networks.- Returns:
- the all networks
-
getTransferModuleNames
Gets the transfer module names.- Returns:
- the transfer module names
- Throws:
TransferException- the transfer exception
-
getNetworkCode
-
setNetworkCode
-
getCheckTime
-
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
-
setCheckFilename
-
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
-
setUserMail
-
getActive
boolean getActive()Gets the active.- Returns:
- the active
-
setActive
void setActive(boolean b) Sets the active.- Parameters:
b- the new active
-
getComment
-
setComment
-
getConnections
int getConnections()Gets the connections.- Returns:
- the connections
-
getData
-
getProperties
-
getJavascript
-
setData
-
getEcUser
Gets the ec user.- Returns:
- the ec user
- Throws:
EcUserException- the ec user exception
-
getLastOutput
-
getFormattedLastOutput
-
getECUserName
-
setECUserName
-
getAllowedUsers
Gets the allowed users.- Returns:
- the allowed users
- Throws:
TransferException- the transfer exception
-
addAllowedUser
-
deleteAllowedUser
-
getHost
-
setHost
-
getLogin
-
setLogin
-
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
-
setName
-
getPasswd
-
setPasswd
-
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
Gets the transfer method.- Returns:
- the transfer method
- Throws:
TransferException- the transfer exception
-
getChangeLogList
Gets the change log list.- Returns:
- the change log list
- Throws:
TransferException- the transfer exception
-
setTransferMethod
Sets the transfer method.- Parameters:
m- the new transfer method
-
getTransferMethodName
-
setTransferMethodName
Sets the transfer method name.- Parameters:
s- the new transfer method name
-
getTransferGroup
Gets the transfer group.- Returns:
- the transfer group
- Throws:
DataFileException- the data file exception
-
setTransferGroup
Sets the transfer group.- Parameters:
m- the new transfer group
-
getTransferGroupName
-
setTransferGroupName
Sets the transfer group name.- Parameters:
s- the new transfer group name
-
getDir
-
setDir
-
getSent
long getSent()Gets the sent.- Returns:
- the sent
-
getFormattedSent
-
getDuration
long getDuration()Gets the duration.- Returns:
- the duration
-
getFormattedDuration
-
getBandWidth
long getBandWidth()Gets the band width.- Returns:
- the band width
-
getFormattedBandWidth
-
getFormattedBandWidthInMBitsPerSeconds
double getFormattedBandWidthInMBitsPerSeconds()Gets the formatted band width in M bits per seconds.- Returns:
- the formatted band width in M bits per seconds
-
increasePriorityWithinDestination
Increase priority within destination.- Parameters:
d- the dstep- the step
-
decreasePriorityWithinDestination
Decrease priority within destination.- Parameters:
d- the dstep- the step
-
getDataTransfersToday
Gets the data transfers today.- Returns:
- the data transfers today
- Throws:
TransferException- the transfer exception
-
getDestinations
Gets the destinations.- Returns:
- the destinations
- Throws:
TransferException- the transfer exception
-
resetTransferStatistics
Reset transfer statistics.- Parameters:
u- the u- Throws:
TransferException- the transfer exception
-
cleanDataWindow
Clean data window.- Parameters:
u- the u- Throws:
TransferException- the transfer exception
-
getReport
Gets the report.- Parameters:
u- the u- Returns:
- the report
- Throws:
TransferException- the transfer exception
-
getReport
Gets the report.- Parameters:
u- the uproxy- the proxy- Returns:
- the report
- Throws:
TransferException- the transfer exception
-
getOutput
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 ubytes- the bytestarget- the targetremotePos- the remote pos- Returns:
- the long
- Throws:
TransferException- the transfer exception
-
getOjbImplementation
-