Drools :: ReteOO 6.0.0.Final

org.drools.reteoo.common
Class ReteWorkingMemoryEntryPoint

java.lang.Object
  extended by org.drools.reteoo.common.ReteWorkingMemoryEntryPoint
All Implemented Interfaces:
org.drools.core.WorkingMemoryEntryPoint, org.kie.api.runtime.rule.EntryPoint

public class ReteWorkingMemoryEntryPoint
extends Object
implements org.drools.core.WorkingMemoryEntryPoint


Constructor Summary
ReteWorkingMemoryEntryPoint(ReteWorkingMemory reteWm, org.drools.core.WorkingMemoryEntryPoint delegate)
           
 
Method Summary
 void delete(org.kie.api.runtime.rule.FactHandle handle)
           
 void dispose()
           
 String getEntryPointId()
           
 long getFactCount()
           
 org.kie.api.runtime.rule.FactHandle getFactHandle(Object object)
           
<T extends org.kie.api.runtime.rule.FactHandle>
Collection<T>
getFactHandles()
           
<T extends org.kie.api.runtime.rule.FactHandle>
Collection<T>
getFactHandles(org.kie.api.runtime.ObjectFilter filter)
           
 Object getObject(org.kie.api.runtime.rule.FactHandle factHandle)
           
 Collection<? extends Object> getObjects()
           
 Collection<? extends Object> getObjects(org.kie.api.runtime.ObjectFilter filter)
           
 org.drools.core.WorkingMemoryEntryPoint getWorkingMemoryEntryPoint(String name)
           
 org.drools.core.FactHandle insert(Object object)
           
 org.drools.core.FactHandle insert(Object object, boolean dynamic)
           
 void retract(org.kie.api.runtime.rule.FactHandle handle)
           
 void update(org.kie.api.runtime.rule.FactHandle handle, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReteWorkingMemoryEntryPoint

public ReteWorkingMemoryEntryPoint(ReteWorkingMemory reteWm,
                                   org.drools.core.WorkingMemoryEntryPoint delegate)
Method Detail

getEntryPointId

public String getEntryPointId()
Specified by:
getEntryPointId in interface org.kie.api.runtime.rule.EntryPoint

insert

public org.drools.core.FactHandle insert(Object object)
                                  throws org.drools.core.FactException
Specified by:
insert in interface org.drools.core.WorkingMemoryEntryPoint
Specified by:
insert in interface org.kie.api.runtime.rule.EntryPoint
Throws:
org.drools.core.FactException

insert

public org.drools.core.FactHandle insert(Object object,
                                         boolean dynamic)
                                  throws org.drools.core.FactException
Specified by:
insert in interface org.drools.core.WorkingMemoryEntryPoint
Throws:
org.drools.core.FactException

retract

public void retract(org.kie.api.runtime.rule.FactHandle handle)
             throws org.drools.core.FactException
Specified by:
retract in interface org.drools.core.WorkingMemoryEntryPoint
Specified by:
retract in interface org.kie.api.runtime.rule.EntryPoint
Throws:
org.drools.core.FactException

delete

public void delete(org.kie.api.runtime.rule.FactHandle handle)
Specified by:
delete in interface org.kie.api.runtime.rule.EntryPoint

update

public void update(org.kie.api.runtime.rule.FactHandle handle,
                   Object object)
            throws org.drools.core.FactException
Specified by:
update in interface org.drools.core.WorkingMemoryEntryPoint
Specified by:
update in interface org.kie.api.runtime.rule.EntryPoint
Throws:
org.drools.core.FactException

getFactHandle

public org.kie.api.runtime.rule.FactHandle getFactHandle(Object object)
Specified by:
getFactHandle in interface org.kie.api.runtime.rule.EntryPoint

getObject

public Object getObject(org.kie.api.runtime.rule.FactHandle factHandle)
Specified by:
getObject in interface org.kie.api.runtime.rule.EntryPoint

getObjects

public Collection<? extends Object> getObjects()
Specified by:
getObjects in interface org.kie.api.runtime.rule.EntryPoint

getObjects

public Collection<? extends Object> getObjects(org.kie.api.runtime.ObjectFilter filter)
Specified by:
getObjects in interface org.kie.api.runtime.rule.EntryPoint

getFactHandles

public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles()
Specified by:
getFactHandles in interface org.kie.api.runtime.rule.EntryPoint

getFactHandles

public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles(org.kie.api.runtime.ObjectFilter filter)
Specified by:
getFactHandles in interface org.kie.api.runtime.rule.EntryPoint

getFactCount

public long getFactCount()
Specified by:
getFactCount in interface org.kie.api.runtime.rule.EntryPoint

getWorkingMemoryEntryPoint

public org.drools.core.WorkingMemoryEntryPoint getWorkingMemoryEntryPoint(String name)
Specified by:
getWorkingMemoryEntryPoint in interface org.drools.core.WorkingMemoryEntryPoint

dispose

public void dispose()
Specified by:
dispose in interface org.drools.core.WorkingMemoryEntryPoint

Drools :: ReteOO 6.0.0.Final

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.