Class ProcessAnalyticsServiceUtils

java.lang.Object
com.appiancorp.suiteapi.process.analytics2.ProcessAnalyticsServiceUtils

public class ProcessAnalyticsServiceUtils extends Object
This class supplements the ProcessAnalyticsService with additional methods. These methods were not put directly on the service only because they would have coupled the services to the servlet container.
  • Constructor Details

    • ProcessAnalyticsServiceUtils

      public ProcessAnalyticsServiceUtils()
  • Method Details

    • getProcessReportUsingAlias

      public ProcessReport getProcessReportUsingAlias(String alias_, javax.servlet.ServletContext servletContext_, ProcessAnalyticsService service_) throws PrivilegeException
      Retrieve a process report using the alias that is defined for that report in the analytics configuration file.
      Parameters:
      alias_ - the alias for the report.
      servletContext_ - the context for the servlet container.
      service_ - the ProcessAnalyticsService.
      Returns:
      the report.
      Throws:
      PrivilegeException - if the user does not have rights to view the report.
    • getProcessReportsUsingAlias

      public ProcessReport[] getProcessReportsUsingAlias(String[] aliases_, javax.servlet.ServletContext servletContext_, ProcessAnalyticsService service_)
      Retrieve multiple process reports by their aliases.
      Parameters:
      aliases_ - the aliases for the reports.
      servletContext_ - the context for the servlet container.
      service_ - the ProcessAnalyticsService.
      Returns:
      the reports.
      See Also:
    • getSystemTaskViews

      public ProcessReport[] getSystemTaskViews(javax.servlet.ServletContext servletContext_, ProcessAnalyticsService service_)
      Retrieve the process reports defining the system task views. The system task views are the reports declared as such in the analytics configuration file.
      Parameters:
      servletContext_ - the context for the servlet container.
      service_ - the ProcessAnalyticsService.
      Returns:
      the system task views.
    • getSystemProcessViews

      public ProcessReport[] getSystemProcessViews(javax.servlet.ServletContext servletContext_, ProcessAnalyticsService service_, Locale locale_)
      Retrieve the process reports defining the system process views. The system process views are the reports declared as such in the analytics configuration file.
      Parameters:
      servletContext_ - the context for the servlet container.
      service_ - the ProcessAnalyticsService.
      locale_ - the locale for the current user
      Returns:
      the system process views.