wt.queue
Class QueueManagerBean

java.lang.Object
  extended bywt.queue.QueueManagerBean
All Implemented Interfaces:
QueueJspCons

public class QueueManagerBean
extends Object
implements QueueJspCons


Field Summary
private  QueuePage page
           
 
Fields inherited from interface wt.queue.QueueJspCons
DISABLE_Q, ENABLE_Q, NONE, PROCESS_Q, SCHEDULE_Q, START_Q, STARTED, STOP_Q, STOPPED, SUSPEND_Q, SUSPENDED
 
Constructor Summary
QueueManagerBean()
           
 
Method Summary
 QueueInfo controlQueue(String action, String q_name, String q_type)
           
 void createQueue(String q_name, String q_type, String exe_host)
           
 void deleteEntry(QueueInfo qi, QueueEntryInfo qei)
           
 void deleteQueue(String q_name, String q_type)
           
 void deleteWithStatus(String queue, String type, String status)
           
 Vector getQueueEntries(String queueName, String type)
           
 Vector getQueueEntries(String queueName, String type, String status)
           
 TreeSet getQueues()
           
 void setExceptionRetries(String queue, String type, String retries)
           
 void setNotificationEmail(String queue, String type, String email)
           
 void setPollingInterval(String queue, String type, String newInterval)
           
 QueueInfo setQueueExecutionHost(String q_name, String q_type, String new_host)
           
 void setQueueName(String q_name, String prev_name, String q_type)
           
 void setSuspendDuration(String queue, String type, String email)
           
 void startAllQueues()
           
 void stopAllQueues()
           
 void updateEntry(String queue, String qType, String entryNum, String status)
           
 void updateQueueEntries(String queue, String type, String from, String to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

page

private QueuePage page
Constructor Detail

QueueManagerBean

public QueueManagerBean()
Method Detail

getQueues

public TreeSet getQueues()
                  throws WTException
Throws:
WTException

getQueueEntries

public Vector getQueueEntries(String queueName,
                              String type)
                       throws WTException
Throws:
WTException

getQueueEntries

public Vector getQueueEntries(String queueName,
                              String type,
                              String status)
                       throws WTException
Throws:
WTException

startAllQueues

public void startAllQueues()
                    throws WTException
Throws:
WTException

stopAllQueues

public void stopAllQueues()
                   throws WTException
Throws:
WTException

createQueue

public void createQueue(String q_name,
                        String q_type,
                        String exe_host)
                 throws WTException
Throws:
WTException

deleteQueue

public void deleteQueue(String q_name,
                        String q_type)
                 throws WTException
Throws:
WTException

setQueueName

public void setQueueName(String q_name,
                         String prev_name,
                         String q_type)
                  throws WTException
Throws:
WTException

setQueueExecutionHost

public QueueInfo setQueueExecutionHost(String q_name,
                                       String q_type,
                                       String new_host)
                                throws WTException
Throws:
WTException

controlQueue

public QueueInfo controlQueue(String action,
                              String q_name,
                              String q_type)
                       throws WTException
Throws:
WTException

updateQueueEntries

public void updateQueueEntries(String queue,
                               String type,
                               String from,
                               String to)
                        throws WTException
Throws:
WTException

deleteWithStatus

public void deleteWithStatus(String queue,
                             String type,
                             String status)
                      throws WTException
Throws:
WTException

deleteEntry

public void deleteEntry(QueueInfo qi,
                        QueueEntryInfo qei)
                 throws WTException
Throws:
WTException

updateEntry

public void updateEntry(String queue,
                        String qType,
                        String entryNum,
                        String status)
                 throws WTException
Throws:
WTException

setPollingInterval

public void setPollingInterval(String queue,
                               String type,
                               String newInterval)
                        throws WTException
Throws:
WTException

setExceptionRetries

public void setExceptionRetries(String queue,
                                String type,
                                String retries)
                         throws WTException
Throws:
WTException

setNotificationEmail

public void setNotificationEmail(String queue,
                                 String type,
                                 String email)
                          throws WTException
Throws:
WTException

setSuspendDuration

public void setSuspendDuration(String queue,
                               String type,
                               String email)
                        throws WTException
Throws:
WTException