org.drools.common
Interface InternalWorkingMemoryActions

All Superinterfaces:
InternalWorkingMemory, RuleBaseEventManager, java.io.Serializable, WorkingMemory, WorkingMemoryEventManager
All Known Implementing Classes:
AbstractWorkingMemory, ReteooStatefulSession, ReteooWorkingMemory

public interface InternalWorkingMemoryActions
extends InternalWorkingMemory


Method Summary
 FactHandle insert(java.lang.Object object, boolean dynamic, boolean logical, Rule rule, Activation activation)
           
 FactHandle insertLogical(java.lang.Object object, boolean dynamic)
           
 void modifyInsert(FactHandle factHandle, java.lang.Object object, Rule rule, Activation activation)
           
 void modifyRetract(FactHandle factHandle, Rule rule, Activation activation)
           
 void retract(FactHandle handle, boolean removeLogical, boolean updateEqualsMap, Rule rule, Activation activation)
           
 void update(FactHandle handle, java.lang.Object object, Rule rule, Activation activation)
           
 
Methods inherited from interface org.drools.common.InternalWorkingMemory
addLIANodePropagation, clearNodeMemory, executeQueuedActions, getAssertMap, getExecutorService, getFactHandleByIdentity, getFactHandleFactory, getFactHandleMap, getId, getLock, getNextPropagationIdCounter, getNodeMemory, getTruthMaintenanceSystem, isSequential, queueWorkingMemoryAction, removeLogicalDependencies, setAgendaEventSupport, setExecutorService, setId, setRuleBase, setRuleFlowEventSupport, setWorkingMemoryEventSupport
 
Methods inherited from interface org.drools.WorkingMemory
clearActivationGroup, clearAgenda, clearAgendaGroup, clearRuleFlowGroup, fireAllRules, fireAllRules, fireAllRules, fireAllRules, getAgenda, getFactHandle, getFocus, getGlobal, getGlobalResolver, getObject, getQueryResults, getQueryResults, getRuleBase, halt, insert, insert, iterateFactHandles, iterateFactHandles, iterateObjects, iterateObjects, modifyInsert, modifyRetract, retract, setAsyncExceptionHandler, setFocus, setFocus, setGlobal, setGlobalResolver, startProcess, update
 
Methods inherited from interface org.drools.WorkingMemoryEventManager
addEventListener, addEventListener, addEventListener, getAgendaEventListeners, getRuleFlowEventListeners, getWorkingMemoryEventListeners, removeEventListener, removeEventListener, removeEventListener
 
Methods inherited from interface org.drools.RuleBaseEventManager
addEventListener, getRuleBaseEventListeners, removeEventListener
 

Method Detail

update

void update(FactHandle handle,
            java.lang.Object object,
            Rule rule,
            Activation activation)
            throws FactException
Throws:
FactException

retract

void retract(FactHandle handle,
             boolean removeLogical,
             boolean updateEqualsMap,
             Rule rule,
             Activation activation)
             throws FactException
Specified by:
retract in interface InternalWorkingMemory
Throws:
FactException

insert

FactHandle insert(java.lang.Object object,
                  boolean dynamic,
                  boolean logical,
                  Rule rule,
                  Activation activation)
                  throws FactException
Throws:
FactException

insertLogical

FactHandle insertLogical(java.lang.Object object,
                         boolean dynamic)
                         throws FactException
Throws:
FactException

modifyRetract

void modifyRetract(FactHandle factHandle,
                   Rule rule,
                   Activation activation)

modifyInsert

void modifyInsert(FactHandle factHandle,
                  java.lang.Object object,
                  Rule rule,
                  Activation activation)