Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1005

Allow users to implement an optional service to perform pre-commit processing ("ChangedObjectService")

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: core-1.7.0
    • Fix Version/s: 1.10.0
    • Component/s: Core
    • Labels:
      None

      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

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                danhaywood Dan Haywood
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: