Пример #1
0
 public void refreshLists(String userName) {
   // clear the models
   List keys = new ArrayList();
   keys.addAll(_availableWork._rows.keySet());
   for (int i = 0; i < keys.size(); i++) {
     String id = (String) keys.get(i);
     _availableWork.removeRow(id);
   }
   keys.clear();
   keys.addAll(_myActiveTasks._rows.keySet());
   for (int i = 0; i < keys.size(); i++) {
     String id = (String) keys.get(i);
     _myActiveTasks.removeRow(id);
   }
   // now update them
   updateSelf();
   //        _worklistManager.informRemotePartnerOfcurrentState(userName);
 }
Пример #2
0
 private void removeUnstartedWorkItem(String caseIDStr, String taskID) {
   _availableWork.removeRow(caseIDStr + taskID);
 }
Пример #3
0
 private void removeStartedItem(String caseIDStr, String taskID) {
   _myActiveTasks.removeRow(caseIDStr + taskID);
 }