All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tenduke.events.api.model.data.ModifiedAuditFields Maven / Gradle / Ivy

Go to download

Objects and interfaces describing data communicated in the 10Duke Event Data system API

There is a newer version: 1.9.0
Show newest version
package com.tenduke.events.api.model.data;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * Event data fields for tracking resource modification (for audit trail).
 * @param  Type of the tracked resource.
 * @author jarkko
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public interface ModifiedAuditFields {
    /**
     * Gets new state of the object. This may contain either the full resource in its
     * new state, or just the modified fields.
     * @return The full object in its new state, or an object with only modified fields populated.
     */
    R getModifiedFields();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy