Class UiShowScreenContext

java.lang.Object
io.jmix.ui.accesscontext.UiShowScreenContext
All Implemented Interfaces:
AccessContext

public class UiShowScreenContext extends Object implements AccessContext
  • Field Details

    • screenId

      protected final String screenId
    • permitted

      protected boolean permitted
  • Constructor Details

    • UiShowScreenContext

      public UiShowScreenContext(String screenId)
  • Method Details

    • getScreenId

      public String getScreenId()
    • setDenied

      public void setDenied()
    • isPermitted

      public boolean isPermitted()
    • explainConstraints

      @Nullable public String explainConstraints()
      Description copied from interface: AccessContext
      Returns a human-readable explanation of constraints applied to the current context instance for logging of authorization decisions. Null if the current context does not impose any constraints.
      Specified by:
      explainConstraints in interface AccessContext