Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.1.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.persistence
Class MapBasedProcessPersistenceContext

    java.lang.Object
      org.drools.persistence.map.MapBasedPersistenceContext
          org.jbpm.persistence.MapBasedProcessPersistenceContext

All Implemented Interfaces:
  org.drools.persistence.map.NonTransactionalPersistentSession, org.drools.persistence.PersistenceContext, NonTransactionalProcessPersistentSession, ProcessPersistenceContext

    public class MapBasedProcessPersistenceContext

extends org.drools.persistence.map.MapBasedPersistenceContext
implements ProcessPersistenceContext, NonTransactionalProcessPersistentSession

Constructor Summary
`MapBasedProcessPersistenceContext(ProcessStorage storage)`

Method Summary
`void` | `clearStoredProcessInstances()`
`void` | `close()`
`ProcessInstanceInfo` | `findProcessInstanceInfo(Long processId)`
`Long` | `getProcessInstanceByCorrelationKey(org.kie.internal.process.CorrelationKey correlationKey)`
`List<Long>` | `getProcessInstancesWaitingForEvent(String type)`
`List<ProcessInstanceInfo>` | `getStoredProcessInstances()`
`CorrelationKeyInfo` | `persist(CorrelationKeyInfo correlationKeyInfo)`
`ProcessInstanceInfo` | `persist(ProcessInstanceInfo processInstanceInfo)`
`void` | `remove(ProcessInstanceInfo processInstanceInfo)`

Methods inherited from class org.drools.persistence.map.MapBasedPersistenceContext
`clear, findSessionInfo, findWorkItemInfo, getStoredKnowledgeSessions, getStoredWorkItems, isOpen, joinTransaction, lock, lock, merge, persist, persist, remove, remove`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.drools.persistence.PersistenceContext
`findSessionInfo, findWorkItemInfo, isOpen, joinTransaction, lock, merge, persist, persist, remove, remove`

Methods inherited from interface org.drools.persistence.map.NonTransactionalPersistentSession
`clear, getStoredKnowledgeSessions, getStoredWorkItems`

Constructor Detail

### MapBasedProcessPersistenceContext

    public MapBasedProcessPersistenceContext(ProcessStorage storage)

Method Detail

### persist

    public ProcessInstanceInfo persist(ProcessInstanceInfo processInstanceInfo)

  Specified by:
    `persist` in interface `ProcessPersistenceContext`

### findProcessInstanceInfo

    public ProcessInstanceInfo findProcessInstanceInfo(Long processId)

  Specified by:
    `findProcessInstanceInfo` in interface `ProcessPersistenceContext`

### getStoredProcessInstances

    public List<ProcessInstanceInfo> getStoredProcessInstances()

  Specified by:
    `getStoredProcessInstances` in interface `NonTransactionalProcessPersistentSession`

### close

    public void close()

  Specified by:
    `close` in interface `org.drools.persistence.PersistenceContext`
  Overrides:
    `close` in class `org.drools.persistence.map.MapBasedPersistenceContext`

### remove

    public void remove(ProcessInstanceInfo processInstanceInfo)

  Specified by:
    `remove` in interface `ProcessPersistenceContext`

### getProcessInstancesWaitingForEvent

    public List<Long> getProcessInstancesWaitingForEvent(String type)

  Specified by:
    `getProcessInstancesWaitingForEvent` in interface `ProcessPersistenceContext`

### clearStoredProcessInstances

    public void clearStoredProcessInstances()

  Specified by:
    `clearStoredProcessInstances` in interface `NonTransactionalProcessPersistentSession`

### persist

    public CorrelationKeyInfo persist(CorrelationKeyInfo correlationKeyInfo)

  Specified by:
    `persist` in interface `ProcessPersistenceContext`

### getProcessInstanceByCorrelationKey

    public Long getProcessInstanceByCorrelationKey(org.kie.internal.process.CorrelationKey correlationKey)

  Specified by:
    `getProcessInstanceByCorrelationKey` in interface `ProcessPersistenceContext`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.1.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.