public interface CopyManager
Modifier and Type | Method and Description |
---|---|
PanelInstance |
copy(PanelInstance panelInstance,
WorkspaceImpl workspace)
Copies this panel instance to another Workspace.
|
Panel |
copy(Panel panel,
Section section,
LayoutRegion region)
Copies this panel to another section.
|
Panel |
copy(Panel panel,
Section section,
LayoutRegion region,
PanelInstance instance)
Copies this panel to another section.
|
Section |
copy(Section section,
WorkspaceImpl workspace,
SectionCopyOption sco)
Copies this section and all panels inside to another workspace.
|
WorkspaceImpl |
copy(WorkspaceImpl workspace)
Copies a Workspace.
|
WorkspaceImpl |
copy(WorkspaceImpl workspace,
String id)
Copies a Workspace.
|
PanelInstance copy(PanelInstance panelInstance, WorkspaceImpl workspace) throws Exception
workspace
- Workspace to copy this panelInstance to.panelInstance
- PanelInstance to copy.Exception
Panel copy(Panel panel, Section section, LayoutRegion region) throws Exception
panel
- Panel to copy.region
- region to copy panel to.section
- section to copy panel to.Exception
Panel copy(Panel panel, Section section, LayoutRegion region, PanelInstance instance) throws Exception
panel
- Panel to copy.region
- region to copy panel to.section
- section to copy panel to.instance
- Instance the panel must have. Normally, it is the same, but can be different if the panel's instance is also being copied.Exception
Section copy(Section section, WorkspaceImpl workspace, SectionCopyOption sco) throws Exception
section
- Source section to be copied.workspace
- Destination Workspace for this section.sco
- Copy options. May be null, wich means 'do default copy'.Exception
WorkspaceImpl copy(WorkspaceImpl workspace, String id) throws Exception
workspace
- Workspace to copyid
- Id to assign to new Workspace.Exception
- If any exception occursWorkspaceImpl copy(WorkspaceImpl workspace) throws Exception
workspace
- Workspace to copyException
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.