public interface IUpdateableContentProvider extends IContentProvider
Updateable content provider extends IContentProvider
by adding
data modification methods.
Modifier and Type | Method and Description |
---|---|
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
|
getPropertyKeys, getType, getValue, hasProperty, toString
void setValue(Object propertyKey, Object value) throws ELException, PropertyNotFoundException
Sets new value of the given property
propertyKey
- property key of type String
or Integer
value
- new property valueEvaluationException
- if error happens during property assigmentPropertyNotFoundException
- if property is not foundELException
boolean isReadOnly(Object propertyKey) throws ELException, PropertyNotFoundException
Returns true if the given property is readonly. If it is readonly, setValue(Object, Object)
will
definitely fail.
propertyKey
- property key of type String
or Integer
EvaluationException
PropertyNotFoundException
ELException