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

io.ebean.config.CurrentUserProvider Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.config;

/**
 * Provides the current user in order to support 'Who created', 'Who modified' and other audit features.
 */
@FunctionalInterface
public interface CurrentUserProvider {

  /**
   * Return the current user id.
   * 

* The type returned should match the type of the properties annotated * with @WhoCreated and @WhoModified. These are typically String, Long or UUID. *

*/ Object currentUser(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy