Package org.kie.remote
Interface RemoteEntryPoint
-
- All Superinterfaces:
RemoteWorkingMemory
- All Known Subinterfaces:
RemoteKieSession
- All Known Implementing Classes:
RemoteEntryPointImpl,RemoteKieSessionImpl
public interface RemoteEntryPoint extends RemoteWorkingMemory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> voiddelete(RemoteFactHandle<T> handle)Retracts the fact for which the given FactHandle was assigned regardless if it has been explicitly or logically inserted.<T> RemoteFactHandle<T>insert(T object)Inserts a new fact into this entry point<T> voidupdate(RemoteFactHandle<T> handle, T object)Updates the fact for which the given FactHandle was assigned with the new fact set as the second parameter in this method.-
Methods inherited from interface org.kie.remote.RemoteWorkingMemory
getEntryPointId, getFactCount, getObject, getObjects, getObjects, getObjects
-
-
-
-
Method Detail
-
insert
<T> RemoteFactHandle<T> insert(T object)
Inserts a new fact into this entry point- Parameters:
object- the fact to be inserted- Returns:
- the fact handle created for the given fact
-
delete
<T> void delete(RemoteFactHandle<T> handle)
Retracts the fact for which the given FactHandle was assigned regardless if it has been explicitly or logically inserted.- Parameters:
handle- the handle whose fact is to be retracted.
-
update
<T> void update(RemoteFactHandle<T> handle, T object)
Updates the fact for which the given FactHandle was assigned with the new fact set as the second parameter in this method.- Parameters:
handle- the FactHandle for the fact to be updated.object- the new value for the fact being updated.
-
-