|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.bean.nav.BaseAppNavBean.PagesContentProvider
protected class BaseAppNavBean.PagesContentProvider
Map of all pages 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, 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).
Constructor Summary | |
---|---|
protected |
BaseAppNavBean.PagesContentProvider()
|
Method Summary | |
---|---|
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. |
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 Detail |
---|
protected BaseAppNavBean.PagesContentProvider()
Method Detail |
---|
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 EvaluationException, PropertyNotFoundException
getValue
in interface IContentProvider
propertyKey
- the property key of type String
or Integer
null
EvaluationException
- if error during property evaluation
PropertyNotFoundException
- if property is not supportedpublic boolean hasProperty(Object propertyKey)
hasProperty
in interface IContentProvider
propertyKey
- property key of type String
or Integer
true
if property is supported
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |