protected class BaseAppNavBean.PagesContentProvider extends Object implements IContentProvider
new PagesContentProvider().getValue("/foo/bar.view")
will return the IAppNavPage
with an id of "/foo/bar.view"
(if there is no such page, it will return null).Modifier | Constructor and Description |
---|---|
protected |
PagesContentProvider() |
Modifier and Type | Method and Description |
---|---|
Object[] |
getPropertyKeys()
List of all page ids in the navigation hierarchy.
|
Class<?> |
getType(Object propertyKey)
Returns the
IAppNavPage class. |
Object |
getValue(Object propertyKey)
Returns 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
IAppNavPage
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
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