@Named @ViewScoped public class MonitorController extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected BoardController |
boardController |
| Constructor and Description |
|---|
MonitorController() |
| Modifier and Type | Method and Description |
|---|---|
long |
countTotalWorkitems(String group)
This method returns the total count of workItems in a given Group.
|
List<String> |
getActiveWorkflowGroups()
Returns a string list with all active workflow groups within the current
processRef
A workflowGroup is active if the group contains workItems
|
String |
getBase64(String key)
Helper method to convert a Group name into a base64 encoded string.
|
Set<BoardCategory> |
getBoardCategories() |
String |
getGroupData()
This method generates a complex json data structure containing the chart data
for each group
[ { id: 'xxx',
name: 'Order',
data : {...}
}, ....
]
}
|
String |
getOverallData()
Deprecated.
|
org.imixs.workflow.ItemCollection |
getProcess() |
String |
getProcessRef() |
List<String> |
getWorkflowGroups()
Returns a string list with all workflow groups
|
void |
init()
Initialize default behavior initialize the processref, page index and phrase
|
void |
refresh()
This method discards the cache.
|
void |
reset()
This method discards the cache and rebuilds the board categories for the
current ProcessRef.
|
void |
setBoardCategories(Set<BoardCategory> boardCategories) |
@Inject protected BoardController boardController
@PostConstruct public void init()
public String getProcessRef()
public org.imixs.workflow.ItemCollection getProcess()
public List<String> getWorkflowGroups()
public List<String> getActiveWorkflowGroups()
A workflowGroup is active if the group contains workItems
public Set<BoardCategory> getBoardCategories()
public void setBoardCategories(Set<BoardCategory> boardCategories)
public long countTotalWorkitems(String group)
group - public void reset()
public void refresh()
@Deprecated public String getOverallData()
data : {
labels : [ 'Red', 'Blue', 'Yellow' ],
datasets : [ {
label : 'My First Dataset',
data : [ 300, 50, 100 ],
backgroundColor : [
'rgb(255, 99, 132)',
'rgb(54, 162, 235)',
'rgb(255, 205, 86)' ]
} ]
}
public String getGroupData()
[ { id: 'xxx',
name: 'Order',
data : {...}
}, ....
]
}
Copyright © 2016–2022 Imixs Software Solutions GmbH. All rights reserved.