com.gentics.api.lib.resolving
Class ChangeableBean
java.lang.Object
com.gentics.api.lib.resolving.ResolvableBean
com.gentics.api.lib.resolving.ChangeableBean
- All Implemented Interfaces:
- Changeable, Resolvable, Serializable
public abstract class ChangeableBean
- extends ResolvableBean
- implements Changeable
ChangeableBean serves as base class for JavaBeans that need to be Changeable.
The implementation of the Changeable and Resolvable interfaces map properties
to the corresponding getter and setter methods (when they exist). To use this
JavaBean integration into Portal.Node, simply let your BeanObject extend this
class and create getter/setter methods for all properties.
- Author:
- norbert
- See Also:
- Serialized Form
Method Summary |
boolean |
setProperty(String name,
Object value)
Set (modify) the property name to resolve to the given value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeableBean
public ChangeableBean()
setProperty
public boolean setProperty(String name,
Object value)
throws InsufficientPrivilegesException
- Description copied from interface:
Changeable
- Set (modify) the property name to resolve to the given value
- Specified by:
setProperty
in interface Changeable
- Parameters:
name
- name of the property to set/modifyvalue
- (new) value to set
- Returns:
- true if property was set successful, false otherwise.
- Throws:
InsufficientPrivilegesException
- when the property may not be
changed
Copyright © 2013 Gentics Software GmbH. All Rights Reserved.