Class NotFoundPageServiceImpl
java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.exception.notfound.NotFoundPageServiceImpl
- All Implemented Interfaces:
NotFoundPageService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetNotFoundPage
(ContentTreeNode fallbackNode) Resolve the notfound page for any fallback node.
-
Constructor Details
-
NotFoundPageServiceImpl
public NotFoundPageServiceImpl()
-
-
Method Details
-
getNotFoundPage
Description copied from interface:NotFoundPageService
Resolve the notfound page for any fallback node. You can pass any ContentTreeNode. Then the root node of this ContentTreeNode is resolved. If the root node is aCmsDomainNode
, the notfound page that is selected on the domain will be returned.- Specified by:
getNotFoundPage
in interfaceNotFoundPageService
- Parameters:
fallbackNode
- Any ContentTreeNode.- Returns:
- the notfound page that is selected on the domain.
-