protected class BaseAppNavBean.SubNavsContentProvider extends Object implements IContentProvider
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).Modifier | Constructor and Description |
---|---|
protected |
SubNavsContentProvider() |
Modifier and Type | Method and Description |
---|---|
Object[] |
getPropertyKeys()
List of all page ids in the navigation hierarchy.
|
Class<?> |
getType(Object propertyKey)
Returns the
BaseAppNavBean class. |
Object |
getValue(Object propertyKey)
Returns a sub-
BaseAppNavBean for the page with the specified id, or null. |
boolean |
hasProperty(Object propertyKey)
Returns true.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public Object[] getPropertyKeys()
getPropertyKeys
in interface IContentProvider
String
or Integer
public Class<?> getType(Object propertyKey) throws PropertyNotFoundException
BaseAppNavBean
class.getType
in interface IContentProvider
propertyKey
- the property key of type String
or Integer
Class
PropertyNotFoundException
- if property is not supportedpublic Object getValue(Object propertyKey) throws ELException, PropertyNotFoundException
BaseAppNavBean
for the page with the specified id, or null.getValue
in interface IContentProvider
propertyKey
- the property key of type String
or Integer
null
PropertyNotFoundException
- if property is not supportedELException
public boolean hasProperty(Object propertyKey)
hasProperty
in interface IContentProvider
propertyKey
- property key of type String
or Integer
true
if property is supported