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 TypeMethodDescriptionvoidAdds the alias.voidAdds the associated ec user.voidAdds the host.voidAdds the incoming policy.voidclean(ecmwf.web.model.users.User u) Clean.voidcleanExpired(ecmwf.web.model.users.User u) Clean expired.voidDelete alias.voidDelete associated ec user.voiddeleteHost(Host p) Delete host.voidDelete incoming policy.voiddeleteMetadataFile(String fileName) Delete metadata file.booleanGets the acquisition.Collection<ecmwf.web.util.bean.Pair> Gets the acquisition hosts and priorities.booleanGets 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.booleanGets the backup.Gets the bad data transfers.intGets the bad data transfers size.longGets 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.booleanGets 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.intGets the if target exist.Gets the if target exist text.Gets the javascript.intGets the keep in spool.Gets the keep in spool text.Gets the last error.Gets the last transfer.booleanGets the mail on end.booleanGets the mail on error.booleanGets the mail on start.intGets the max connections.longGets the max file size.intGets the max inactivity.intGets the max pending.intGets the max requeue.intGets the max start.Gets the meta data.Gets the monitoring status.getName()Gets the name.intGets the on host failure.Gets the on host failure text.Gets the properties.intGets the queue size.longGets the reset frequency.intGets the retry count.intGets the retry frequency.booleanGets the show in monitors.intGets the start frequency.Gets the start time.Gets the status map for products.booleanGets the stop if dirty.Gets the traffic list.ecmwf.web.services.content.ContentgetTransferContent(DataTransfer t, ecmwf.web.model.users.User u) Gets the transfer content.Gets the transfer group.Gets the transfer group name.intgetType()Gets the type.Gets the type text.Gets the user mail.booleanisDirty()Checks if is dirty.voidputOnHold(boolean graceful, ecmwf.web.model.users.User u) Put on hold.voidrestart(boolean graceful, ecmwf.web.model.users.User u) Restart.voidsetAcquisition(boolean b) Sets the acquisition.voidsetActive(boolean b) Sets the active.voidsetBackup(boolean b) Sets the backup.voidsetComment(String comment) Sets the comment.voidsetCountryIso(String iso) Sets the country iso.voidSets the data.voidsetDateFormat(String format) Sets the date format.voidsetEcUserName(String name) Sets the ec user name.voidsetFilterName(String filterName) Sets the filter name.voidsetGroupByDate(boolean b) Sets the group by date.voidsetHostForSourceName(String name) Sets the host for source name.voidsetIfTargetExist(int i) Sets the if target exist.voidsetKeepInSpool(int i) Sets the keep in spool.voidsetMailOnEnd(boolean b) Sets the mail on end.voidsetMailOnError(boolean b) Sets the mail on error.voidsetMailOnStart(boolean b) Sets the mail on start.voidsetMaxConnections(int i) Sets the max connections.voidsetMaxFileSize(long i) Sets the max file size.voidsetMaxInactivity(int i) Sets the max inactivity.voidsetMaxPending(int i) Sets the max pending.voidsetMaxRequeue(int i) Sets the max requeue.voidsetMaxStart(int i) Sets the max start.voidSets the name.voidsetOnHostFailure(int i) Sets the on host failure.voidsetResetFrequency(long l) Sets the reset frequency.voidsetRetryCount(int i) Sets the retry count.voidsetRetryFrequency(int i) Sets the retry frequency.voidsetShowInMonitors(boolean b) Sets the show in monitors.voidsetStartFrequency(int i) Sets the start frequency.voidsetStopIfDirty(boolean b) Sets the stop if dirty.voidSets the transfer group.voidSets the transfer group name.voidsetType(int i) Sets the type.voidsetUserMail(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
-