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

com.kenshoo.pl.entity.spi.audit.AuditExtensions Maven / Gradle / Ivy

Go to download

A Java persistence layer based on JOOQ for high performance and business flow support.

There is a newer version: 0.1.121-jooq-3.16.3
Show newest version
package com.kenshoo.pl.entity.spi.audit;

import com.kenshoo.pl.entity.EntityField;

import java.util.stream.Stream;

/**
 * For a given entity type, provides various extensions to the basic audit data generated for that type.
* @see com.kenshoo.pl.entity.annotation.audit.Audited */ public interface AuditExtensions { /** * @return fields from different entity types, which must always be added to {@link com.kenshoo.pl.entity.audit.AuditRecord}-s of the current type.
* These fields can be used (for example) to filter / group audit records in queries later on. */ Stream> externalMandatoryFields(); /** * Empty implementation in case no extensions are needed */ final class EmptyAuditExtensions implements AuditExtensions { @Override public Stream> externalMandatoryFields() { return Stream.empty(); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy