psdi.app.common.virtual

Class DrillDown

    • Field Detail

      • pairsHash

        public static java.util.Hashtable pairsHash
        Hash table to store the asset/location pairs for a given table. Made static so all DrillDown objects can use it without setting it up every time.
      • originalAttr

        public java.lang.String originalAttr
        11-11271/IZ94759:indicates the attribute where DrillDown is launched
    • Constructor Detail

      • DrillDown

        public DrillDown(MboSet ms)
                  throws MXException,
                         java.rmi.RemoteException
        Construct the DrillDown object
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new DrillDown object. Sets field defaults to:

        Attribute NameAttribute Value
        siteidCurrent user's logon site
        fromsiteidCurrent user's logon site
        isQbefalse
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • init

        public void init()
                  throws MXException
        Initialization routine defines the hash table that contains the pairs of relationships for each object. The hash table is only set up once.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • setAssetLocPairValues

        protected void setAssetLocPairValues(MboSetRemote originatingSet,
                                             java.lang.String originatingAttr,
                                             int originatingType)
                                      throws MXException,
                                             java.rmi.RemoteException
        Sets values for assetvalue, locvalue, assetInHierarchy, and locInHierarchy based on assetattribute & locattribute, and whether or not the mboset is or is not a qbe.
        Throws:
        MXException
        java.rmi.RemoteException
      • setAssetLocPairColumns

        protected void setAssetLocPairColumns(java.lang.String originatingAttr,
                                              MboSetRemote originatingSet)
                                       throws MXException,
                                              java.rmi.RemoteException
        Sets locattribute and assetattribute value pairs based on the originatingAttr.
        Throws:
        MXException
        java.rmi.RemoteException
      • wasLocValueSet

        protected boolean wasLocValueSet()
                                  throws MXException,
                                         java.rmi.RemoteException
        Returns boolean to indicate whether or not locValue was set initially
        Throws:
        MXException
        java.rmi.RemoteException
      • showAllSystems

        public void showAllSystems()
                            throws MXException,
                                   java.rmi.RemoteException
        set system null to list all systems
        Throws:
        MXException
        java.rmi.RemoteException
      • clearFields

        protected void clearFields()
                            throws MXException,
                                   java.rmi.RemoteException
        clears fields when show all systems button is clicked
        Throws:
        MXException
        java.rmi.RemoteException
      • populateAllForSystem

        protected void populateAllForSystem()
                                     throws MXException,
                                            java.rmi.RemoteException
        populate necessary values when system is selected after show all systems
        Throws:
        MXException
        java.rmi.RemoteException
      • populateTopLevelSystemForSite

        protected void populateTopLevelSystemForSite()
                                              throws MXException,
                                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getOringatingAttr

        public java.lang.String getOringatingAttr()
                                           throws MXException,
                                                  java.rmi.RemoteException
        11-11271/IZ94759: returns the originating Attribute
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • setOrinatingType

        public void setOrinatingType(int origType)
                              throws MXException,
                                     java.rmi.RemoteException
        IV98673:
        Parameters:
        origType -
        Throws:
        MXException
        java.rmi.RemoteException
      • getOrinatingType

        public int getOrinatingType()
                             throws MXException,
                                    java.rmi.RemoteException
        IV89673:
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException