Class DashboardAnalyticController
java.lang.Object
org.imixs.workflow.office.dashboard.DashboardAnalyticController
- All Implemented Interfaces:
Serializable
@Named
@ConversationScoped
public class DashboardAnalyticController
extends Object
implements Serializable
Der DashboardAnalyticController computes the core analytic data for the
current user
- Author:
- rsoika
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AnalyticControllerprotected Map<String,DashboardDataSet> protected org.imixs.workflow.engine.DocumentServicestatic final Stringprotected org.imixs.workflow.faces.util.LoginControllerprotected org.imixs.workflow.faces.data.WorkflowController -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataSet(String key, String options) org.imixs.workflow.ItemCollectionvoidThis method loads the dashboard layout information and stores the layout in the item 'txtWorkflowEditorCustomForm'.voidnext(DashboardDataSet dataSet) Navigate in a data set to the next page by increasing the page indexvoidonEvent(AnalyticEvent event) voidonLoad()This method starts a new conversation scope, reset the data sets and loads the dashboard.voidprev(DashboardDataSet dataSet) Navigate in a data set to the previous page by increasing the page indexvoidsetWorkitem(org.imixs.workflow.ItemCollection dashboardData) protected voidStarts a new conversation
-
Field Details
-
dataSets
-
LINK_PROPERTY
- See Also:
-
documentService
@Inject protected org.imixs.workflow.engine.DocumentService documentService -
workflowController
@Inject protected org.imixs.workflow.faces.data.WorkflowController workflowController -
loginController
@Inject protected org.imixs.workflow.faces.util.LoginController loginController -
analyticController
-
-
Constructor Details
-
DashboardAnalyticController
public DashboardAnalyticController()
-
-
Method Details
-
initLayout
public void initLayout()This method loads the dashboard layout information and stores the layout in the item 'txtWorkflowEditorCustomForm'.The dashboard layout can be stored in the global settings as also in the user UserProfile. This mechanism allows to configure custom dashboards for each user.
-
onLoad
public void onLoad()This method starts a new conversation scope, reset the data sets and loads the dashboard. This method is usually called in the dashboard.xhtml page -
getWorkitem
public org.imixs.workflow.ItemCollection getWorkitem() -
setWorkitem
public void setWorkitem(org.imixs.workflow.ItemCollection dashboardData) -
startConversation
protected void startConversation()Starts a new conversation -
onEvent
-
getDataSet
-
next
Navigate in a data set to the next page by increasing the page index- Parameters:
key-
-
prev
Navigate in a data set to the previous page by increasing the page index- Parameters:
key-
-