Class ClientFlowExecutionRepository

  • All Implemented Interfaces:
    org.springframework.webflow.execution.FlowExecutionKeyFactory, org.springframework.webflow.execution.repository.FlowExecutionRepository

    public class ClientFlowExecutionRepository
    extends java.lang.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:
    ClientFlowExecutionKey, Transcoder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.webflow.execution.FlowExecution getFlowExecution​(org.springframework.webflow.execution.FlowExecutionKey key)  
      org.springframework.webflow.execution.FlowExecutionKey getKey​(org.springframework.webflow.execution.FlowExecution execution)  
      org.springframework.webflow.execution.repository.FlowExecutionLock getLock​(org.springframework.webflow.execution.FlowExecutionKey key)  
      org.springframework.webflow.execution.FlowExecutionKey parseFlowExecutionKey​(java.lang.String encodedKey)  
      void putFlowExecution​(org.springframework.webflow.execution.FlowExecution flowExecution)  
      void removeAllFlowExecutionSnapshots​(org.springframework.webflow.execution.FlowExecution execution)  
      void removeFlowExecution​(org.springframework.webflow.execution.FlowExecution flowExecution)  
      void removeFlowExecutionSnapshot​(org.springframework.webflow.execution.FlowExecution execution)  
      void updateFlowExecutionSnapshot​(org.springframework.webflow.execution.FlowExecution execution)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClientFlowExecutionRepository

        public ClientFlowExecutionRepository()
    • Method Detail

      • parseFlowExecutionKey

        public org.springframework.webflow.execution.FlowExecutionKey parseFlowExecutionKey​(java.lang.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