Advertisement
rahul0611

get workgroupName in spark

May 25th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.93 KB | None | 0 0
  1.    System.out.println(Agent.getWorkgroups("workgroup." + connection.getServiceName(), agentname + "@" + connection.getServiceName(), connection));
  2.  
  3.                     Collection<String> workgroupList = Agent.getWorkgroups("workgroup." + connection.getServiceName(), agentname + "@" + connection.getServiceName(), connection);
  4.  
  5.                      Iterator it =  workgroupList.iterator();
  6.  
  7.  
  8.                      while (it.hasNext()){
  9.  
  10.  
  11.                        Workgroup workgroup = new Workgroup((String)it.next(), connection);
  12.  
  13.                        
  14.  
  15.                      }
  16.  
  17.  
  18.                                                               JOptionPane.showConfirmDialog(null, "###################### AgentCount " + "#############"+agentSession.getMaxChats());
  19.  
  20.  
  21.                 //    JOptionPane.showConfirmDialog(null, "###################### AgentCount " + "#############"+agentSession.getQueue("Default Queue").getUsers());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement