You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/03/12 16:34:40 UTC
[jira] [Updated] (ISIS-1005) Allow users to implement an optional
service to perform pre-commit processing ("ChangedObjectService")
[ https://issues.apache.org/jira/browse/ISIS-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood updated ISIS-1005:
------------------------------
Fix Version/s: (was: core-1.9.0)
core-1.10.0
> Allow users to implement an optional service to perform pre-commit processing ("ChangedObjectService")
> ------------------------------------------------------------------------------------------------------
>
> Key: ISIS-1005
> URL: https://issues.apache.org/jira/browse/ISIS-1005
> Project: Isis
> Issue Type: New Feature
> Components: Core
> Affects Versions: core-1.7.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: core-1.10.0
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)