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

com.avaje.ebean.config.CurrentUserProvider Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.config;

/**
 * Provides the current user in order to support 'Who created', 'Who modified' and other audit features.
 */
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