754755756757758759760761762763
results.put( identifier, value ); reader.moveUp(); } Command cmd = CommandFactory.newCompleteWorkItem( Long.parseLong( id ), results ); return cmd; }
784785786787788789790791792
} public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { String id = reader.getAttribute( "id" ); Command cmd = CommandFactory.newAbortWorkItem( Long.parseLong( id ) ); return cmd; }
501502503504505506507508509
UnmarshallingContext context) { reader.moveDown(); FactHandle factHandle = new DefaultFactHandle( reader.getValue() ); reader.moveUp(); Command cmd = CommandFactory.newDelete(factHandle); return cmd; }
562563564565566567568569570
setters.add( setter ); reader.moveUp(); } Command cmd = CommandFactory.newModify( factHandle, setters ); return cmd; }