Package | Description |
---|---|
com.breeze.hib | |
com.breeze.save |
Modifier and Type | Method and Description |
---|---|
protected void |
HibernateSaveProcessor.processEntity(EntityInfo entityInfo)
Add, update, or delete the entity according to its EntityState.
|
void |
HibernateSaveProcessor.processRelationships(EntityInfo entityInfo,
boolean removeMode) |
protected void |
HibernateSaveProcessor.restoreOldVersionValue(EntityInfo entityInfo,
org.hibernate.metadata.ClassMetadata classMeta)
Restore the old value of the concurrency column so Hibernate will save the entity.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HibernateSaveProcessor.processSaves(java.util.List<EntityInfo> saveOrder)
Persist the changes to the entities in the saveOrder.
|
Modifier and Type | Method and Description |
---|---|
EntityInfo |
SaveWorkState.addEntity(java.lang.Object entity,
EntityState entityState)
Schedule an additional entity to be saved.
|
EntityInfo |
SaveWorkState.findEntityInfo(java.lang.Object entity)
Return the EntityInfo associated with a specific entity.
|
EntityInfo |
SaveWorkState.findEntityInfoById(java.lang.Class clazz,
java.lang.Object id) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<java.lang.Class,java.util.List<EntityInfo>>> |
SaveWorkState.entrySet() |
java.util.List<EntityInfo> |
SaveWorkState.getEntityInfos(java.lang.Class clazz) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SaveWorkState.beforeSaveEntity(EntityInfo entityInfo)
Allow subclasses to process each entity before it gets included in the saveMap.
|
abstract void |
SaveProcessor.processRelationships(EntityInfo entityInfo,
boolean removeMode)
Called for each entity to attach of detach it from any related entities.
|