## Uses of Interface
org.jbpm.services.api.model.NodeInstanceDesc

- Packages that use NodeInstanceDesc
  Package | Description
  --- | ---
  org.jbpm.casemgmt.api |
  org.jbpm.casemgmt.api.model.instance |
  org.jbpm.casemgmt.impl |
  org.jbpm.casemgmt.impl.model.instance |
  org.jbpm.kie.services.impl |
  org.jbpm.kie.services.impl.admin |
  org.jbpm.kie.services.impl.model |
  org.jbpm.services.api |
  org.jbpm.services.api.admin |
  org.jbpm.test.services |

- - ### Uses of NodeInstanceDesc in org.jbpm.casemgmt.api

    Methods in org.jbpm.casemgmt.api that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<NodeInstanceDesc>` | CaseRuntimeDataService.`getActiveNodesForCase​(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns active nodes in given case regardless in what process instance they belong to.
    `Collection<NodeInstanceDesc>` | CaseRuntimeDataService.`getCompletedNodesForCase​(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns completed nodes in given case regardless in what process instance they belong to.

  - ### Uses of NodeInstanceDesc in org.jbpm.casemgmt.api.model.instance

    Methods in org.jbpm.casemgmt.api.model.instance that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<NodeInstanceDesc>` | CaseStageInstance.`getActiveNodes()` | Returns currently active nodes within this stage

  - ### Uses of NodeInstanceDesc in org.jbpm.casemgmt.impl

    Methods in org.jbpm.casemgmt.impl that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<NodeInstanceDesc>` | CaseRuntimeDataServiceImpl.`getActiveNodesForCase​(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` |
    `protected Collection<NodeInstanceDesc>` | CaseRuntimeDataServiceImpl.`getActiveNodesForCaseAndStage​(String caseId, String stageId, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<NodeInstanceDesc>` | CaseRuntimeDataServiceImpl.`getCompletedNodesForCase​(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` |

  - ### Uses of NodeInstanceDesc in org.jbpm.casemgmt.impl.model.instance

    Methods in org.jbpm.casemgmt.impl.model.instance that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<NodeInstanceDesc>` | CaseStageInstanceImpl.`getActiveNodes()` |

  - ### Uses of NodeInstanceDesc in org.jbpm.kie.services.impl

    Methods in org.jbpm.kie.services.impl that return NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `NodeInstanceDesc` | RuntimeDataServiceImpl.`getNodeInstanceForWorkItem​(Long workItemId)` |

    Methods in org.jbpm.kie.services.impl that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<NodeInstanceDesc>` | RuntimeDataServiceImpl.`getNodeInstancesByCorrelationKeyNodeType​(org.kie.internal.process.CorrelationKey correlationKey, List<Integer> states, List<String> nodeTypes, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<NodeInstanceDesc>` | RuntimeDataServiceImpl.`getNodeInstancesByNodeType​(long processInstanceId, List<String> nodeTypes, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<NodeInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstanceFullHistory​(long processId, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<NodeInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstanceFullHistoryByType​(long processId, RuntimeDataService.EntryType type, org.kie.api.runtime.query.QueryContext queryContext)` |
    `protected Collection<NodeInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstanceHistory​(long processId, boolean completed, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<NodeInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstanceHistoryActive​(long processId, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<NodeInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstanceHistoryCompleted​(long processId, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<NodeInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstanceHistoryFinished​(long processId, org.kie.api.runtime.query.QueryContext queryContext)` |

  - ### Uses of NodeInstanceDesc in org.jbpm.kie.services.impl.admin

    Methods in org.jbpm.kie.services.impl.admin that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<NodeInstanceDesc>` | ProcessInstanceAdminServiceImpl.`getActiveNodeInstances​(long processInstanceId)` |

  - ### Uses of NodeInstanceDesc in org.jbpm.kie.services.impl.model

    Classes in org.jbpm.kie.services.impl.model that implement NodeInstanceDesc
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `NodeInstanceDesc` |

  - ### Uses of NodeInstanceDesc in org.jbpm.services.api

    Methods in org.jbpm.services.api that return NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `NodeInstanceDesc` | RuntimeDataService.`getNodeInstanceForWorkItem​(Long workItemId)` | Returns active node instance descriptor for given work item id, if exists.

    Methods in org.jbpm.services.api that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<NodeInstanceDesc>` | RuntimeDataService.`getNodeInstancesByCorrelationKeyNodeType​(org.kie.internal.process.CorrelationKey correlationKey, List<Integer> states, List<String> nodeTypes, org.kie.api.runtime.query.QueryContext queryContext)` | Returns trace of all nodes for a given node types and correlation key
    `Collection<NodeInstanceDesc>` | RuntimeDataService.`getNodeInstancesByNodeType​(long processInstanceId, List<String> nodeTypes, org.kie.api.runtime.query.QueryContext queryContext)` | Returns trace of all nodes for a given node types and process instance id
    `Collection<NodeInstanceDesc>` | RuntimeDataService.`getProcessInstanceFullHistory​(long processInstanceId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns complete trace of all executed (completed) and active nodes for given process instance id
    `Collection<NodeInstanceDesc>` | RuntimeDataService.`getProcessInstanceFullHistoryByType​(long processInstanceId, RuntimeDataService.EntryType type, org.kie.api.runtime.query.QueryContext queryContext)` | Returns complete trace of all events of given type (START, END, ABORTED, SKIPPED, OBSOLETE or ERROR) for given process instance.
    `Collection<NodeInstanceDesc>` | RuntimeDataService.`getProcessInstanceHistoryActive​(long processInstanceId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns trace of all active nodes for given process instance id
    `Collection<NodeInstanceDesc>` | RuntimeDataService.`getProcessInstanceHistoryCompleted​(long processInstanceId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns trace of all executed (completed) for given process instance id
    `Collection<NodeInstanceDesc>` | RuntimeDataService.`getProcessInstanceHistoryFinished​(long processInstanceId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns trace of all passed (include completed, skipped, aborted, OBSOLETE) for given process instance id

  - ### Uses of NodeInstanceDesc in org.jbpm.services.api.admin

    Methods in org.jbpm.services.api.admin that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<NodeInstanceDesc>` | ProcessInstanceAdminService.`getActiveNodeInstances​(long processInstanceId)` | Returns all active node instances in given process instance;

  - ### Uses of NodeInstanceDesc in org.jbpm.test.services

    Methods in org.jbpm.test.services that return types with arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Map<String,​NodeInstanceDesc>` | AbstractCaseServicesTest.`mapNodeInstances​(Collection<NodeInstanceDesc> nodes)` |

    Method parameters in org.jbpm.test.services with type arguments of type NodeInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Map<String,​NodeInstanceDesc>` | AbstractCaseServicesTest.`mapNodeInstances​(Collection<NodeInstanceDesc> nodes)` |