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 TypeMethodDescriptionvoid
Clear all the registeredPageFlowDefinition
s in the registry.getPageFlowDefinition
(String flowId) Retrieve thePageFlowDefinition
by the identifier (flowId
).void
removePageFlowDefinition
(String flowId) Remove thePageFlowDefinition
by the identifier (flowId
) of thePageFlowDefinition
.void
Remove thePageFlowDefinition
by the optionaluuid
of thePageFlowDefinition
.
-
Method Details
-
getPageFlowDefinition
Retrieve thePageFlowDefinition
by the identifier (flowId
). Return null if there's noPageFlowDefinition
found by the identifier.- Parameters:
flowId
- the identifier of thePageFlowDefinition
- Returns:
- the
PageFlowDefinition
identified byflowId
, or null if not found. - Throws:
PageFlowException
- if any exception occurs
-
removePageFlowDefinitionByUuid
Remove thePageFlowDefinition
by the optionaluuid
of thePageFlowDefinition
.- Parameters:
uuid
- the optional UUID value of thePageFlowDefinition
- Throws:
PageFlowException
- if any exception occurs
-
removePageFlowDefinition
Remove thePageFlowDefinition
by the identifier (flowId
) of thePageFlowDefinition
.- Parameters:
flowId
- the identifier value of thePageFlowDefinition
- Throws:
PageFlowException
- if any exception occurs
-
clearPageFlowDefinitions
Clear all the registeredPageFlowDefinition
s in the registry.- Throws:
PageFlowException
- if any exception occurs
-