@ApplicationScoped public class WorkspaceBuilder extends Object
Constructor and Description |
---|
WorkspaceBuilder() |
Modifier and Type | Method and Description |
---|---|
CreateResult |
create(XMLNode node) |
CreateResult |
create(XMLNode node,
Map attributes) |
protected void |
createPanel(CreateResult result,
Section section,
XMLNode node,
Map attributes) |
protected void |
createPanelInstance(CreateResult result,
XMLNode node,
WorkspaceImpl workspace,
Map attributes) |
protected void |
createPanelInstanceParameter(XMLNode node,
PanelInstance pi) |
protected void |
createPermission(CreateResult result,
Workspace workspace,
Object resource,
XMLNode node,
Map attributes) |
protected void |
createResource(CreateResult result,
String workspaceId,
Long sectionId,
Long panelId,
XMLNode node,
Map attributes) |
protected void |
createSection(CreateResult result,
WorkspaceImpl workspace,
XMLNode node,
Map attributes) |
protected void |
createWorkspace(CreateResult result,
XMLNode node,
Map attributes) |
protected void |
createWorkspaceParameter(XMLNode node,
WorkspaceImpl workspace) |
protected String |
transformPrincipalName(String principalName,
String principalClass,
Map attributes)
Transforms the principal name, as it might be modified (group, role, ...)
|
public CreateResult create(XMLNode node)
public CreateResult create(XMLNode node, Map attributes)
protected void createWorkspace(CreateResult result, XMLNode node, Map attributes) throws Exception
Exception
protected void createPermission(CreateResult result, Workspace workspace, Object resource, XMLNode node, Map attributes) throws Exception
Exception
protected String transformPrincipalName(String principalName, String principalClass, Map attributes)
principalName
- principalClass
- attributes
- protected void createSection(CreateResult result, WorkspaceImpl workspace, XMLNode node, Map attributes) throws Exception
Exception
protected void createPanel(CreateResult result, Section section, XMLNode node, Map attributes) throws Exception
Exception
protected void createWorkspaceParameter(XMLNode node, WorkspaceImpl workspace)
protected void createPanelInstanceParameter(XMLNode node, PanelInstance pi)
protected void createResource(CreateResult result, String workspaceId, Long sectionId, Long panelId, XMLNode node, Map attributes) throws Exception
Exception
protected void createPanelInstance(CreateResult result, XMLNode node, WorkspaceImpl workspace, Map attributes) throws Exception
Exception
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.