com.ibm.tivoli.maximo.miniapps.linear

Class LinearMiniAppBean

    • Constructor Detail

      • LinearMiniAppBean

        public LinearMiniAppBean()
    • Method Detail

      • setupBean

        public void setupBean(WebClientSession wcs)
        Description copied from class: DataBean
        This method must be call after the bean is instantiated. It tells the bean what it's clientSession is , the control that created the bean and the event that caused the creation of the bean. Also gets the values the orderyby, whereclause, apprestrictions, rowsperpage, and parentdatasrc properties from the control (the one that instantiated the bean) if any are set. Plus it gets the list of bound controls from the presentations control handler.
        Overrides:
        setupBean in class DataBean
      • onReset

        public void onReset()
        OnReset is called whenever we need to clear the state of our beean. And reinitialize it for a new state. ie, when Maximo changes a record, etc, we need to clear the bean data, the load the state for that record
        Specified by:
        onReset in interface ResetListener
      • loadLocalizedData

        public com.ibm.json.java.JSONObject loadLocalizedData()
      • createUI

        public com.ibm.json.java.JSONObject createUI()
      • getRefreshedData

        public com.ibm.json.java.JSONObject getRefreshedData(java.lang.String[] tokens)
      • loadResource

        public java.lang.String loadResource(java.lang.String path)
      • buildChildItems

        public void buildChildItems(DataRow root,
                                    com.ibm.json.java.JSONArray rootArray,
                                    com.ibm.json.java.JSONObject defaultAttLabels,
                                    java.lang.String defaultElementLabelAttribute)
      • buildChildElements

        public void buildChildElements(DataRow childRow,
                                       com.ibm.json.java.JSONObject rootChild,
                                       com.ibm.json.java.JSONObject defaultAttLabels,
                                       java.lang.String defaultElementLabelAttribute)
      • buildChildInfo

        public void buildChildInfo(com.ibm.json.java.JSONObject attLabelObj,
                                   java.lang.String defaultElementLabelAttribute,
                                   com.ibm.json.java.JSONObject rootChild,
                                   com.ibm.json.java.JSONObject child,
                                   DataRow child1)
      • sortData

        public com.ibm.json.java.JSONArray sortData(com.ibm.json.java.JSONArray runData)