Package org.apereo.cas.web.flow.executor
Class ClientFlowExecutionRepository
java.lang.Object
org.apereo.cas.web.flow.executor.ClientFlowExecutionRepository
- All Implemented Interfaces:
org.springframework.webflow.execution.FlowExecutionKeyFactory,org.springframework.webflow.execution.repository.FlowExecutionRepository
public class ClientFlowExecutionRepository
extends Object
implements org.springframework.webflow.execution.repository.FlowExecutionRepository, org.springframework.webflow.execution.FlowExecutionKeyFactory
Stores all flow execution state in
ClientFlowExecutionKey, which effectively stores execution state on the
client in a form parameter when a view is rendered. The details of encoding flow state into a byte stream is handled
by a Transcoder component.- Since:
- 6.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionClientFlowExecutionRepository(org.springframework.webflow.execution.FlowExecutionFactory flowExecutionFactory, org.springframework.webflow.definition.registry.FlowDefinitionLocator flowDefinitionLocator, Transcoder transcoder) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.webflow.execution.FlowExecutiongetFlowExecution(org.springframework.webflow.execution.FlowExecutionKey key) org.springframework.webflow.execution.FlowExecutionKeygetKey(org.springframework.webflow.execution.FlowExecution execution) org.springframework.webflow.execution.repository.FlowExecutionLockgetLock(org.springframework.webflow.execution.FlowExecutionKey key) org.springframework.webflow.execution.FlowExecutionKeyparseFlowExecutionKey(String encodedKey) voidputFlowExecution(org.springframework.webflow.execution.FlowExecution flowExecution) voidremoveAllFlowExecutionSnapshots(org.springframework.webflow.execution.FlowExecution execution) voidremoveFlowExecution(org.springframework.webflow.execution.FlowExecution flowExecution) voidremoveFlowExecutionSnapshot(org.springframework.webflow.execution.FlowExecution execution) voidsetFlowDefinitionLocator(org.springframework.webflow.definition.registry.FlowDefinitionLocator flowDefinitionLocator) voidsetFlowExecutionFactory(org.springframework.webflow.execution.FlowExecutionFactory flowExecutionFactory) voidsetTranscoder(Transcoder transcoder) voidupdateFlowExecutionSnapshot(org.springframework.webflow.execution.FlowExecution execution)
-
Constructor Details
-
ClientFlowExecutionRepository
public ClientFlowExecutionRepository() -
ClientFlowExecutionRepository
public ClientFlowExecutionRepository(org.springframework.webflow.execution.FlowExecutionFactory flowExecutionFactory, org.springframework.webflow.definition.registry.FlowDefinitionLocator flowDefinitionLocator, Transcoder transcoder)
-
-
Method Details
-
parseFlowExecutionKey
public org.springframework.webflow.execution.FlowExecutionKey parseFlowExecutionKey(String encodedKey) throws org.springframework.webflow.execution.repository.FlowExecutionRepositoryException - Specified by:
parseFlowExecutionKeyin interfaceorg.springframework.webflow.execution.repository.FlowExecutionRepository- Throws:
org.springframework.webflow.execution.repository.FlowExecutionRepositoryException
-
getLock
public org.springframework.webflow.execution.repository.FlowExecutionLock getLock(org.springframework.webflow.execution.FlowExecutionKey key) throws org.springframework.webflow.execution.repository.FlowExecutionRepositoryException - Specified by:
getLockin interfaceorg.springframework.webflow.execution.repository.FlowExecutionRepository- Throws:
org.springframework.webflow.execution.repository.FlowExecutionRepositoryException
-
getFlowExecution
public org.springframework.webflow.execution.FlowExecution getFlowExecution(org.springframework.webflow.execution.FlowExecutionKey key) throws org.springframework.webflow.execution.repository.FlowExecutionRepositoryException - Specified by:
getFlowExecutionin interfaceorg.springframework.webflow.execution.repository.FlowExecutionRepository- Throws:
org.springframework.webflow.execution.repository.FlowExecutionRepositoryException
-
putFlowExecution
public void putFlowExecution(org.springframework.webflow.execution.FlowExecution flowExecution) throws org.springframework.webflow.execution.repository.FlowExecutionRepositoryException - Specified by:
putFlowExecutionin interfaceorg.springframework.webflow.execution.repository.FlowExecutionRepository- Throws:
org.springframework.webflow.execution.repository.FlowExecutionRepositoryException
-
removeFlowExecution
public void removeFlowExecution(org.springframework.webflow.execution.FlowExecution flowExecution) throws org.springframework.webflow.execution.repository.FlowExecutionRepositoryException - Specified by:
removeFlowExecutionin interfaceorg.springframework.webflow.execution.repository.FlowExecutionRepository- Throws:
org.springframework.webflow.execution.repository.FlowExecutionRepositoryException
-
getKey
public org.springframework.webflow.execution.FlowExecutionKey getKey(org.springframework.webflow.execution.FlowExecution execution) - Specified by:
getKeyin interfaceorg.springframework.webflow.execution.FlowExecutionKeyFactory
-
updateFlowExecutionSnapshot
public void updateFlowExecutionSnapshot(org.springframework.webflow.execution.FlowExecution execution) - Specified by:
updateFlowExecutionSnapshotin interfaceorg.springframework.webflow.execution.FlowExecutionKeyFactory
-
removeFlowExecutionSnapshot
public void removeFlowExecutionSnapshot(org.springframework.webflow.execution.FlowExecution execution) - Specified by:
removeFlowExecutionSnapshotin interfaceorg.springframework.webflow.execution.FlowExecutionKeyFactory
-
removeAllFlowExecutionSnapshots
public void removeAllFlowExecutionSnapshots(org.springframework.webflow.execution.FlowExecution execution) - Specified by:
removeAllFlowExecutionSnapshotsin interfaceorg.springframework.webflow.execution.FlowExecutionKeyFactory
-
setFlowExecutionFactory
public void setFlowExecutionFactory(org.springframework.webflow.execution.FlowExecutionFactory flowExecutionFactory) -
setFlowDefinitionLocator
public void setFlowDefinitionLocator(org.springframework.webflow.definition.registry.FlowDefinitionLocator flowDefinitionLocator) -
setTranscoder
-