/* 214 */ DefaultTreeModel model = (DefaultTreeModel)transactions.getModel();
/* */ try
/* */ {
/* 218 */ ClassName actionStoreType = new ClassName(arjPropertyManager.propertyManager.getProperty("com.arjuna.ats.arjuna.coordinator.actionStore", ArjunaNames.Implementation_ObjectStore_defaultActionStore().stringForm()));
/* */
/* 221 */ ObjectStore imple = new ObjectStore(actionStoreType, root);
/* 222 */ InputObjectState types = new InputObjectState();
/* */
/* 224 */ startSweep();
/* */
/* 226 */ if (imple.allTypes(types))
/* */ {
/* 228 */ String fullPathName = null;
/* 229 */ boolean found = false;
/* */ try
/* */ {
/* 233 */ boolean endOfList = false;
/* 234 */ DefaultMutableTreeNode currentNode = null;
/* 235 */ DefaultMutableTreeNode currentRoot = top;
/* */
/* 237 */ while (!endOfList)
/* */ {
/* 239 */ fullPathName = types.unpackString();
/* */
/* 241 */ if (fullPathName.compareTo("") == 0) {
/* 242 */ endOfList = true;
/* */ }
/* */ else {
/* 245 */ found = true;
/* */
/* 247 */ InputObjectState uids = new InputObjectState();
/* 248 */ String nodeName = stripName(fullPathName);
/* 249 */ boolean added = false;
/* */
/* 251 */ currentNode = findNode(fullPathName);
/* */
/* 253 */ if (currentNode == null)
/* */ {
/* 255 */ currentNode = new DefaultMutableTreeNode(nodeName);
/* 256 */ addDirectory(currentNode, fullPathName);
/* 257 */ currentRoot.add(currentNode);
/* */
/* 263 */ int[] i = new int[1];
/* */
/* 265 */ i[0] = (currentRoot.getChildCount() - 1);
/* */
/* 267 */ model.nodesWereInserted(currentRoot, i);
/* */
/* 269 */ added = true;
/* */ }
/* */
/* 272 */ currentRoot = findRoot(top, currentNode);
/* */
/* 274 */ if (added) {
/* 275 */ currentRoot.add(currentNode);
/* */ }
/* 277 */ if (imple.allObjUids(fullPathName, uids))
/* */ {
/* 279 */ Uid theUid = new Uid(Uid.nullUid());
/* */ try
/* */ {
/* 283 */ boolean endOfUids = false;
/* 284 */ boolean first = true;
/* 285 */ boolean haveUids = false;
/* */
/* 287 */ while (!endOfUids)
/* */ {
/* 289 */ theUid.unpack(uids);
/* */
/* 291 */ if (theUid.equals(Uid.nullUid()))
/* */ {
/* 293 */ if (!haveUids)
/* */ {
/* 295 */ if (emptyDirectory(currentNode))
/* */ {
/* 297 */ currentNode.removeAllChildren();
/* 298 */ model.nodeChanged(currentNode);
/* */ }
/* */ }
/* */
/* 302 */ endOfUids = true; continue;
/* */ }
/* */
/* 306 */ haveUids = true;
/* */
/* 308 */ if (first)
/* */ {
/* 310 */ currentNode.removeAllChildren();
/* */
/* 312 */ first = false;
/* */ }
/* */
/* 315 */ DefaultMutableTreeNode tranID = new DefaultMutableTreeNode(theUid.stringForm());
/* */
/* 317 */ tranID.add(new DefaultMutableTreeNode(new String("status: " + statusToString(imple.currentState(theUid, fullPathName)))));
/* */
/* 319 */ currentNode.add(tranID);
/* */
/* 321 */ added = true;
/* */ }