1 16 package org.springframework.webflow.execution.repository; 17 18 import org.springframework.webflow.execution.FlowExecution; 19 20 38 public interface FlowExecutionRepository { 39 40 50 public FlowExecutionKey generateKey(FlowExecution flowExecution) throws FlowExecutionRepositoryException; 51 52 63 public FlowExecutionKey getNextKey(FlowExecution flowExecution, FlowExecutionKey previousKey) 64 throws FlowExecutionRepositoryException; 65 66 91 public FlowExecutionLock getLock(FlowExecutionKey key) throws FlowExecutionRepositoryException; 92 93 104 public FlowExecution getFlowExecution(FlowExecutionKey key) throws FlowExecutionRepositoryException; 105 106 115 public void putFlowExecution(FlowExecutionKey key, FlowExecution flowExecution) 116 throws FlowExecutionRepositoryException; 117 118 125 public void removeFlowExecution(FlowExecutionKey key) throws FlowExecutionRepositoryException; 126 127 134 public FlowExecutionKey parseFlowExecutionKey(String encodedKey) throws FlowExecutionRepositoryException; 135 136 } | Popular Tags |