Interface PageFlowDefinitionRegistry
-
- All Known Implementing Classes:
MapPageFlowDefinitionRegistry
,RepositoryMapPageFlowDefinitionRegistry
public interface PageFlowDefinitionRegistry
Page Flow Definition Registry abstraction which is responsible for retrieval, removing or clearingPageFlowDefinition
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearPageFlowDefinitions()
Clear all the registeredPageFlowDefinition
s in the registry.PageFlowDefinition
getPageFlowDefinition(String flowId)
Retrieve thePageFlowDefinition
by the identifier (flowId
).void
removePageFlowDefinition(String flowId)
Remove thePageFlowDefinition
by the identifier (flowId
) of thePageFlowDefinition
.void
removePageFlowDefinitionByUuid(String uuid)
Remove thePageFlowDefinition
by the optionaluuid
of thePageFlowDefinition
.
-
-
-
Method Detail
-
getPageFlowDefinition
PageFlowDefinition getPageFlowDefinition(String flowId) throws PageFlowException
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
void removePageFlowDefinitionByUuid(String uuid) throws PageFlowException
Remove thePageFlowDefinition
by the optionaluuid
of thePageFlowDefinition
.- Parameters:
uuid
- the optional UUID value of thePageFlowDefinition
- Throws:
PageFlowException
- if any exception occurs
-
removePageFlowDefinition
void removePageFlowDefinition(String flowId) throws PageFlowException
Remove thePageFlowDefinition
by the identifier (flowId
) of thePageFlowDefinition
.- Parameters:
flowId
- the identifier value of thePageFlowDefinition
- Throws:
PageFlowException
- if any exception occurs
-
clearPageFlowDefinitions
void clearPageFlowDefinitions() throws PageFlowException
Clear all the registeredPageFlowDefinition
s in the registry.- Throws:
PageFlowException
- if any exception occurs
-
-