|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Editor
Nested Class Summary | |
---|---|
static interface |
Editor.Observer
An interface that can be supplied to the apply(Changes,Observer) and apply(Changes, Observer)
methods to receive notifications of the changes that were applied or undone. |
Nested classes/interfaces inherited from interface org.infinispan.schematic.document.Document |
---|
Document.Field, Document.ValueTransformer |
Method Summary | |
---|---|
void |
apply(Changes changes)
After making changes to another document, apply the same changes to this document. |
void |
apply(Changes changes,
Editor.Observer observer)
After making changes to another document, apply the same changes to this document. |
Changes |
getChanges()
Get the changes that have been made to this document. |
Methods inherited from interface org.infinispan.schematic.document.EditableDocument |
---|
getArray, getDocument, getOrCreateArray, getOrCreateDocument, putAll, putAll, remove, removeAll, set, setArray, setArray, setArray, setBinary, setBoolean, setCode, setCode, setDate, setDate, setDocument, setDocument, setNull, setNumber, setNumber, setNumber, setNumber, setObjectId, setObjectId, setObjectId, setRegularExpression, setRegularExpression, setString, setSymbol, setTimestamp, setUuid, unwrap |
Methods inherited from interface org.infinispan.schematic.document.Document |
---|
clone, containsAll, containsField, fields, get, getBinary, getBoolean, getBoolean, getCode, getCodeWithScope, getDouble, getDouble, getInteger, getInteger, getLong, getLong, getMaxKey, getMinKey, getNumber, getNumber, getObjectId, getPattern, getString, getString, getSymbol, getType, getUuid, getUuid, isEmpty, isNull, isNullOrMissing, keySet, size, toMap, with, with, withVariablesReplaced, withVariablesReplacedWithSystemProperties |
Method Detail |
---|
Changes getChanges()
void apply(Changes changes)
changes
- the changes that are to be applied to this document; may not be nullapply(Changes, Observer)
void apply(Changes changes, Editor.Observer observer)
changes
- the changes that are to be applied to this document; may not be nullobserver
- an observer that will be called as changes are undone; may be nullapply(Changes)
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |