info.magnolia.security.app.action
Class AbstractRoleDialogAction<D extends info.magnolia.ui.api.action.ActionDefinition>
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<D>
info.magnolia.security.app.action.AbstractRoleDialogAction<D>
- Type Parameters:
D
- the action definition type
- All Implemented Interfaces:
- info.magnolia.ui.api.action.Action
- Direct Known Subclasses:
- OpenAddRoleDialogAction, OpenEditRoleDialogAction
public abstract class AbstractRoleDialogAction<D extends info.magnolia.ui.api.action.ActionDefinition>
- extends info.magnolia.ui.api.action.AbstractAction<D>
Abstract base class for actions that open dialogs for adding or editing roles.
- See Also:
OpenAddRoleDialogAction
,
OpenEditRoleDialogAction
Constructor Summary |
protected |
AbstractRoleDialogAction(D definition,
info.magnolia.repository.RepositoryManager repositoryManager)
|
Method Summary |
protected void |
addNodeType(List<info.magnolia.ui.workbench.definition.NodeTypeDefinition> nodeTypes,
String nodeTypeName,
String icon)
|
protected void |
addNodeType(List<info.magnolia.ui.workbench.definition.NodeTypeDefinition> nodeTypes,
String nodeTypeName,
String icon,
boolean strict)
|
protected info.magnolia.ui.dialog.definition.FormDialogDefinition |
getDialogDefinition(String dialogName)
Loads the dialog definition and adds access control fields for workspaces that have not been explicitly added. |
protected List<info.magnolia.ui.workbench.definition.NodeTypeDefinition> |
getNodeTypesForWorkspace(String workspaceName)
|
Methods inherited from class info.magnolia.ui.api.action.AbstractAction |
getDefinition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.magnolia.ui.api.action.Action |
execute |
AbstractRoleDialogAction
protected AbstractRoleDialogAction(D definition,
info.magnolia.repository.RepositoryManager repositoryManager)
getDialogDefinition
protected info.magnolia.ui.dialog.definition.FormDialogDefinition getDialogDefinition(String dialogName)
throws info.magnolia.ui.api.action.ActionExecutionException
- Loads the dialog definition and adds access control fields for workspaces that have not been explicitly added.
- Throws:
info.magnolia.ui.api.action.ActionExecutionException
getNodeTypesForWorkspace
protected List<info.magnolia.ui.workbench.definition.NodeTypeDefinition> getNodeTypesForWorkspace(String workspaceName)
addNodeType
protected void addNodeType(List<info.magnolia.ui.workbench.definition.NodeTypeDefinition> nodeTypes,
String nodeTypeName,
String icon)
addNodeType
protected void addNodeType(List<info.magnolia.ui.workbench.definition.NodeTypeDefinition> nodeTypes,
String nodeTypeName,
String icon,
boolean strict)
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.