org.drools.common
Interface InternalWorkingMemoryActions

All Superinterfaces:
InternalWorkingMemory, InternalWorkingMemoryEntryPoint, RuleBaseEventManager, WorkingMemory, org.drools.runtime.rule.WorkingMemoryEntryPoint, WorkingMemoryEventManager
All Known Implementing Classes:
AbstractWorkingMemory, ReteooStatefulSession, ReteooWorkingMemory

public interface InternalWorkingMemoryActions
extends InternalWorkingMemory, InternalWorkingMemoryEntryPoint


Method Summary
 FactHandle insert(Object object, boolean dynamic, boolean logical, Rule rule, Activation activation)
           
 FactHandle insertLogical(Object object, boolean dynamic)
           
 void retract(FactHandle handle, boolean removeLogical, boolean updateEqualsMap, Rule rule, Activation activation)
           
 void update(FactHandle handle, Object object, Rule rule, Activation activation)
           
 
Methods inherited from interface org.drools.common.InternalWorkingMemory
activationFired, addLIANodePropagation, clearNodeMemory, endBatchExecution, endOperation, executeQueuedActions, getCalendars, getChannels, getDateFormats, getEntryPoint, getEntryPointNode, getEntryPoints, getExecutionResult, getExitPoints, getFactHandleByIdentity, getFactHandleFactory, getId, getIdleTime, getInitialFactHandle, getKnowledgeRuntime, getLock, getNextPropagationIdCounter, getNodeMemory, getObjectStore, getObjectTypeConfigurationRegistry, getPartitionTaskManager, getProcessRuntime, getSessionConfiguration, getTimerService, getTimeToNextJob, getTotalFactCount, getTruthMaintenanceSystem, insert, isSequential, prepareToFireActivation, queueWorkingMemoryAction, setAgendaEventSupport, setId, setKnowledgeRuntime, setWorkingMemoryEventSupport, startBatchExecution, startOperation, updateEntryPointsCache
 
Methods inherited from interface org.drools.WorkingMemory
clearActivationGroup, clearAgenda, clearAgendaGroup, clearRuleFlowGroup, fireAllRules, fireAllRules, fireAllRules, fireAllRules, getAgenda, getEnvironment, getFactHandle, getGlobal, getGlobalResolver, getObject, getProcessInstance, getProcessInstances, getQueryResults, getRuleBase, getSessionClock, getWorkingMemoryEntryPoint, getWorkItemManager, halt, iterateFactHandles, iterateFactHandles, iterateObjects, iterateObjects, setAsyncExceptionHandler, setFocus, setGlobal, setGlobalResolver, startProcess, startProcess
 
Methods inherited from interface org.drools.WorkingMemoryEventManager
addEventListener, addEventListener, getAgendaEventListeners, getWorkingMemoryEventListeners, removeEventListener, removeEventListener
 
Methods inherited from interface org.drools.RuleBaseEventManager
addEventListener, getRuleBaseEventListeners, removeEventListener
 
Methods inherited from interface org.drools.WorkingMemoryEntryPoint
insert, insert, retract, update
 
Methods inherited from interface org.drools.runtime.rule.WorkingMemoryEntryPoint
getEntryPointId, getFactCount, getFactHandles, getFactHandles, getObjects, getObjects
 
Methods inherited from interface org.drools.common.InternalWorkingMemoryEntryPoint
getEntryPoint, getEntryPointNode, getFactHandleByIdentity, getInternalWorkingMemory, getObjectStore, getObjectTypeConfigurationRegistry, getRuleBase, reset, update
 

Method Detail

update

void update(FactHandle handle,
            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
Specified by:
retract in interface InternalWorkingMemoryEntryPoint
Throws:
FactException

insert

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

insertLogical

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


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.