public static class BoundChildrenNode.PermissiveContentProviderWrapper extends ELPropertyContentProvider
PropertyNotFoundException
s raised by standard content-providers.m_o
fExpireWithPageFlow
Constructor and Description |
---|
PermissiveContentProviderWrapper() |
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 PermissiveContentProviderWrapper()
public 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 ELException
IContentProvider
getValue
in interface IContentProvider
getValue
in class ELPropertyContentProvider
propertyKey
- the property key of type String
or Integer
null
PropertyNotFoundException
- if property is not supportedELException
public boolean isReadOnly(Object propertyKey) throws ELException
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
PropertyNotFoundException
ELException
public void setValue(Object propertyKey, Object value) throws ELException
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 valuePropertyNotFoundException
- if property is not foundELException