Interface ManagementInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The Constant DESTINATION_STATE_CLOSING.static final int
The Constant DESTINATION_STATE_JAMMED.static final int
The Constant DESTINATION_STATE_OFFLINE.static final int
The Constant DESTINATION_STATE_ONHOLD.static final int
The Constant DESTINATION_STATE_ONLINE.static final int
The Constant DESTINATION_STATE_OPENING. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanDataWindow
(ECpdsSession session, Host host) Clean the data window host.cleanDestination
(ECpdsSession session, String destinationName, long days) Clean destination.void
closeECpdsSession
(ECpdsSession session, boolean expired) Close ecpds session.void
closeIncomingConnection
(ECpdsSession session, String id) Close an incoming connection.computeFilterEfficiency
(ECpdsSession session, String destinationName, String email, String filter, long date, boolean includeStdby, String pattern) Compute filter efficiency.copyDestination
(ECpdsSession session, String fromDestination, String toDestination, String label, boolean copySharedHost) Copy destination.copyHost
(ECpdsSession session, String destinationName, String hostName) Copy host.byte[]
Exec.void
exportDestination
(ECpdsSession session, String targetMaster, String fromDestination, boolean copySharedHost) Export destination.Gets the contacts.Gets the destination caches.getDestinationLastFailedTransfer
(String destinationName) Gets the destination last failed transfer.getDestinationLastTransfer
(String destinationName) Gets the destination last transfer.getDestinationNamesForContact
(List<Map.Entry<String, String>> emailPattern, boolean caseSensitive) Get the destination names which have the provided email address in their contacts!getDestinationSchedulerCache
(String destinationName) Gets the destination scheduler cache.int
getDestinationSize
(String destinationName) Gets the destination size.getDestinationStartDate
(String destinationName) Gets the destination start date.getDestinationStatus
(String destinationName) Gets the destination status.Gets the ecpds session.getHostReport
(ECpdsSession session, Host proxyHost, Host host) Gets the host report.getMonitorManager
(String destinationName) Gets the monitor manager.getMoverReport
(ECpdsSession session, Host proxyHost) Gets the mover report.getOutput
(ECpdsSession session, Host host) Gets the host output.int
getPendingDataTransfersCount
(String destinationName) Gets the pending data transfers count.getReport
(ECpdsSession session, Host host) Gets the report.getReport
(ECpdsSession session, TransferServer server) Gets the report.long
getRetrieved
(long dataFileId) Gets the retrieved.getTransferServerName
(long dataFileId) Gets the transfer server name.void
holdAllDestinations
(ECpdsSession session, boolean graceful) Hold all destinations.holdDestination
(ECpdsSession session, String destinationName, boolean graceful) Hold destination.boolean
interruptDataTransferRetrieval
(ECpdsSession session, long id) Interrupt data transfer retrieval.void
removeCategory
(ECpdsSession session, Category category) Removes the category.void
removeDataFile
(ECpdsSession session, DataFile file) Removes the data file.void
removeDataTransfer
(ECpdsSession session, DataTransfer transfer) Removes the data transfer.void
removeDestination
(ECpdsSession session, String destinationName) Removes the destination.void
removeDestination
(ECpdsSession session, String destinationName, boolean cleanOnly, boolean removeAll) Removes the destination.void
removeECtransModule
(ECpdsSession session, ECtransModule module) Removes the ectrans module.void
removeHost
(ECpdsSession session, Host host) Removes the host.void
removeIncomingPolicy
(ECpdsSession session, IncomingPolicy policy) Removes the IncomingPolicy.void
removeIncomingUser
(ECpdsSession session, IncomingUser user) Removes the IncomingUser.void
removeTransferGroup
(ECpdsSession session, TransferGroup group) Removes the transfer group.void
removeTransferMethod
(ECpdsSession session, TransferMethod method) Removes the transfer method.void
removeTransferServer
(ECpdsSession session, TransferServer server) Removes the transfer server.void
removeUrl
(ECpdsSession session, Url url) Removes the url.void
removeWebUser
(ECpdsSession session, WebUser user) Removes the web user.void
resendDataTransferEvents
(String root, DataTransferEventRequest[] dataTransferEventRequests) Resend data transfer events.void
resetTransferScheduleDate
(ECpdsSession session, long id) Reset transfer schedule date.void
resetTransferStatistics
(ECpdsSession session, Host host) Reset the host stats.void
restartAllDestinations
(ECpdsSession session, boolean graceful) Restart all destinations.restartDestination
(ECpdsSession session, String destinationName, boolean graceful) Restart destination.void
saveWebUser
(ECpdsSession session, WebUser webUser) Creates the web user.void
sendECpdsMessage
(ECpdsSession session, String from, String to, String cc, String subject, String content, String attachmentName, String attachmentContent) Sends an ecpds email message.void
shutdown
(ECpdsSession session, boolean graceful, boolean restart) Shutdown.void
shutdownTransferServer
(ECpdsSession session, TransferServer server, boolean graceful, boolean restart) Shutdown transfer server.long
transfer
(ECpdsSession session, byte[] bytes, Host host, String target, long remotePosn) Transfer.boolean
transferStatusUpdateAllowed
(long id, String code) Transfer status update allowed.void
updateExpiryTime
(ECpdsSession session, long id, Timestamp timetamp) Update expiry time.void
updateFileMonitoringValue
(ECpdsSession session, MonitoringValue value) Update file monitoring value.updateHost
(ECpdsSession session, Host host) Update host.void
updateTransferMonitoringValue
(ECpdsSession session, MonitoringValue value) Update transfer monitoring value.void
updateTransferPriority
(ECpdsSession session, long id, int priority) Update transfer priority.boolean
updateTransferStatus
(ECpdsSession session, long id, String code) Update transfer status.
-
Field Details
-
DESTINATION_STATE_ONLINE
static final int DESTINATION_STATE_ONLINEThe Constant DESTINATION_STATE_ONLINE.- See Also:
-
DESTINATION_STATE_OPENING
static final int DESTINATION_STATE_OPENINGThe Constant DESTINATION_STATE_OPENING.- See Also:
-
DESTINATION_STATE_CLOSING
static final int DESTINATION_STATE_CLOSINGThe Constant DESTINATION_STATE_CLOSING.- See Also:
-
DESTINATION_STATE_OFFLINE
static final int DESTINATION_STATE_OFFLINEThe Constant DESTINATION_STATE_OFFLINE.- See Also:
-
DESTINATION_STATE_JAMMED
static final int DESTINATION_STATE_JAMMEDThe Constant DESTINATION_STATE_JAMMED.- See Also:
-
DESTINATION_STATE_ONHOLD
static final int DESTINATION_STATE_ONHOLDThe Constant DESTINATION_STATE_ONHOLD.- See Also:
-
-
Method Details
-
getDestinationNamesForContact
List<String> getDestinationNamesForContact(List<Map.Entry<String, String>> emailPattern, boolean caseSensitive) throws IOExceptionGet the destination names which have the provided email address in their contacts!- Parameters:
emailPattern
- the email patterncaseSensitive
- is it case sensitive- Returns:
- the destination names
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getContacts
Gets the contacts.- Returns:
- the contacts
- Throws:
MasterException
- the master exceptionIOException
- Signals that an I/O exception has occurred.
-
getDestinationCaches
Map<String,DestinationCache> getDestinationCaches() throws MonitorException, MasterException, DataBaseException, RemoteExceptionGets the destination caches.- Returns:
- the destination caches
- Throws:
MonitorException
- the monitor exceptionMasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
getMonitorManager
MonitorManager getMonitorManager(String destinationName) throws MonitorException, MasterException, RemoteException Gets the monitor manager.- Parameters:
destinationName
- the destination name- Returns:
- the monitor manager
- Throws:
MonitorException
- the monitor exceptionMasterException
- the master exceptionRemoteException
- the remote exception
-
getDestinationStatus
String getDestinationStatus(String destinationName) throws MasterException, DataBaseException, RemoteException Gets the destination status.- Parameters:
destinationName
- the Destination name- Returns:
- the destination status
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
getDestinationSize
Gets the destination size.- Parameters:
destinationName
- the Destination name- Returns:
- the destination size
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
getDestinationStartDate
Gets the destination start date.- Parameters:
destinationName
- the Destination name- Returns:
- the destination start date
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
getPendingDataTransfersCount
Gets the pending data transfers count.- Parameters:
destinationName
- the destination name- Returns:
- the pending data transfers count
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
getDestinationLastTransfer
DataTransfer getDestinationLastTransfer(String destinationName) throws MasterException, RemoteException Gets the destination last transfer.- Parameters:
destinationName
- the Destination name- Returns:
- the destination last transfer
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
getDestinationLastFailedTransfer
DataTransfer getDestinationLastFailedTransfer(String destinationName) throws MasterException, RemoteException Gets the destination last failed transfer.- Parameters:
destinationName
- the Destination name- Returns:
- the destination last failed transfer
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
getRetrieved
Gets the retrieved.- Parameters:
dataFileId
- the data file id- Returns:
- the retrieved
- Throws:
DataBaseException
- the data base exceptionRemoteException
- the remote exception
-
getTransferServerName
Gets the transfer server name.- Parameters:
dataFileId
- the data file id- Returns:
- the transfer server name
- Throws:
DataBaseException
- the data base exceptionRemoteException
- the remote exception
-
getECpdsSession
ECpdsSession getECpdsSession(String user, String password, String host, String agent, String comment) throws MasterException, DataBaseException, RemoteException Gets the ecpds session.- Parameters:
user
- the userpassword
- the passwordhost
- the hostagent
- the agentcomment
- the comment- Returns:
- the ecpds session
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
saveWebUser
void saveWebUser(ECpdsSession session, WebUser webUser) throws MasterException, DataBaseException, RemoteException Creates the web user.- Parameters:
session
- the sessionwebUser
- the web user- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
copyDestination
DestinationCache copyDestination(ECpdsSession session, String fromDestination, String toDestination, String label, boolean copySharedHost) throws MasterException, DataBaseException, RemoteException Copy destination.- Parameters:
session
- the sessionfromDestination
- the from destinationtoDestination
- the to destinationlabel
- the labelcopySharedHost
- the copy shared host- Returns:
- the destination cache
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
copyHost
DestinationCache copyHost(ECpdsSession session, String destinationName, String hostName) throws MasterException, DataBaseException, RemoteException Copy host.- Parameters:
session
- the sessiondestinationName
- the destination namehostName
- the host name- Returns:
- the destination cache
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
exportDestination
void exportDestination(ECpdsSession session, String targetMaster, String fromDestination, boolean copySharedHost) throws MasterException, DataBaseException, RemoteException Export destination.- Parameters:
session
- the sessiontargetMaster
- the target masterfromDestination
- the from destinationcopySharedHost
- the copy shared host- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
closeECpdsSession
Close ecpds session.- Parameters:
session
- the sessionexpired
- the expired- Throws:
RemoteException
- the remote exception
-
closeIncomingConnection
Close an incoming connection.- Parameters:
session
- the sessionid
- the id- Throws:
IOException
- Signals that an I/O exception has occurred.RemoteException
- the remote exception
-
restartDestination
DestinationSchedulerCache restartDestination(ECpdsSession session, String destinationName, boolean graceful) throws MasterException, RemoteException, DataBaseException Restart destination.- Parameters:
session
- the sessiondestinationName
- the destination namegraceful
- the graceful- Returns:
- the destination scheduler cache
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exceptionDataBaseException
- the data base exception
-
restartAllDestinations
void restartAllDestinations(ECpdsSession session, boolean graceful) throws MasterException, RemoteException Restart all destinations.- Parameters:
session
- the sessiongraceful
- the graceful- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
shutdownTransferServer
void shutdownTransferServer(ECpdsSession session, TransferServer server, boolean graceful, boolean restart) throws MasterException, RemoteException Shutdown transfer server.- Parameters:
session
- the sessionserver
- the servergraceful
- the gracefulrestart
- the restart- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
holdDestination
DestinationSchedulerCache holdDestination(ECpdsSession session, String destinationName, boolean graceful) throws MasterException, RemoteException, DataBaseException Hold destination.- Parameters:
session
- the sessiondestinationName
- the Destination namegraceful
- the graceful- Returns:
- the destination scheduler cache
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exceptionDataBaseException
- the data base exception
-
cleanDestination
String cleanDestination(ECpdsSession session, String destinationName, long days) throws MasterException, DataBaseException, RemoteException Clean destination.- Parameters:
session
- the sessiondestinationName
- the destination namedays
- the days- Returns:
- the string
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
holdAllDestinations
void holdAllDestinations(ECpdsSession session, boolean graceful) throws MasterException, RemoteException Hold all destinations.- Parameters:
session
- the sessiongraceful
- the graceful- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
transferStatusUpdateAllowed
Transfer status update allowed.- Parameters:
id
- the idcode
- the code- Returns:
- true, if successful
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
updateTransferStatus
boolean updateTransferStatus(ECpdsSession session, long id, String code) throws MasterException, RemoteException Update transfer status.- Parameters:
session
- the sessionid
- the idcode
- the code- Returns:
- true, if successful
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
resetTransferScheduleDate
void resetTransferScheduleDate(ECpdsSession session, long id) throws MasterException, DataBaseException, RemoteException Reset transfer schedule date.- Parameters:
session
- the sessionid
- the id- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
updateTransferPriority
void updateTransferPriority(ECpdsSession session, long id, int priority) throws MasterException, DataBaseException, RemoteException Update transfer priority.- Parameters:
session
- the sessionid
- the idpriority
- the priority- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
updateExpiryTime
void updateExpiryTime(ECpdsSession session, long id, Timestamp timetamp) throws MasterException, DataBaseException, RemoteException Update expiry time.- Parameters:
session
- the sessionid
- the idtimetamp
- the timetamp- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
transfer
long transfer(ECpdsSession session, byte[] bytes, Host host, String target, long remotePosn) throws MasterException, DataBaseException, RemoteException, IOException Transfer.- Parameters:
session
- the sessionbytes
- the byteshost
- the hosttarget
- the targetremotePosn
- the remote posn- Returns:
- the long
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exceptionIOException
- Signals that an I/O exception has occurred.
-
getMoverReport
String getMoverReport(ECpdsSession session, Host proxyHost) throws MasterException, DataBaseException, RemoteException, IOException Gets the mover report.- Parameters:
session
- the sessionproxyHost
- the proxy host- Returns:
- the mover report
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exceptionIOException
- Signals that an I/O exception has occurred.
-
getHostReport
String getHostReport(ECpdsSession session, Host proxyHost, Host host) throws MasterException, DataBaseException, RemoteException, IOException Gets the host report.- Parameters:
session
- the sessionproxyHost
- the proxy hosthost
- the host- Returns:
- the host report
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exceptionIOException
- Signals that an I/O exception has occurred.
-
cleanDataWindow
void cleanDataWindow(ECpdsSession session, Host host) throws MasterException, DataBaseException, RemoteException, IOException Clean the data window host.- Parameters:
session
- the sessionhost
- the host- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exceptionIOException
- Signals that an I/O exception has occurred.
-
resetTransferStatistics
void resetTransferStatistics(ECpdsSession session, Host host) throws MasterException, DataBaseException, RemoteException, IOException Reset the host stats.- Parameters:
session
- the sessionhost
- the host- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exceptionIOException
- Signals that an I/O exception has occurred.
-
getReport
String getReport(ECpdsSession session, Host host) throws MasterException, DataBaseException, RemoteException, IOException Gets the report.- Parameters:
session
- the sessionhost
- the host- Returns:
- the report
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exceptionIOException
- Signals that an I/O exception has occurred.
-
getOutput
RemoteInputStream getOutput(ECpdsSession session, Host host) throws MasterException, DataBaseException, RemoteException, IOException Gets the host output.- Parameters:
session
- the sessionhost
- the host- Returns:
- the report
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exceptionIOException
- Signals that an I/O exception has occurred.
-
getReport
String getReport(ECpdsSession session, TransferServer server) throws MasterException, DataBaseException, RemoteException, IOException Gets the report.- Parameters:
session
- the sessionserver
- the server- Returns:
- the report
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exceptionIOException
- Signals that an I/O exception has occurred.
-
updateHost
Host updateHost(ECpdsSession session, Host host) throws MasterException, DataBaseException, RemoteException Update host.- Parameters:
session
- the sessionhost
- the host- Returns:
- the host
- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
updateTransferMonitoringValue
void updateTransferMonitoringValue(ECpdsSession session, MonitoringValue value) throws MasterException, DataBaseException, RemoteException Update transfer monitoring value.- Parameters:
session
- the sessionvalue
- the monitoring value- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
updateFileMonitoringValue
void updateFileMonitoringValue(ECpdsSession session, MonitoringValue value) throws MasterException, DataBaseException, RemoteException Update file monitoring value.- Parameters:
session
- the sessionvalue
- the monitoring value- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
shutdown
void shutdown(ECpdsSession session, boolean graceful, boolean restart) throws MasterException, RemoteException Shutdown.- Parameters:
session
- the sessiongraceful
- the gracefulrestart
- the restart- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
removeTransferMethod
void removeTransferMethod(ECpdsSession session, TransferMethod method) throws MasterException, DataBaseException, RemoteException Removes the transfer method.- Parameters:
session
- the sessionmethod
- the method- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeECtransModule
void removeECtransModule(ECpdsSession session, ECtransModule module) throws MasterException, DataBaseException, RemoteException Removes the ectrans module.- Parameters:
session
- the sessionmodule
- the module- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeTransferGroup
void removeTransferGroup(ECpdsSession session, TransferGroup group) throws MasterException, DataBaseException, RemoteException Removes the transfer group.- Parameters:
session
- the sessiongroup
- the group- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeDestination
void removeDestination(ECpdsSession session, String destinationName) throws MasterException, DataBaseException, RemoteException Removes the destination.- Parameters:
session
- the sessiondestinationName
- the Destination name- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeDestination
void removeDestination(ECpdsSession session, String destinationName, boolean cleanOnly, boolean removeAll) throws MasterException, DataBaseException, RemoteException Removes the destination.- Parameters:
session
- the sessiondestinationName
- the Destination namecleanOnly
- clean only and don't delete the DestinationremoveAll
- remove all files or only deleted, expired, stopped and failed ones if clean only- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeTransferServer
void removeTransferServer(ECpdsSession session, TransferServer server) throws MasterException, DataBaseException, RemoteException Removes the transfer server.- Parameters:
session
- the sessionserver
- the server- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeHost
void removeHost(ECpdsSession session, Host host) throws MasterException, DataBaseException, RemoteException Removes the host.- Parameters:
session
- the sessionhost
- the host- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeIncomingUser
void removeIncomingUser(ECpdsSession session, IncomingUser user) throws MasterException, DataBaseException, RemoteException Removes the IncomingUser.- Parameters:
session
- the sessionuser
- the incoming user- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeIncomingPolicy
void removeIncomingPolicy(ECpdsSession session, IncomingPolicy policy) throws MasterException, DataBaseException, RemoteException Removes the IncomingPolicy.- Parameters:
session
- the sessionpolicy
- the policy- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeDataTransfer
void removeDataTransfer(ECpdsSession session, DataTransfer transfer) throws MasterException, DataBaseException, RemoteException Removes the data transfer.- Parameters:
session
- the sessiontransfer
- the transfer- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
interruptDataTransferRetrieval
boolean interruptDataTransferRetrieval(ECpdsSession session, long id) throws MasterException, RemoteException, DataBaseException Interrupt data transfer retrieval.- Parameters:
session
- the sessionid
- the id- Returns:
- true, if successful
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exceptionDataBaseException
- the data base exception
-
removeDataFile
void removeDataFile(ECpdsSession session, DataFile file) throws MasterException, DataBaseException, RemoteException Removes the data file.- Parameters:
session
- the sessionfile
- the file- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeWebUser
void removeWebUser(ECpdsSession session, WebUser user) throws MasterException, DataBaseException, RemoteException Removes the web user.- Parameters:
session
- the sessionuser
- the web user- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeCategory
void removeCategory(ECpdsSession session, Category category) throws MasterException, DataBaseException, RemoteException Removes the category.- Parameters:
session
- the sessioncategory
- the category- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
removeUrl
void removeUrl(ECpdsSession session, Url url) throws MasterException, DataBaseException, RemoteException Removes the url.- Parameters:
session
- the sessionurl
- the url- Throws:
MasterException
- the master exceptionDataBaseException
- the data base exceptionRemoteException
- the remote exception
-
resendDataTransferEvents
void resendDataTransferEvents(String root, DataTransferEventRequest[] dataTransferEventRequests) throws RemoteException Resend data transfer events.- Parameters:
root
- the rootdataTransferEventRequests
- the data transfer event requests- Throws:
RemoteException
- the remote exception
-
exec
byte[] exec(ECpdsSession session, Map<String, String> environment, byte[] request, String service) throws MasterException, IOException, RemoteExceptionExec.- Parameters:
session
- the sessionenvironment
- the environmentrequest
- the requestservice
- the service- Returns:
- the byte[]
- Throws:
MasterException
- the master exceptionIOException
- Signals that an I/O exception has occurred.RemoteException
- the remote exception
-
sendECpdsMessage
void sendECpdsMessage(ECpdsSession session, String from, String to, String cc, String subject, String content, String attachmentName, String attachmentContent) throws MasterException, IOException, RemoteException Sends an ecpds email message.- Parameters:
session
- the sessionfrom
- the fromto
- the tocc
- the ccsubject
- the subjectcontent
- the contentattachmentName
- the attachment nameattachmentContent
- the attachment content- Throws:
MasterException
- the master exceptionIOException
- Signals that an I/O exception has occurred.RemoteException
- the remote exception
-
getDestinationSchedulerCache
DestinationSchedulerCache getDestinationSchedulerCache(String destinationName) throws MasterException, RemoteException Gets the destination scheduler cache.- Parameters:
destinationName
- the destination name- Returns:
- the destination scheduler cache
- Throws:
MasterException
- the master exceptionRemoteException
- the remote exception
-
computeFilterEfficiency
String computeFilterEfficiency(ECpdsSession session, String destinationName, String email, String filter, long date, boolean includeStdby, String pattern) throws DataBaseException, MasterException, RemoteException Compute filter efficiency.- Parameters:
session
- the sessiondestinationName
- the destination nameemail
- the emailfilter
- the filterdate
- the dateincludeStdby
- the include stdbypattern
- the pattern- Returns:
- the string
- Throws:
DataBaseException
- the data base exceptionMasterException
- the master exceptionRemoteException
- the remote exception
-