563564565566567568569570571
setters.add( setter ); reader.moveUp(); } Command cmd = CommandFactory.newModify( factHandle, setters ); return cmd; }
90919293949596979899100
dispatch( batch ); } private void dispatch( Command command ) { Command c = new KnowledgeContextResolveFromContextCommand( command, null, null, id, "" );
220221222223224225226227228
reader.getAttribute( "value" ) ); setters.add( setter ); reader.moveUp(); } Command cmd = CommandFactory.newModify( factHandle, setters ); return cmd; }
252253254255256257258259260
public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { FactHandle factHandle = new DefaultFactHandle( reader.getAttribute( "fact-handle" ) ); Command cmd = CommandFactory.newRetract( factHandle ); return cmd; }
699700701702703704705706707708709
Object event = readItem( reader, context, null ); reader.moveUp(); Command cmd; if ( processInstanceId != null ) { cmd = CommandFactory.newSignalEvent( Long.parseLong( processInstanceId ), eventType, event ); } else {
762763764765766767768769770771
results.put( identifier, value ); reader.moveUp(); } Command cmd = CommandFactory.newCompleteWorkItem( Long.parseLong( id ), results ); return cmd; }
792793794795796797798799800
} public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { String id = reader.getAttribute( "id" ); Command cmd = CommandFactory.newAbortWorkItem( Long.parseLong( id ) ); return cmd; }