public class CursoredDataSource<T> extends Object implements InternalDataSource<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
CursoredDataSource.DataSourceFactHandle |
| Constructor and Description |
|---|
CursoredDataSource() |
CursoredDataSource(InternalWorkingMemory workingMemory) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.kie.api.runtime.rule.RuleUnit unit,
WorkingMemoryEntryPoint ep) |
void |
delete(org.kie.api.runtime.rule.FactHandle fh) |
void |
delete(Object obj) |
org.kie.api.runtime.rule.FactHandle |
getFactHandleForObject(Object object) |
org.kie.api.runtime.rule.FactHandle |
insert(T object) |
Iterator<T> |
iterator() |
void |
setWorkingMemory(InternalWorkingMemory workingMemory) |
void |
unbind(org.kie.api.runtime.rule.RuleUnit unit) |
void |
update(org.kie.api.runtime.rule.FactHandle fh,
Object obj,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
update(org.kie.api.runtime.rule.FactHandle handle,
T object,
String... modifiedProperties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CursoredDataSource()
public CursoredDataSource(InternalWorkingMemory workingMemory)
public void setWorkingMemory(InternalWorkingMemory workingMemory)
setWorkingMemory in interface InternalDataSource<T>public org.kie.api.runtime.rule.FactHandle getFactHandleForObject(Object object)
getFactHandleForObject in interface InternalDataSource<T>public org.kie.api.runtime.rule.FactHandle insert(T object)
insert in interface org.kie.api.runtime.rule.DataSource<T>public void update(org.kie.api.runtime.rule.FactHandle handle,
T object,
String... modifiedProperties)
update in interface org.kie.api.runtime.rule.DataSource<T>public void update(org.kie.api.runtime.rule.FactHandle fh,
Object obj,
BitMask mask,
Class<?> modifiedClass,
Activation activation)
update in interface InternalDataSource<T>public void delete(org.kie.api.runtime.rule.FactHandle fh)
delete in interface org.kie.api.runtime.rule.DataSource<T>public void delete(Object obj)
delete in interface org.kie.api.runtime.rule.DataSource<T>public void bind(org.kie.api.runtime.rule.RuleUnit unit,
WorkingMemoryEntryPoint ep)
bind in interface BindableDataProviderpublic void unbind(org.kie.api.runtime.rule.RuleUnit unit)
unbind in interface BindableDataProviderCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.