IBM Security Access Manager for Enterprise Single Sign-On, Version 8.2.1

Utility functions

The JavaScript for the new dashboard section implements several utility functions.

createSortableMap

Definition createSortableMap(funcKeyGenerating, property1, property1Array, property2, property2Array,...);
Description Converts the raw analyses data to map.
Parameters
  • funcKeyGenerating - (Function) To generate the key of entries
  • property1, property2 - (String) The output of analyses
  • property1Array, property2Array- (Array) Property of the same end point
  • ... - indicates that you can add more pairs of (property, propertyArray)
Return Values SortableCategoryMap

updateDashboard

Definition
updateDashboard(map, tableID, pieChartID, pieChartDivID, 
funcFlashVarsGenerating)
Description Generic function to fill up the information in the pie chart and table.
Parameters
  • map- (Object SortableCategoryMap) Created by createSortableMap
  • tableID - (String) The ID for the HTML Table element
  • pieChartID - (String) The ID for the pie chart
  • pieChartDivID - (String) The ID for the HTML Div element of the pie chart
  • funcFlashVarsGenerating- (Function) To generate the input parameter "FlashVars" for flash object
Return Values Nothing

HTMLContentCreator.createSectionHTML

Definition
HTMLContentCreator.createSectionHTML(index, piechartDivID, 
piechartTitle_resourceName, tableID,tableTitle_resourceName,
tableHead_resourceNamesBundle);
Description This function generates the HTML layout for the section. It is called when a new dashboard is created.
Parameters
  • index - (Integer) The order of the section in g_DashboardList
  • piechartDivID - (String) The ID for the HTML Div element of the pie chart
  • piechartTitle_resourceName - (String) The resource key of the name of the pie chart
  • tableID - (String) The ID for the HTML Table element
  • tableTitle_resourceName - (String) The resource key of the name of the table
  • tableHead_resourceNamesBundle- (Array of strings) These are the resource keys of the head of the table
Return Values Nothing

HTMLContentCreator.createAnalysisInfo

Definition HTMLContentCreator.createAnalysisInfo(tableID, analysisName)
Description Function to create the description string. For example: "For detailed machine specific information, go to BES Analysis AccessAgent Deployment Status."
Parameters
  • tableID - (String) The ID for the HTML Table element
  • analysisName - (String) The name of the associate BES Analysis
Return Values Nothing


Feedback