Interface Destination
- All Superinterfaces:
ecmwf.web.model.ModelBean
- All Known Implementing Classes:
DestinationBean
public interface Destination
extends ecmwf.web.model.ModelBean
The Interface Destination.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the alias.void
Adds the associated ec user.void
Adds the host.void
Adds the incoming policy.void
clean
(ecmwf.web.model.users.User u) Clean.void
cleanExpired
(ecmwf.web.model.users.User u) Clean expired.void
Delete alias.void
Delete associated ec user.void
deleteHost
(Host p) Delete host.void
Delete incoming policy.void
deleteMetadataFile
(String fileName) Delete metadata file.boolean
Gets the acquisition.Collection
<ecmwf.web.util.bean.Pair> Gets the acquisition hosts and priorities.boolean
Gets the active.This destination is an alias for this ones.The Destinations that are aliases of this one.Gets the alias list.List
<ecmwf.web.util.bean.StringPair> Gets the all types.Gets the associated ec users.Gets the associated incoming policies.boolean
Gets the backup.Gets the bad data transfers.int
Gets the bad data transfers size.long
Gets the band width.Gets the change log list.Gets the comment.Gets the completions.Gets the country.Gets the country iso.getData()
Gets the data.Gets the data alias.getDataTransfersByProductAndTime
(String product, String time) Gets the data transfers by product and time.getDataTransfersByProductAndTimeOnDate
(String product, String time, Date d) Gets the data transfers by product and time on date.Gets the data transfers including retries on transmission date.Gets the data transfers on date.Gets the date format.Collection
<ecmwf.web.util.bean.Pair> Gets the dissemination hosts and priorities.Gets the ec user.Gets the ec user name.Gets the filter name.Gets the formatted max inactivity.Gets the formatted reset frequency.Gets the formatted retry frequency.Gets the formatted start frequency.Gets the formatted status.boolean
Gets the group by date.Gets the host for source.Gets the host for source name.Collection
<ecmwf.web.util.bean.Pair> Gets the hosts and priorities.int
Gets the if target exist.Gets the if target exist text.Gets the javascript.int
Gets the keep in spool.Gets the keep in spool text.Gets the last error.Gets the last transfer.boolean
Gets the mail on end.boolean
Gets the mail on error.boolean
Gets the mail on start.int
Gets the max connections.long
Gets the max file size.int
Gets the max inactivity.int
Gets the max pending.int
Gets the max requeue.int
Gets the max start.Gets the meta data.Gets the monitoring status.getName()
Gets the name.int
Gets the on host failure.Gets the on host failure text.Gets the properties.int
Gets the queue size.long
Gets the reset frequency.int
Gets the retry count.int
Gets the retry frequency.boolean
Gets the show in monitors.int
Gets the start frequency.Gets the start time.Gets the status map for products.boolean
Gets the stop if dirty.Gets the traffic list.ecmwf.web.services.content.Content
getTransferContent
(DataTransfer t, ecmwf.web.model.users.User u) Gets the transfer content.Gets the transfer group.Gets the transfer group name.int
getType()
Gets the type.Gets the type text.Gets the user mail.boolean
isDirty()
Checks if is dirty.void
putOnHold
(boolean graceful, ecmwf.web.model.users.User u) Put on hold.void
restart
(boolean graceful, ecmwf.web.model.users.User u) Restart.void
setAcquisition
(boolean b) Sets the acquisition.void
setActive
(boolean b) Sets the active.void
setBackup
(boolean b) Sets the backup.void
setComment
(String comment) Sets the comment.void
setCountryIso
(String iso) Sets the country iso.void
Sets the data.void
setDateFormat
(String format) Sets the date format.void
setEcUserName
(String name) Sets the ec user name.void
setFilterName
(String filterName) Sets the filter name.void
setGroupByDate
(boolean b) Sets the group by date.void
setHostForSourceName
(String name) Sets the host for source name.void
setIfTargetExist
(int i) Sets the if target exist.void
setKeepInSpool
(int i) Sets the keep in spool.void
setMailOnEnd
(boolean b) Sets the mail on end.void
setMailOnError
(boolean b) Sets the mail on error.void
setMailOnStart
(boolean b) Sets the mail on start.void
setMaxConnections
(int i) Sets the max connections.void
setMaxFileSize
(long i) Sets the max file size.void
setMaxInactivity
(int i) Sets the max inactivity.void
setMaxPending
(int i) Sets the max pending.void
setMaxRequeue
(int i) Sets the max requeue.void
setMaxStart
(int i) Sets the max start.void
Sets the name.void
setOnHostFailure
(int i) Sets the on host failure.void
setResetFrequency
(long l) Sets the reset frequency.void
setRetryCount
(int i) Sets the retry count.void
setRetryFrequency
(int i) Sets the retry frequency.void
setShowInMonitors
(boolean b) Sets the show in monitors.void
setStartFrequency
(int i) Sets the start frequency.void
setStopIfDirty
(boolean b) Sets the stop if dirty.void
Sets the transfer group.void
Sets the transfer group name.void
setType
(int i) Sets the type.void
setUserMail
(String mail) Sets the user mail.Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getBeanInterfaceName, getId, getIntId, insert, insert, isNew, save, save, setId
-
Method Details
-
getActive
boolean getActive()Gets the active.- Returns:
- the active
-
getBackup
boolean getBackup()Gets the backup.- Returns:
- the backup
-
getAcquisition
boolean getAcquisition()Gets the acquisition.- Returns:
- the acquisition
-
getCompletions
Gets the completions.- Returns:
- the completions
- Throws:
TransferException
- the transfer exception
-
getEcUser
Gets the ec user.- Returns:
- the ec user
- Throws:
TransferException
- the transfer exception
-
getTransferGroup
Gets the transfer group.- Returns:
- the transfer group
- Throws:
DataFileException
- the data file exception
-
getTransferGroupName
-
getData
-
getProperties
-
getJavascript
-
getDataAlias
-
setData
-
getCountry
Gets the country.- Returns:
- the country
- Throws:
TransferException
- the transfer exception
-
getEcUserName
-
getCountryIso
-
getHostForSource
Gets the host for source.- Returns:
- the host for source
- Throws:
TransferException
- the transfer exception
-
getHostForSourceName
-
getIfTargetExist
int getIfTargetExist()Gets the if target exist.- Returns:
- the if target exist
-
getOnHostFailure
int getOnHostFailure()Gets the on host failure.- Returns:
- the on host failure
-
getKeepInSpool
int getKeepInSpool()Gets the keep in spool.- Returns:
- the keep in spool
-
getMaxStart
int getMaxStart()Gets the max start.- Returns:
- the max start
-
getStartFrequency
int getStartFrequency()Gets the start frequency.- Returns:
- the start frequency
-
getFormattedStartFrequency
String getFormattedStartFrequency()Gets the formatted start frequency.- Returns:
- the formatted start frequency
-
getMaxRequeue
int getMaxRequeue()Gets the max requeue.- Returns:
- the max requeue
-
getMaxPending
int getMaxPending()Gets the max pending.- Returns:
- the max pending
-
getMaxFileSize
long getMaxFileSize()Gets the max file size.- Returns:
- the max file size
-
getStartTime
Gets the start time.- Returns:
- the start time
- Throws:
TransferException
- the transfer exception
-
getResetFrequency
long getResetFrequency()Gets the reset frequency.- Returns:
- the reset frequency
-
getMaxInactivity
int getMaxInactivity()Gets the max inactivity.- Returns:
- the max inactivity
-
setMaxInactivity
void setMaxInactivity(int i) Sets the max inactivity.- Parameters:
i
- the new max inactivity
-
getFormattedMaxInactivity
String getFormattedMaxInactivity()Gets the formatted max inactivity.- Returns:
- the formatted max inactivity
-
getFormattedResetFrequency
String getFormattedResetFrequency()Gets the formatted reset frequency.- Returns:
- the formatted reset frequency
-
getIfTargetExistText
-
getOnHostFailureText
-
getKeepInSpoolText
-
getMailOnEnd
boolean getMailOnEnd()Gets the mail on end.- Returns:
- the mail on end
-
getMailOnError
boolean getMailOnError()Gets the mail on error.- Returns:
- the mail on error
-
getMailOnStart
boolean getMailOnStart()Gets the mail on start.- Returns:
- the mail on start
-
getName
-
getUserMail
-
getComment
-
getFilterName
-
getGroupByDate
boolean getGroupByDate()Gets the group by date.- Returns:
- the group by date
-
setGroupByDate
void setGroupByDate(boolean b) Sets the group by date.- Parameters:
b
- the new group by date
-
getDateFormat
-
setDateFormat
-
setTransferGroup
Sets the transfer group.- Parameters:
m
- the new transfer group
-
setTransferGroupName
Sets the transfer group name.- Parameters:
s
- the new transfer group name
-
isDirty
boolean isDirty()Checks if is dirty.- Returns:
- True if some changes to data related to the destination need a restart to be applied.
-
getStopIfDirty
boolean getStopIfDirty()Gets the stop if dirty.- Returns:
- the stop if dirty
-
setStopIfDirty
void setStopIfDirty(boolean b) Sets the stop if dirty.- Parameters:
b
- the new stop if dirty
-
getAssociatedEcUsers
Gets the associated ec users.- Returns:
- the associated ec users
- Throws:
TransferException
- the transfer exception
-
getAssociatedIncomingPolicies
Gets the associated incoming policies.- Returns:
- the associated incoming policies
- Throws:
TransferException
- the transfer exception
-
addAssociatedEcUser
-
deleteAssociatedEcUser
-
getDataTransfersOnDate
Gets the data transfers on date.- Parameters:
d
- the d- Returns:
- the data transfers on date
- Throws:
TransferException
- the transfer exception
-
getDataTransfersByProductAndTime
Collection<DataTransfer> getDataTransfersByProductAndTime(String product, String time) throws TransferException Gets the data transfers by product and time.- Parameters:
product
- the producttime
- the time- Returns:
- the data transfers by product and time
- Throws:
TransferException
- the transfer exception
-
getDataTransfersByProductAndTimeOnDate
Collection<DataTransfer> getDataTransfersByProductAndTimeOnDate(String product, String time, Date d) throws TransferException Gets the data transfers by product and time on date.- Parameters:
product
- the producttime
- the timed
- the d- Returns:
- the data transfers by product and time on date
- Throws:
TransferException
- the transfer exception
-
getDataTransfersIncludingRetriesOnTransmissionDate
Collection<DataTransfer> getDataTransfersIncludingRetriesOnTransmissionDate(Date d) throws TransferException Gets the data transfers including retries on transmission date.- Parameters:
d
- the d- Returns:
- the data transfers including retries on transmission date
- Throws:
TransferException
- the transfer exception
-
getBadDataTransfers
Gets the bad data transfers.- Returns:
- the bad data transfers
- Throws:
TransferException
- the transfer exception
-
getBadDataTransfersSize
Gets the bad data transfers size.- Returns:
- the bad data transfers size
- Throws:
TransferException
- the transfer exception
-
getHostsAndPriorities
Gets the hosts and priorities.- Returns:
- the hosts and priorities
- Throws:
TransferException
- the transfer exception
-
getDisseminationHostsAndPriorities
Gets the dissemination hosts and priorities.- Returns:
- the dissemination hosts and priorities
- Throws:
TransferException
- the transfer exception
-
getAcquisitionHostsAndPriorities
Gets the acquisition hosts and priorities.- Returns:
- the acquisition hosts and priorities
- Throws:
TransferException
- the transfer exception
-
getAliases
The Destinations that are aliases of this one.- Returns:
- the aliases
- Throws:
TransferException
- the transfer exception
-
getAliasList
Gets the alias list.- Returns:
- the alias list
- Throws:
TransferException
- the transfer exception
-
getTrafficList
Gets the traffic list.- Returns:
- the traffic list
- Throws:
TransferException
- the transfer exception
-
getChangeLogList
Gets the change log list.- Returns:
- the change log list
- Throws:
TransferException
- the transfer exception
-
getAliasedFrom
This destination is an alias for this ones.- Returns:
- the aliased from
- Throws:
TransferException
- the transfer exception
-
getMetaData
Gets the meta data.- Returns:
- the meta data
- Throws:
TransferException
- the transfer exception
-
getMaxConnections
int getMaxConnections()Gets the max connections.- Returns:
- the max connections
-
getRetryFrequency
int getRetryFrequency()Gets the retry frequency.- Returns:
- the retry frequency
-
getFormattedRetryFrequency
String getFormattedRetryFrequency()Gets the formatted retry frequency.- Returns:
- the formatted retry frequency
-
getRetryCount
int getRetryCount()Gets the retry count.- Returns:
- the retry count
-
getBandWidth
Gets the band width.- Returns:
- the band width
- Throws:
TransferException
- the transfer exception
-
getStatusMapForProducts
Gets the status map for products.- Returns:
- the status map for products
- Throws:
TransferException
- the transfer exception
-
getMonitoringStatus
Gets the monitoring status.- Returns:
- the monitoring status
- Throws:
TransferException
- the transfer exception
-
getFormattedStatus
-
getLastTransfer
Gets the last transfer.- Returns:
- the last transfer
- Throws:
TransferException
- the transfer exception
-
getLastError
Gets the last error.- Returns:
- the last error
- Throws:
TransferException
- the transfer exception
-
getQueueSize
int getQueueSize()Gets the queue size.- Returns:
- the queue size
-
clean
Clean.- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
cleanExpired
Clean expired.- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
restart
Restart.- Parameters:
graceful
- the gracefulu
- the u- Throws:
TransferException
- the transfer exception
-
putOnHold
Put on hold.- Parameters:
graceful
- the gracefulu
- the u- Throws:
TransferException
- the transfer exception
-
addHost
-
addIncomingPolicy
-
deleteHost
-
deleteIncomingPolicy
-
addAlias
-
deleteAlias
-
deleteMetadataFile
-
setActive
void setActive(boolean b) Sets the active.- Parameters:
b
- the new active
-
setBackup
void setBackup(boolean b) Sets the backup.- Parameters:
b
- the new backup
-
setAcquisition
void setAcquisition(boolean b) Sets the acquisition.- Parameters:
b
- the new acquisition
-
setEcUserName
-
setCountryIso
-
setHostForSourceName
Sets the host for source name.- Parameters:
name
- the new host for source name
-
setIfTargetExist
void setIfTargetExist(int i) Sets the if target exist.- Parameters:
i
- the new if target exist
-
setOnHostFailure
void setOnHostFailure(int i) Sets the on host failure.- Parameters:
i
- the new on host failure
-
setKeepInSpool
void setKeepInSpool(int i) Sets the keep in spool.- Parameters:
i
- the new keep in spool
-
setMailOnEnd
void setMailOnEnd(boolean b) Sets the mail on end.- Parameters:
b
- the new mail on end
-
setMailOnError
void setMailOnError(boolean b) Sets the mail on error.- Parameters:
b
- the new mail on error
-
setMailOnStart
void setMailOnStart(boolean b) Sets the mail on start.- Parameters:
b
- the new mail on start
-
setName
-
setUserMail
-
setComment
-
setFilterName
Sets the filter name.- Parameters:
filterName
- the new filter name
-
setMaxConnections
void setMaxConnections(int i) Sets the max connections.- Parameters:
i
- the new max connections
-
setRetryFrequency
void setRetryFrequency(int i) Sets the retry frequency.- Parameters:
i
- the new retry frequency
-
setRetryCount
void setRetryCount(int i) Sets the retry count.- Parameters:
i
- the new retry count
-
setMaxPending
void setMaxPending(int i) Sets the max pending.- Parameters:
i
- the new max pending
-
setMaxFileSize
void setMaxFileSize(long i) Sets the max file size.- Parameters:
i
- the new max file size
-
setMaxStart
void setMaxStart(int i) Sets the max start.- Parameters:
i
- the new max start
-
setMaxRequeue
void setMaxRequeue(int i) Sets the max requeue.- Parameters:
i
- the new max requeue
-
setStartFrequency
void setStartFrequency(int i) Sets the start frequency.- Parameters:
i
- the new start frequency
-
setResetFrequency
void setResetFrequency(long l) Sets the reset frequency.- Parameters:
l
- the new reset frequency
-
getShowInMonitors
boolean getShowInMonitors()Gets the show in monitors.- Returns:
- the show in monitors
-
setShowInMonitors
void setShowInMonitors(boolean b) Sets the show in monitors.- Parameters:
b
- the new show in monitors
-
getType
int getType()Gets the type.- Returns:
- the type
-
setType
void setType(int i) Sets the type.- Parameters:
i
- the new type
-
getTypeText
-
getAllTypes
-
getTransferContent
ecmwf.web.services.content.Content getTransferContent(DataTransfer t, ecmwf.web.model.users.User u) throws TransferException Gets the transfer content.- Parameters:
t
- the tu
- the u- Returns:
- the transfer content
- Throws:
TransferException
- the transfer exception
-