public class SaveContext extends Object
Constructor and Description |
---|
SaveContext() |
Modifier and Type | Method and Description |
---|---|
void |
addIndex(Path path,
Object object) |
Map<Path,Collection<Object>> |
getIndexes() |
com.google.appengine.api.datastore.Key |
saveRef(Ref<?> value,
LoadConditions loadConditions)
Callback that we found a Ref in the object graph.
|
boolean |
skipLifecycle()
Subclass can ignore lifecycle methods.
|
void |
startOneEntity()
Called at the beginning of each entity save.
|
public void addIndex(Path path, Object object)
object
- can be either a single thing or an iterable list of things to index at this pathpublic Map<Path,Collection<Object>> getIndexes()
public boolean skipLifecycle()
public com.google.appengine.api.datastore.Key saveRef(Ref<?> value, LoadConditions loadConditions)
public void startOneEntity()
Copyright © 2016. All rights reserved.