|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BeanPersistRequest<T>
Holds the information available for a bean persist (insert, update or delete).
This is made available for the BeanPersistControllers.
| Method Summary | |
|---|---|
T |
getBean()
Returns the bean being inserted updated or deleted. |
EbeanServer |
getEbeanServer()
Return the server processing the request. |
Set<String> |
getLoadedProperties()
For an update or delete of a partially populated bean this is the set of loaded properties and otherwise returns null. |
T |
getOldValues()
Returns a bean containing the original values prior to the bean being modified. |
Transaction |
getTransaction()
Return the Transaction associated with this request. |
Set<String> |
getUpdatedProperties()
For an update this is the set of properties that where updated. |
| Method Detail |
|---|
EbeanServer getEbeanServer()
Transaction getTransaction()
Set<String> getLoadedProperties()
Set<String> getUpdatedProperties()
T getBean()
T getOldValues()
This is for updates only.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||