public class ObjectContextGraphAction extends Object implements Serializable
ObjectContext.propertyChanged(org.apache.cayenne.Persistent, String, Object, Object)
processing on behalf of an ObjectContext.Modifier and Type | Field and Description |
---|---|
protected ObjectContext |
context |
Constructor and Description |
---|
ObjectContextGraphAction(ObjectContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleArcPropertyChange(Persistent object,
ArcProperty property,
Object oldValue,
Object newValue) |
void |
handlePropertyChange(Persistent object,
String propertyName,
Object oldValue,
Object newValue)
Handles property change in a Persistent object, routing to either
handleArcPropertyChange(Persistent, ArcProperty, Object, Object) or
handleSimplePropertyChange(Persistent, String, Object, Object) . |
protected void |
handleSimplePropertyChange(Persistent object,
String propertyName,
Object oldValue,
Object newValue) |
protected boolean |
markAsDirty(Persistent object)
Changes object state to MODIFIED if needed, returning true if the change has
occurred, false if not.
|
protected ObjectContext context
public ObjectContextGraphAction(ObjectContext context)
public void handlePropertyChange(Persistent object, String propertyName, Object oldValue, Object newValue)
handleArcPropertyChange(Persistent, ArcProperty, Object, Object)
or
handleSimplePropertyChange(Persistent, String, Object, Object)
.protected void handleArcPropertyChange(Persistent object, ArcProperty property, Object oldValue, Object newValue)
protected void handleSimplePropertyChange(Persistent object, String propertyName, Object oldValue, Object newValue)
protected boolean markAsDirty(Persistent object)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.