Class BaseAppNavBean.SubNavsContentProvider
java.lang.Object
com.webmethods.caf.faces.bean.nav.BaseAppNavBean.SubNavsContentProvider
- All Implemented Interfaces:
IContentProvider
- Enclosing class:
- BaseAppNavBean
Map of a sub-
BaseAppNavBean
for each page
in the navigation hierarchy, keyed by id.
For example, if there is a page with an id of "/foo/bar.view"
in the navigation hierarchy, getSubNavs().getValue("/foo/bar.view")
will return a BaseAppNavBean
for the sub-hierarchy
rooted by the page with an id of "/foo/bar.view"
(if there is no such page, it will return null).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]
List of all page ids in the navigation hierarchy.Class<?>
Returns theBaseAppNavBean
class.Returns a sub-BaseAppNavBean
for the page with the specified id, or null.boolean
hasProperty
(Object propertyKey) Returns true.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.webmethods.caf.faces.data.IContentProvider
toString
-
Constructor Details
-
SubNavsContentProvider
protected SubNavsContentProvider()
-
-
Method Details
-
getPropertyKeys
List of all page ids in the navigation hierarchy.- Specified by:
getPropertyKeys
in interfaceIContentProvider
- Returns:
- array of property keys which is typically of type
String
orInteger
-
getType
Returns theBaseAppNavBean
class.- Specified by:
getType
in interfaceIContentProvider
- Parameters:
propertyKey
- the property key of typeString
orInteger
- Returns:
- property java
Class
- Throws:
PropertyNotFoundException
- if property is not supported
-
getValue
Returns a sub-BaseAppNavBean
for the page with the specified id, or null.- Specified by:
getValue
in interfaceIContentProvider
- Parameters:
propertyKey
- the property key of typeString
orInteger
- Returns:
- value of the property, can be
null
- Throws:
PropertyNotFoundException
- if property is not supportedELException
-
hasProperty
Returns true.- Specified by:
hasProperty
in interfaceIContentProvider
- Parameters:
propertyKey
- property key of typeString
orInteger
- Returns:
true
if property is supported
-