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

org.javers.spring.auditable.aspect.springdata.AuditChangeHandler Maven / Gradle / Ivy

There is a newer version: 7.6.2
Show newest version
package org.javers.spring.auditable.aspect.springdata;

import org.springframework.data.repository.core.RepositoryMetadata;

/**
 * Created by gessnerfl on 22.02.15.
 */
interface AuditChangeHandler {
    /**
     * Creates a new audit log entry for the given domainObject. The handler is executed after
     * the live data was created, updated or deleted by calling the corresponding method (save
     * or delete) on the spring data repository implementation of the given domainObject.
     *
     * @param repositoryMetadata the metadata of the spring data repository
     * @param domainObject the domain object
     */
    void handle(RepositoryMetadata repositoryMetadata, Object domainObject);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy