Module io.ebean.api

Interface CurrentTenantProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CurrentTenantProvider
Provides the Tenant Id for the current request based on the current user.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the Tenant Id for the current user.
  • Method Details

    • currentId

      Object currentId()
      Return the Tenant Id for the current user.