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 Details

    • dataSets

      protected Map<String,DashboardDataSet> dataSets
    • 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

      @Inject protected AnalyticController 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

      public void onEvent(@Observes AnalyticEvent event)
    • getDataSet

      public DashboardDataSet getDataSet(String key, String options)
    • next

      public void next(DashboardDataSet dataSet)
      Navigate in a data set to the next page by increasing the page index
      Parameters:
      key -
    • prev

      public void prev(DashboardDataSet dataSet)
      Navigate in a data set to the previous page by increasing the page index
      Parameters:
      key -