Interface AuditLogChangesetPopulator
- All Known Implementing Classes:
AuditLogChangesetPopulatorImpl
@Internal
public interface AuditLogChangesetPopulator
Populates the audit log changeset and author
-
Method Summary
Modifier and TypeMethodDescriptionpopulateCommonChangesetProperties
(AuditLogChangeset changeset, boolean forceAdjustTimestamp) Populates the author, timestamp and IP address in the audit log changeset.
-
Method Details
-
populateCommonChangesetProperties
AuditLogChangeset populateCommonChangesetProperties(AuditLogChangeset changeset, boolean forceAdjustTimestamp) Populates the author, timestamp and IP address in the audit log changeset. The author will be populated if the author id is empty. The timestamp will be adjusted if empty or if the force adjust flag is set to true.- Parameters:
changeset
- the changeset to populateforceAdjustTimestamp
- if set to true, the timestamp will be adjusted even if it's currently populated- Returns:
- the adjusted changeset
-