Description
For example, Oscar's app has this code everywhere:
public void updating()
{ this.setDateUpdated(Clock.getTimeAsDateTime().toDate()); this.setUpdatedByUser(this.domainFactoryService.currentUserName()); }Instead, this could be done by passing all objects enlisted in the xactn (same stuff as used by audit service) to a new service.
This should be done immediately prior to calling auditing (so that if additional objects get dirtied by the service, then they are audited also).
Attachments
Issue Links
- is part of
-
CAUSEWAY-803 Replace lifecycle methods with additional EventBus events.
- Closed