Class AppNavPageWrapper
java.lang.Object
com.webmethods.caf.faces.bean.nav.AppNavPageWrapper
- All Implemented Interfaces:
IAppNavPage
,INode
- Direct Known Subclasses:
ShadowAppNavPage
Wraps an existing
IAppNavPage
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IAppNavPage
IAppNavPage
which is set as the wrapped page. -
Constructor Summary
ConstructorsConstructorDescriptionNew, uninitialized AppNavPageWrapper; must be initialized viasetWrappedPage(IAppNavPage)
.AppNavPageWrapper
(IAppNavPage page) Wraps an existingIAppNavPage
. -
Method Summary
Modifier and TypeMethodDescriptionReturnsgetPageChildren()
.getData()
ThisIAppNavPage
.getId()
Page id (ex "/myfolder/myview.view").List ofIAppNavPage
children.IAppNavPage
parent.ReturnsgetPageParent()
.getTitle()
Page title (ex "My View").getUrl()
Page url (ex "/mycontext/myfolder/myview.view").ReturnsIAppNavPage
set as the wrapped page.void
setWrappedPage
(IAppNavPage page) Sets aIAppNavPage
as the wrapped page.
-
Field Details
-
m_page
IAppNavPage
which is set as the wrapped page.
-
-
Constructor Details
-
AppNavPageWrapper
public AppNavPageWrapper()New, uninitialized AppNavPageWrapper; must be initialized viasetWrappedPage(IAppNavPage)
.
-
-
Method Details
-
getData
ThisIAppNavPage
.- Specified by:
getData
in interfaceIAppNavPage
- Specified by:
getData
in interfaceINode
-
getId
Page id (ex "/myfolder/myview.view").- Specified by:
getId
in interfaceIAppNavPage
- Specified by:
getId
in interfaceINode
-
getParent
ReturnsgetPageParent()
.- Specified by:
getParent
in interfaceIAppNavPage
- Specified by:
getParent
in interfaceINode
-
getChildren
ReturnsgetPageChildren()
.- Specified by:
getChildren
in interfaceIAppNavPage
- Specified by:
getChildren
in interfaceINode
-
getUrl
Page url (ex "/mycontext/myfolder/myview.view").- Specified by:
getUrl
in interfaceIAppNavPage
-
getTitle
Page title (ex "My View").- Specified by:
getTitle
in interfaceIAppNavPage
-
getPageParent
IAppNavPage
parent. Null if root page.- Specified by:
getPageParent
in interfaceIAppNavPage
-
getPageChildren
List ofIAppNavPage
children. Empty list (non-null) for leaf pages.- Specified by:
getPageChildren
in interfaceIAppNavPage
-
getWrappedPage
ReturnsIAppNavPage
set as the wrapped page.- Returns:
- wrapped
IAppNavPage
-