259260261262263264265266267
reader.getAttribute( "value" ) ); setters.add( setter ); reader.moveUp(); } Command cmd = CommandFactory.newModify( factHandle, setters ); return cmd; }
291292293294295296297298299
public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { FactHandle factHandle = new DisconnectedFactHandle( reader.getAttribute( "factHandle" ) ); Command cmd = CommandFactory.newRetract( factHandle ); return cmd; }
715716717718719720721722723724725
Object event = readItem( reader, context, null ); reader.moveUp(); Command cmd; if ( processInstanceId != null ) { cmd = CommandFactory.newSignalEvent( Long.parseLong( processInstanceId ), eventType, event ); } else {
778779780781782783784785786787
results.put( identifier, value ); reader.moveUp(); } Command cmd = CommandFactory.newCompleteWorkItem( Long.parseLong( id ), results ); return cmd; }
808809810811812813814815816
} public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { String id = reader.getAttribute( "id" ); Command cmd = CommandFactory.newAbortWorkItem( Long.parseLong( id ) ); return cmd; }
197198199200201202203204205
229230231232233234235236237
public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { FactHandle factHandle = new DisconnectedFactHandle( reader.getAttribute( "fact-handle" ) ); Command cmd = CommandFactory.newRetract( factHandle ); return cmd; }
664665666667668669670671672673674
727728729730731732733734735736
757758759760761762763764765