Interface Host
- All Superinterfaces:
CollectionSizeBean
,ecmwf.web.model.ModelBean
- All Known Implementing Classes:
HostBean
The Interface Host.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the allowed user.void
cleanDataWindow
(ecmwf.web.model.users.User u) Clean data window.void
decreasePriorityWithinDestination
(Destination d, int step) Decrease priority within destination.void
Delete allowed user.long
Gets the acquisition frequency.boolean
Gets the active.List
<ecmwf.web.util.bean.StringPair> Gets the all networks.Gets the allowed users.boolean
Gets the automatic location.long
Gets the band width.Gets the change log list.boolean
getCheck()
Gets the check.Gets the check filename.long
Gets the check frequency.Gets the check time.Gets the comment.Gets the completions.int
Gets the connections.getData()
Gets the data.Gets the data transfers today.Gets the destinations.getDir()
Gets the dir.long
Gets 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.double
Gets 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.boolean
Gets the mail on error.boolean
Gets the mail on success.int
Gets the max connections.getName()
Gets the name.Gets the network code.Gets the network name.Gets the nick name.boolean
Gets 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.int
Gets the retry count.int
Gets the retry frequency.long
getSent()
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.User
getUser()
Gets the user.Gets the user mail.boolean
getValid()
Gets the valid.void
increasePriorityWithinDestination
(Destination d, int step) Increase priority within destination.void
resetTransferStatistics
(ecmwf.web.model.users.User u) Reset transfer statistics.void
setAcquisitionFrequency
(long i) Sets the acquisition frequency.void
setActive
(boolean b) Sets the active.void
setAutomaticLocation
(boolean b) Sets the automatic location.void
setCheck
(boolean b) Sets the check.void
Sets the check filename.void
setCheckFrequency
(long i) Sets the check frequency.void
setComment
(String c) Sets the comment.void
Sets the data.void
Sets the dir.void
Sets the EC user name.void
Sets the filter name.void
Sets the host.void
Sets the latitude.void
Sets the login.void
Sets the longitude.void
setMailOnError
(boolean b) Sets the mail on error.void
setMailOnSuccess
(boolean b) Sets the mail on success.void
setMaxConnections
(int i) Sets the max connections.void
Sets the name.void
Sets the network code.void
Sets the network name.void
Sets the nick name.void
setNotifyOnce
(boolean b) Sets the notify once.void
Sets the passwd.void
setRetryCount
(int i) Sets the retry count.void
setRetryFrequency
(int i) Sets the retry frequency.void
Sets the transfer group.void
Sets the transfer group name.void
Sets the transfer method.void
Sets the transfer method name.void
Sets the type.void
setUser
(ecmwf.web.model.users.User user) Sets the user.void
Sets the user mail.long
Transfer.Methods inherited from interface ecmwf.ecpds.master.plugin.http.model.CollectionSizeBean
getCollectionSize
Methods 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
-