Class DbAclEditor

java.lang.Object
com.illumon.iris.console.utils.DbAclEditor
All Implemented Interfaces:
Workspace

public class DbAclEditor extends Object implements Workspace
  • Field Details

  • Constructor Details

    • DbAclEditor

      public DbAclEditor(@NotNull IrisUserContext irisUserContext, @NotNull com.fishlib.io.logger.Logger log, @NotNull IrisConsole irisConsole, boolean startInitialization)
      Constructor.
      Parameters:
      irisUserContext - the IrisUserContext of the user creating the ACL editor
      log - the Logger Logger
      irisConsole - the IrisConsole creating the editor, so that widget support is available
      startInitialization - if true, start the initialization; otherwise, the caller is responsible for calling startInitialization(); if initialization is started in the constructor, startup or state-change listeners added later may miss initialization events
  • Method Details

    • startInitialization

      public void startInitialization()
      Start the ACL editor initialization. This kicks off a thread to perform the initialization and returns immediately.
    • getPanel

      public JPanel getPanel()
    • getWorkspaceInfo

      public org.jdom2.Element getWorkspaceInfo()
      Description copied from interface: Workspace
      Serialize the class into an element to be stored in the workspace
      Specified by:
      getWorkspaceInfo in interface Workspace
      Returns:
      An Element containing the data to persist.
    • setWorkspaceInfo

      public void setWorkspaceInfo(org.jdom2.Element workspaceInfo)
      Description copied from interface: Workspace
      Restore the class to the state defined by the data persisted in workspaceInfo
      Specified by:
      setWorkspaceInfo in interface Workspace
      Parameters:
      workspaceInfo - An Element containing the persisted state.
    • $$$getRootComponent$$$

      public JComponent $$$getRootComponent$$$()
      Noinspection:
      ALL
    • addStartupListener

      public void addStartupListener(Runnable runnable)
    • addStatusListener

      public void addStatusListener(DbAclEditor.StatusListener listener)
      Add a DbAclEditor.StatusListener on which the DbAclEditor.StatusListener.updateAclEditorStatus(boolean, boolean, java.lang.String) method will be called when the ACL editor status changes.
      Parameters:
      listener - the DbAclEditor.StatusListener