com.ibm.tivoli.maximo.skd.beans

Class SKDQuickQueryBean

    • Constructor Detail

      • SKDQuickQueryBean

        public SKDQuickQueryBean()
    • Method Detail

      • setRelationship

        public void setRelationship(java.lang.String rel)
                             throws MXException,
                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        This method restores the qbes from the hashtable. The qbe can be restored before it is saved.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        This method will be called when user will click ok on the qbe dialog. It saves the qbe into the hashmap and sets whereclause.
        Overrides:
        execute in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • updateClassstructure

        public void updateClassstructure(java.lang.String hierarchypath)
        This method displays the Classstructure path within the QBE field. It is called SearchSpecBean.
      • setQbe

        public void setQbe(java.lang.String attribute,
                           java.lang.String expression)
                    throws MXException
        Override the setqbe for the CLASSSTRUCTURE.HIERARCHYPATH non-persistent field.
        Overrides:
        setQbe in class DataBean
        Throws:
        MXException
      • getQbe

        public java.lang.String getQbe(java.lang.String attribute)
        OVERRIDE--- Returns the QBE (Query By Example) associated with the attribute. The QBE must have been set using the setQbe method. This function throws MXException or RemoteException if the Qbe could not be obtained for the attribute.
        Overrides:
        getQbe in class DataBean
      • restoreSavedQuickQueryQbeSettings

        public void restoreSavedQuickQueryQbeSettings(java.util.Hashtable savedQuickQueryQbeAttributes)
                                               throws MXException,
                                                      java.rmi.RemoteException
        clears out the user where (which clears all qbe fields) and restores the setting saved when saveCurrentQbeSetting() was called.
        Throws:
        MXException
        java.rmi.RemoteException