DomainChangeRecord (interface)

Allows domain objects that represents some sort of recorded change to a domain object (commands, audit entries, published interactions) to act as a mixee in order that other modules can contribute behaviour.

API

DomainChangeRecord.java
interface DomainChangeRecord {
  ChangeType getType()     (1)
  UUID getInteractionId()     (2)
  String getUsername()     (3)
  Timestamp getTimestamp()     (4)
  String getTargetObjectType()     (5)
  Bookmark getTarget()     (6)
  String getTargetMember()     (7)
  String getPreValue()     (8)
  String getPostValue()     (9)
}
1 getType()

Distinguishes commands from audit entries from published events/interactions (when these are shown mixed together in a (standalone) table).

2 getInteractionId()

The unique identifier (a GUID) of the org.apache.isis.applib.services.iactn.Interaction within which this change occurred.

3 getUsername()

The user that caused the change.

4 getTimestamp()

The time that the change occurred.

5 getTargetObjectType()

The object type of the domain object being changed.

6 getTarget()

The Bookmark identifying the domain object that has changed.

7 getTargetMember()

The member interaction (ie action invocation or property edit) which caused the domain object to be changed.

8 getPreValue()

The value of the property prior to it being changed.

9 getPostValue()

The value of the property after it has changed.

Members

getType()

Distinguishes commands from audit entries from published events/interactions (when these are shown mixed together in a (standalone) table).

getInteractionId()

The unique identifier (a GUID) of the org.apache.isis.applib.services.iactn.Interaction within which this change occurred.

getUsername()

The user that caused the change.

getTimestamp()

The time that the change occurred.

getTargetObjectType()

The object type of the domain object being changed.

getTarget()

The Bookmark identifying the domain object that has changed.

getTargetMember()

The member interaction (ie action invocation or property edit) which caused the domain object to be changed.

Populated for commands and for published events that represent action invocations or property edits.

getPreValue()

The value of the property prior to it being changed.

Populated only for audit entries.

getPostValue()

The value of the property after it has changed.

Populated only for audit entries.