Package | Description |
---|---|
org.nuxeo.common.persistence |
A small framework used for persisting objects states to XML files.
|
Modifier and Type | Class and Description |
---|---|
class |
XMLMemento
Implementation of the
Memento interface. |
Modifier and Type | Method and Description |
---|---|
Memento |
XMLMemento.copyChild(Memento child) |
Memento |
XMLMemento.createChild(String type) |
Memento |
Memento.createChild(String type)
Creates a new child of this memento with the given type.
|
Memento |
XMLMemento.createChild(String type,
String id) |
Memento |
Memento.createChild(String type,
String id)
Creates a new child of this memento with the given type and id.
|
Memento |
XMLMemento.getChild(String type) |
Memento |
Memento.getChild(String type)
Returns the first child with the given type id.
|
Memento[] |
XMLMemento.getChildren(String type) |
Memento[] |
Memento.getChildren(String type)
Returns all children with the given type id.
|
Modifier and Type | Method and Description |
---|---|
Memento |
XMLMemento.copyChild(Memento child) |
void |
XMLMemento.putMemento(Memento memento) |
void |
Memento.putMemento(Memento memento)
Copy the attributes and children from
memento
to the receiver. |
void |
PersistentObject.restoreState(Memento memento) |
void |
PersistentObject.saveState(Memento memento) |
Copyright © 2011 Nuxeo SA. All Rights Reserved.