## 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` | ObjectDeletedEvent.`getFactHandle()`
    `FactHandle` | ObjectUpdatedEvent.`getFactHandle()`
    `FactHandle` | ObjectInsertedEvent.`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()` Returns all `FactHandle`s from the current session.
    `<T extends FactHandle> Collection<T>` | EntryPoint.`getFactHandles(ObjectFilter filter)` Returns all `FactHandle`s from the current session for which the facts are accepted by the given filter.

    Methods in org.kie.api.runtime.rule that return FactHandle
    Modifier and Type | Method and Description
    --- | ---
    `FactHandle` | PropagationContext.`getFactHandle()` The facthandle that was inserted, updated or retracted that created the PropagationContext
    `FactHandle` | EntryPoint.`getFactHandle(Object object)` Returns the fact handle associated with the given object.
    `FactHandle` | Row.`getFactHandle(String identifier)` Return the FactHandle associated with the given 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 KnowledgeSession, justified by the current rule context.
    `FactHandle` | RuleContext.`insertLogical(Object object, Object value)` Logically inserts a fact into the KnowledgeSession, 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)` Returns the object associated with the given 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.

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