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:
  • 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:
      parseFlowExecutionKey in interface org.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:
      getLock in interface org.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:
      getFlowExecution in interface org.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:
      putFlowExecution in interface org.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:
      removeFlowExecution in interface org.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:
      getKey in interface org.springframework.webflow.execution.FlowExecutionKeyFactory
    • updateFlowExecutionSnapshot

      public void updateFlowExecutionSnapshot(org.springframework.webflow.execution.FlowExecution execution)
      Specified by:
      updateFlowExecutionSnapshot in interface org.springframework.webflow.execution.FlowExecutionKeyFactory
    • removeFlowExecutionSnapshot

      public void removeFlowExecutionSnapshot(org.springframework.webflow.execution.FlowExecution execution)
      Specified by:
      removeFlowExecutionSnapshot in interface org.springframework.webflow.execution.FlowExecutionKeyFactory
    • removeAllFlowExecutionSnapshots

      public void removeAllFlowExecutionSnapshots(org.springframework.webflow.execution.FlowExecution execution)
      Specified by:
      removeAllFlowExecutionSnapshots in interface org.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

      public void setTranscoder(Transcoder transcoder)