psdi.webclient.beans.common

Class SparePartsBean

    • Constructor Detail

      • SparePartsBean

        public SparePartsBean()
    • Method Detail

      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        Initialize the bean If the app is based on WORKORDER : Set the assetnum qbe field to return spare parts for the assest on main mbo
        Overrides:
        initialize in class MultiselectDataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • doRefresh

        public int doRefresh()
                      throws MXException,
                             java.rmi.RemoteException
        Provides the functionality for the 'Refresh' button
        Throws:
        MXException
        java.rmi.RemoteException
      • rtnipcspares

        public int rtnipcspares()
                         throws MXException,
                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setQbe

        public void setQbe(java.lang.String attribute,
                           MboSetRemote expression)
                    throws MXException
        Description copied from class: DataBean
        Sets a QBE expression to the list of selected mbos in the passed in MboSetRemote. This function throws MXException or RemoteException if the Qbe could not be set on the attribute.
        Overrides:
        setQbe in class DataBean
        Throws:
        MXException
      • getRemoteForLookup

        public MboSetRemote getRemoteForLookup()
                                        throws MXException,
                                               java.rmi.RemoteException
        Description copied from class: DataBean
        Return the MboSetRemote used by a lookup off a field of the bean. Assumes that the returnControlId and the returnAttribute have been set. If the field is a query or default field then the getList call will be on the MboSet's zombie mbo. Other wise getList is called on the current mbo.
        Overrides:
        getRemoteForLookup in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException