|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.PersistenceContextModel
public class PersistenceContextModel
Model support for persistence context elements.
Allocates a persistence context when this flow starts. The persistence context is closed when the flow ends. If the flow ends by reaching a "commit" end-state, changes made to managed persistent entities during the course of flow execution are flushed to the database in a transaction.
The persistence context can be referenced from within this flow by the "entityManager" variable.
| Constructor Summary | |
|---|---|
PersistenceContextModel()
Create a persistence context model |
|
| Method Summary | |
|---|---|
Model |
createCopy()
Create a deep copy of this model. |
boolean |
isMergeableWith(Model model)
Determine if the model is able to be merged into the current model |
void |
merge(Model model)
Merge the model into the current model |
| Methods inherited from class org.springframework.webflow.engine.model.AbstractModel |
|---|
copy, copyList, merge, merge, merge, merge, merge |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceContextModel()
| Method Detail |
|---|
public boolean isMergeableWith(Model model)
Model
model - the model to compare
public void merge(Model model)
Model
model - the model to merge withpublic Model createCopy()
Model
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||