@Named
@ViewScoped
public class OrganigramController
extends org.imixs.workflow.faces.data.ViewController
The controller provices two data structures 'datasourceProcesses' and 'datasourceSpaces'. The structure looks like this:
{
'name' : 'Prozesse',
'id' : 'root',
'title' : 'Organisations Bereiche',
'children' : [
{
'name' : 'Controlling',
'id' : 'unter-id1',
'title' : 'Invoices',
'className' : 'process'
}, {
'name' : 'HR',
'title' : 'Human Source processes',
'className' : 'process'
}
]
};
| Constructor and Description |
|---|
OrganigramController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getProcessDatasource()
Returns a json structure with the process data
|
org.imixs.workflow.ItemCollection |
getSelectedNode()
returns the currently selected node ItemCollection or null if no node was
selected
|
String |
getSelectedNodeID()
returns the currently selected node id or null if no node was selected
|
String |
getSpaceDatasource()
Returns a json structure with the space data
|
void |
loadNode()
Loads the selected node by its ID.
|
void |
setSelectedNode(org.imixs.workflow.ItemCollection selectedNode) |
void |
setSelectedNodeID(String selectedNodeID) |
public String getSelectedNodeID()
public void setSelectedNodeID(String selectedNodeID)
public org.imixs.workflow.ItemCollection getSelectedNode()
public void setSelectedNode(org.imixs.workflow.ItemCollection selectedNode)
public String getProcessDatasource()
public String getSpaceDatasource()
public void loadNode()
Copyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.