public final class DmlBeanPersister extends Object implements BeanPersister
The design of this is based on the immutable Meta objects. They hold a information in the form of lists of Bindable objects. This effectively flattens the structure of the bean with embedded and associated objects into a flat list of Bindable objects.
| Constructor and Description |
|---|
DmlBeanPersister(UpdateMeta updateMeta,
InsertMeta insertMeta,
DeleteMeta deleteMeta) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(PersistRequestBean<?> request)
execute the bean delete request.
|
void |
insert(PersistRequestBean<?> request)
execute the bean insert request.
|
void |
update(PersistRequestBean<?> request)
execute the bean update request.
|
public DmlBeanPersister(UpdateMeta updateMeta, InsertMeta insertMeta, DeleteMeta deleteMeta)
public void delete(PersistRequestBean<?> request)
delete in interface BeanPersisterpublic void insert(PersistRequestBean<?> request)
insert in interface BeanPersisterpublic void update(PersistRequestBean<?> request)
update in interface BeanPersisterCopyright © 2014. All Rights Reserved.