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; }
691692693694695696697698699700701
Object event = readItem( reader, context, null ); reader.moveUp(); Command cmd; if ( processInstanceId != null ) { cmd = CommandFactory.newSignalEvent( Long.parseLong( processInstanceId ), eventType, event ); } else {
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; }