Package org.imixs.workflow.office.views
Class MonitorController
java.lang.Object
org.imixs.workflow.office.views.MonitorController
- All Implemented Interfaces:
Serializable
The MonitorController provides analytic information about the current process
instance.
- Version:
- 1.1
- Author:
- rsoika
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcountTotalWorkitems(String group) This method returns the total count of workItems in a given Group.static StringThis helper method generates a backgroundColorScheme for chart diagrams.Returns a string list with all active workflow groups within the current processRefHelper method to convert a Group name into a base64 encoded string.Creates and additional filter criteria to filter the result to a timerange.org.imixs.workflow.ItemCollectionThis method generates a complex json data structure containing the chart data for each groupDeprecated.org.imixs.workflow.ItemCollectionReturns a string list with all workflow groupsvoidinit()Initialize default behavior initialize the processref, page index and phrasevoidReturns a sorted list of all WorkflowGroups from all models.voidrefresh()This method discards the cache.voidreset()This method discards the cache and rebuilds the board categories for the current ProcessRef.voidsetBoardCategories(Set<BoardCategory> boardCategories)
-
Field Details
-
boardController
-
modelController
-
-
Constructor Details
-
MonitorController
public MonitorController()
-
-
Method Details
-
init
@PostConstruct public void init()Initialize default behavior initialize the processref, page index and phrase -
lookupWorkflowGroups
public void lookupWorkflowGroups()Returns a sorted list of all WorkflowGroups from all models. Workflow groups of the system model will be skipped. A workflowGroup with a '~' in its name will be skipped. This indicates a child process. The worflowGroup list is used to assign a workflow Group to a core process. -
getProcessRef
-
getProcess
public org.imixs.workflow.ItemCollection getProcess() -
getWorkflowGroups
Returns a string list with all workflow groups- Returns:
-
getActiveWorkflowGroups
Returns a string list with all active workflow groups within the current processRefA workflowGroup is active if the group contains workItems
- Returns:
-
getBoardCategories
-
setBoardCategories
-
countTotalWorkitems
This method returns the total count of workItems in a given Group.- Parameters:
group-- Returns:
-
reset
public void reset()This method discards the cache and rebuilds the board categories for the current ProcessRef. -
refresh
public void refresh()This method discards the cache. -
getFilter
public org.imixs.workflow.ItemCollection getFilter() -
getOverallData
Deprecated.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)' ] } ] }- Returns:
-
getGroupData
This method generates a complex json data structure containing the chart data for each group[ { id: 'xxx', name: 'Order', data : {...} }, .... ] }- Returns:
-
getBase64
Helper method to convert a Group name into a base64 encoded string.This is necessary to work with the group name as a key in javaScript
- Parameters:
key-- Returns:
-
getCreationFilter
Creates and additional filter criteria to filter the result to a timerange.- Returns:
-
generateBackgroundColorScheme
This helper method generates a backgroundColorScheme for chart diagrams.- Returns:
-