blackboard.openTransaction(); blackboard.publishChange(a.getWrapper()); blackboard.closeTransaction();
        private String updateAction(String type, String uid, Set newvalues) {            ActionData ad;            Action a;                        String result = null;            //find the action            Iterator i = actions.iterator();            while (i.hasNext()) {                ad = (ActionData)i.next();                                if (type.equals("ACTIONS")) {                    a = (Action)ad.getAction();                    if (a.getUID().toString().equals(uid)) {                        result = ActionUtils.setPermittedValues(a, newvalues);                        break;                    }                } else { //wrapper change                    a = (Action)ad.getWrapper();                    if (a.getUID().toString().equals(uid)) {                        result = ActionUtils.setPermittedValues(a, newvalues);                        break;                    }                }            }                                    return result;        }