public static class BoundChildrenNode.PermissiveContentProviderWrapper extends ELPropertyContentProvider
PropertyNotFoundException
s raised by standard content-providers.m_o
fExpireWithPageFlow
Constructor and Description |
---|
BoundChildrenNode.PermissiveContentProviderWrapper() |
BoundChildrenNode.PermissiveContentProviderWrapper(Object o) |
Modifier and Type | Method and Description |
---|---|
Class |
getType(Object propertyKey)
Returns java type of the given property
|
Object |
getValue(Object propertyKey)
Returns value of the given property
|
boolean |
hasProperty(Object propertyKey)
Checks if the given property is supported by this content provider
|
boolean |
isReadOnly(Object propertyKey)
Returns true if the given property is readonly.
|
void |
setValue(Object propertyKey,
Object value)
Sets new value of the given property
|
getObject, getPropertyKeys, setObject, toString
getExpireWithPageFlow, setExpireWithPageFlow
public BoundChildrenNode.PermissiveContentProviderWrapper()
public BoundChildrenNode.PermissiveContentProviderWrapper(Object o)
public boolean hasProperty(Object propertyKey)
IContentProvider
hasProperty
in interface IContentProvider
hasProperty
in class ELPropertyContentProvider
propertyKey
- property key of type String
or Integer
true
if property is supportedpublic Class getType(Object propertyKey)
IContentProvider
getType
in interface IContentProvider
getType
in class ELPropertyContentProvider
propertyKey
- the property key of type String
or Integer
Class
public Object getValue(Object propertyKey) throws EvaluationException
IContentProvider
getValue
in interface IContentProvider
getValue
in class ELPropertyContentProvider
propertyKey
- the property key of type String
or Integer
null
EvaluationException
- if error during property evaluationPropertyNotFoundException
- if property is not supportedpublic boolean isReadOnly(Object propertyKey) throws EvaluationException
IUpdateableContentProvider
Returns true if the given property is readonly. If it is readonly, IUpdateableContentProvider.setValue(Object, Object)
will
definitely fail.
isReadOnly
in interface IUpdateableContentProvider
isReadOnly
in class ELPropertyContentProvider
propertyKey
- property key of type String
or Integer
EvaluationException
PropertyNotFoundException
public void setValue(Object propertyKey, Object value) throws EvaluationException
IUpdateableContentProvider
Sets new value of the given property
setValue
in interface IUpdateableContentProvider
setValue
in class ELPropertyContentProvider
propertyKey
- property key of type String
or Integer
value
- new property valueEvaluationException
- if error happens during property assigmentPropertyNotFoundException
- if property is not found