Class RepositoryMapPageFlowDefinitionRegistry
- java.lang.Object
-
- org.onehippo.forge.pageflow.core.def.impl.MapPageFlowDefinitionRegistry
-
- org.onehippo.forge.pageflow.hst.def.impl.RepositoryMapPageFlowDefinitionRegistry
-
- All Implemented Interfaces:
PageFlowDefinitionRegistry
public class RepositoryMapPageFlowDefinitionRegistry extends MapPageFlowDefinitionRegistry
Generic purpose JCR basedPageFlowDefinitionRegistry
implementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected static PageFlowDefinition
NULL_PAGE_FLOW_DEF
-
Constructor Summary
Constructors Constructor Description RepositoryMapPageFlowDefinitionRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageFlowDefinition
getPageFlowDefinition(String flowId)
Retrieve thePageFlowDefinition
by the identifier (flowId
).-
Methods inherited from class org.onehippo.forge.pageflow.core.def.impl.MapPageFlowDefinitionRegistry
addPageFlowDefinition, clearPageFlowDefinitions, removePageFlowDefinition, removePageFlowDefinitionByUuid
-
-
-
-
Field Detail
-
NULL_PAGE_FLOW_DEF
protected static final PageFlowDefinition NULL_PAGE_FLOW_DEF
-
-
Method Detail
-
getPageFlowDefinition
public PageFlowDefinition getPageFlowDefinition(String flowId) throws PageFlowException
Description copied from interface:PageFlowDefinitionRegistry
Retrieve thePageFlowDefinition
by the identifier (flowId
). Return null if there's noPageFlowDefinition
found by the identifier.- Specified by:
getPageFlowDefinition
in interfacePageFlowDefinitionRegistry
- Overrides:
getPageFlowDefinition
in classMapPageFlowDefinitionRegistry
- Parameters:
flowId
- the identifier of thePageFlowDefinition
- Returns:
- the
PageFlowDefinition
identified byflowId
, or null if not found. - Throws:
PageFlowException
- if any exception occurs
-
-