## Uses of Interface
org.kie.api.runtime.rule.FactHandle

- Packages that use FactHandle
  Package | Description
  --- | ---
  org.kie.api.command |
  org.kie.api.event.rule | Events emitted while rules are executing.
  org.kie.api.runtime.rule | The rule runtime classes.

- - ### Uses of FactHandle in org.kie.api.command

    Methods in org.kie.api.command that return types with arguments of type FactHandle
    Modifier and Type | Method and Description
    --- | ---
    `Command<FactHandle>` | KieCommands.`fromExternalFactHandleCommand(String factHandleExternalForm)`
    `Command<FactHandle>` | KieCommands.`fromExternalFactHandleCommand(String factHandleExternalForm, boolean disconnected)`

    Methods in org.kie.api.command with parameters of type FactHandle
    Modifier and Type | Method and Description
    --- | ---
    `Command` | KieCommands.`newDelete(FactHandle factHandle)`
    `Command` | KieCommands.`newGetObject(FactHandle factHandle)`
    `Command` | KieCommands.`newGetObject(FactHandle factHandle, String outIdentifier)`
    `Command` | KieCommands.`newModify(FactHandle factHandle, List<Setter> setters)`

  - ### Uses of FactHandle in org.kie.api.event.rule

    Methods in org.kie.api.event.rule that return FactHandle
    Modifier and Type | Method and Description
    --- | ---
    `FactHandle` | ObjectInsertedEvent.`getFactHandle()`
    `FactHandle` | ObjectUpdatedEvent.`getFactHandle()`
    `FactHandle` | ObjectDeletedEvent.`getFactHandle()`

  - ### Uses of FactHandle in org.kie.api.runtime.rule

    Methods in org.kie.api.runtime.rule with type parameters of type FactHandle
    Modifier and Type | Method and Description
    --- | ---
    `<T extends FactHandle> Collection<T>` | EntryPoint.`getFactHandles()`
    `<T extends FactHandle> Collection<T>` | EntryPoint.`getFactHandles(ObjectFilter filter)`

    Methods in org.kie.api.runtime.rule that return FactHandle
    Modifier and Type | Method and Description
    --- | ---
    `FactHandle` | PropagationContext.`getFactHandle()`
    `FactHandle` | EntryPoint.`getFactHandle(Object object)` Returns the fact handle associated with the given object.
    `FactHandle` | Row.`getFactHandle(String identifier)`
    `FactHandle` | EntryPoint.`insert(Object object)` Inserts a new fact into this entry point
    `FactHandle` | RuleContext.`insertLogical(Object object)` Logically inserts a fact into the KieSession, justified by the current rule context.
    `FactHandle` | RuleContext.`insertLogical(Object object, Object value)` Logically inserts a fact into the KieSession, justified by the current rule context.

    Methods in org.kie.api.runtime.rule that return types with arguments of type FactHandle
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends FactHandle>` | Match.`getFactHandles()`

    Methods in org.kie.api.runtime.rule with parameters of type FactHandle
    Modifier and Type | Method and Description
    --- | ---
    `void` | EntryPoint.`delete(FactHandle handle)` Retracts the fact for which the given FactHandle was assigned regardless if it has been explicitly or logically inserted.
    `void` | EntryPoint.`delete(FactHandle handle, FactHandle.State fhState)` Retracts the fact for which the given FactHandle was assigned.
    `Object` | EntryPoint.`getObject(FactHandle factHandle)`
    `void` | EntryPoint.`retract(FactHandle handle)` Deprecated. use `EntryPoint.delete(FactHandle)`
    `void` | EntryPoint.`update(FactHandle handle, Object object)` Updates the fact for which the given FactHandle was assigned with the new fact set as the second parameter in this method.
    `void` | EntryPoint.`update(FactHandle handle, Object object, String... modifiedProperties)` Updates the fact for which the given FactHandle was assigned with the new fact set as the second parameter in this method, also specifying the set of properties that have been modified.

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.