psdi.webclient.beans.assetcat

Class SearchAttributeBean

    • Constructor Detail

      • SearchAttributeBean

        public SearchAttributeBean()
    • Method Detail

      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        Description copied from class: DataBean
        Typically called after the DataBean gets a new MboSetRemote On the MboSetRemote it sets the app, the app defaults, user defaults If the remote is an instanceof NonPersistentMboSetRemote then setup is called on it and sets the current row to 0. If the DataBean isn't bound to a table then initialize fetches the first mbo (sets the current row to 0). If this method is overridden under most case you will want to call super.initalize at the end of the the new initialize method.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • getOriginatingAttribute

        public java.lang.String getOriginatingAttribute()
                                                 throws MXException,
                                                        java.rmi.RemoteException
        Returns the field where the dialog is launched
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getOriginatingDataBean

        public DataBean getOriginatingDataBean()
                                        throws MXException,
                                               java.rmi.RemoteException
        Returns the DataBean where the field resides when the dialog is launched from the field.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • attributeSearch

        public java.lang.String attributeSearch(MboSetRemote searchResultSet)
                                         throws MXException,
                                                java.rmi.RemoteException
        When user further enters attribute values and click refine button, this event is triggered.
        Parameters:
        searchResultSet - the resultset in the bottom table window
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • clearSearch

        public int clearSearch()
                        throws MXException,
                               java.rmi.RemoteException
        When user further enters attribute values and click the clear button, this event is triggered. The values entered are cleared and table is reset.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • setSelectValueAttrBean

        public void setSelectValueAttrBean(DataBean selectBean)
                                    throws MXException,
                                           java.rmi.RemoteException
        07-24790:
        Throws:
        MXException
        java.rmi.RemoteException
      • newrow

        public int newrow()
                   throws MXException
        09-12725: The addrow event(button) may be grayed out because of the main object might be readonly via security setup. Use newrow even to override it.
        Returns:
        Throws:
        MXException
      • toUseAssetFeature

        public boolean toUseAssetFeature()
                                  throws MXException,
                                         java.rmi.RemoteException
        09-16850: to further filter the FEATURES by the current asset feature
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException