Package org.drools.process.command

Examples of org.drools.process.command.RetractCommand


    public FactHandle insert(Object object) {
        return commandService.execute( new InsertObjectCommand( object ) );
    }

    public void retract(FactHandle handle) {
        commandService.execute( new RetractCommand( handle ) );
    }
View Full Code Here


        }

        public void marshal(Object object,
                            HierarchicalStreamWriter writer,
                            MarshallingContext context) {
            RetractCommand cmd = (RetractCommand) object;

            writer.addAttribute( "factHandle",
                                 cmd.getFactHandle().toExternalForm() );
        }
View Full Code Here

    public FactHandle insert(Object object) {
        return commandService.execute( new InsertObjectCommand( object ) );
    }

    public void retract(FactHandle handle) {
        commandService.execute( new RetractCommand( handle ) );
    }
View Full Code Here

    cmd.setOutIdentifier(outIdentifier);
    return cmd;
  }
 
    public Command newRetract(FactHandle factHandle) {
        return new RetractCommand( factHandle );
    }
View Full Code Here

TOP

Related Classes of org.drools.process.command.RetractCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.