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 java.lang.Object implements org.springframework.webflow.execution.repository.FlowExecutionRepository, org.springframework.webflow.execution.FlowExecutionKeyFactoryStores all flow execution state inClientFlowExecutionKey, 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 aTranscodercomponent.- Since:
- 6.1
- See Also:
ClientFlowExecutionKey,Transcoder
-
-
Constructor Summary
Constructors Constructor Description ClientFlowExecutionRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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(java.lang.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)voidupdateFlowExecutionSnapshot(org.springframework.webflow.execution.FlowExecution execution)
-
-
-
Method Detail
-
parseFlowExecutionKey
public org.springframework.webflow.execution.FlowExecutionKey parseFlowExecutionKey(java.lang.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
-
-