Package org.jbpm.runtime.manager.impl.mapper

## Class InternalMapper

- java.lang.Object
- - org.jbpm.runtime.manager.impl.mapper.InternalMapper

- All Implemented Interfaces:
    `org.kie.internal.runtime.manager.Mapper`
  Direct Known Subclasses:
    `InMemoryMapper`, `JPAMapper`

      public abstract class InternalMapper
      extends Object
      implements org.kie.internal.runtime.manager.Mapper

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `InternalMapper()` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract List<String>` | `findContextIdForEvent​(String eventType, String ownerId)` |
    `Long` | `findLogMapping​(org.kie.api.runtime.manager.Context<?> context, String ownerId)` | Finds ksession for given context

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.kie.internal.runtime.manager.Mapper

      `findContextId, findMapping, removeMapping, saveMapping`

- - ### Constructor Detail

    - #### InternalMapper

          public InternalMapper()

  - ### Method Detail

    - #### findContextIdForEvent

          public abstract List<String> findContextIdForEvent​(String eventType,
                                                             String ownerId)

    - #### findLogMapping

          public Long findLogMapping​(org.kie.api.runtime.manager.Context<?> context,
                                     String ownerId)

      Finds ksession for given context
      Parameters:
        `context` - instance of the context
      Returns:
        ksession identifier when found otherwise null