Interface PageFlowDefinitionRegistry
- All Known Implementing Classes:
MapPageFlowDefinitionRegistry,RepositoryMapPageFlowDefinitionRegistry
public interface PageFlowDefinitionRegistry
Page Flow Definition Registry abstraction which is responsible for retrieval, removing or clearing
PageFlowDefinition
instances.-
Method Summary
Modifier and TypeMethodDescriptionvoidClear all the registeredPageFlowDefinitions in the registry.getPageFlowDefinition(String flowId) Retrieve thePageFlowDefinitionby the identifier (flowId).voidremovePageFlowDefinition(String flowId) Remove thePageFlowDefinitionby the identifier (flowId) of thePageFlowDefinition.voidRemove thePageFlowDefinitionby the optionaluuidof thePageFlowDefinition.
-
Method Details
-
getPageFlowDefinition
Retrieve thePageFlowDefinitionby the identifier (flowId). Return null if there's noPageFlowDefinitionfound by the identifier.- Parameters:
flowId- the identifier of thePageFlowDefinition- Returns:
- the
PageFlowDefinitionidentified byflowId, or null if not found. - Throws:
PageFlowException- if any exception occurs
-
removePageFlowDefinitionByUuid
Remove thePageFlowDefinitionby the optionaluuidof thePageFlowDefinition.- Parameters:
uuid- the optional UUID value of thePageFlowDefinition- Throws:
PageFlowException- if any exception occurs
-
removePageFlowDefinition
Remove thePageFlowDefinitionby the identifier (flowId) of thePageFlowDefinition.- Parameters:
flowId- the identifier value of thePageFlowDefinition- Throws:
PageFlowException- if any exception occurs
-
clearPageFlowDefinitions
Clear all the registeredPageFlowDefinitions in the registry.- Throws:
PageFlowException- if any exception occurs
-