Class ProcessAnalyticsServiceUtils
java.lang.Object
com.appiancorp.suiteapi.process.analytics2.ProcessAnalyticsServiceUtils
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessReportsUsingAlias
(String[] aliases_, javax.servlet.ServletContext servletContext_, ProcessAnalyticsService service_) Retrieve multiple process reports by their aliases.getProcessReportUsingAlias
(String alias_, javax.servlet.ServletContext servletContext_, ProcessAnalyticsService service_) Retrieve a process report using the alias that is defined for that report in the analytics configuration file.getSystemProcessViews
(javax.servlet.ServletContext servletContext_, ProcessAnalyticsService service_, Locale locale_) Retrieve the process reports defining the system process views.getSystemTaskViews
(javax.servlet.ServletContext servletContext_, ProcessAnalyticsService service_) Retrieve the process reports defining the system task views.
-
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_
- theProcessAnalyticsService
.- 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_
- theProcessAnalyticsService
.- 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_
- theProcessAnalyticsService
.- 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_
- theProcessAnalyticsService
.locale_
- the locale for the current user- Returns:
- the system process views.
-