Package com.illumon.iris.console.utils
Class DbAclEditor
java.lang.Object
com.illumon.iris.console.utils.DbAclEditor
- All Implemented Interfaces:
Workspace
public class DbAclEditor extends Object implements Workspace
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDbAclEditor.StatusListenerInterface for the status listeners. -
Field Summary
-
Constructor Summary
Constructors Constructor Description DbAclEditor(IrisUserContext irisUserContext, com.fishlib.io.logger.Logger log, IrisConsole irisConsole) -
Method Summary
Modifier and Type Method Description JComponent$$$getRootComponent$$$()voidaddStartupListener(Runnable runnable)voidaddStatusListener(DbAclEditor.StatusListener listener)Add aDbAclEditor.StatusListeneron which theDbAclEditor.StatusListener.updateAclEditorStatus(boolean, boolean, java.lang.String)method will be called when the ACL editor status changes.JPanelgetPanel()org.jdom2.ElementgetWorkspaceInfo()Serialize the class into an element to be stored in the workspacevoidsetWorkspaceInfo(org.jdom2.Element workspaceInfo)Restore the class to the state defined by the data persisted in workspaceInfo
-
Field Details
-
NODE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DbAclEditor
public DbAclEditor(IrisUserContext irisUserContext, com.fishlib.io.logger.Logger log, IrisConsole irisConsole)
-
-
Method Details
-
getPanel
-
getWorkspaceInfo
public org.jdom2.Element getWorkspaceInfo()Description copied from interface:WorkspaceSerialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfoin interfaceWorkspace- Returns:
- An
Elementcontaining the data to persist.
-
setWorkspaceInfo
public void setWorkspaceInfo(org.jdom2.Element workspaceInfo)Description copied from interface:WorkspaceRestore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfoin interfaceWorkspace- Parameters:
workspaceInfo- AnElementcontaining the persisted state.
-
$$$getRootComponent$$$
- Noinspection:
- ALL
-
addStartupListener
-
addStatusListener
Add aDbAclEditor.StatusListeneron which theDbAclEditor.StatusListener.updateAclEditorStatus(boolean, boolean, java.lang.String)method will be called when the ACL editor status changes.- Parameters:
listener- theDbAclEditor.StatusListener
-