psdi.webclient.beans.common

Class SpellCheckBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class SpellCheckBean
    extends DataBean
    Spell Check bean
    • Constructor Detail

      • SpellCheckBean

        public SpellCheckBean()
    • Method Detail

      • cancelDialog

        public int cancelDialog()
                         throws MXException
        Called when the dialog is cancelled
        Overrides:
        cancelDialog in class DataBean
        Throws:
        MXException - Maximo Exception
        See Also:
        psdi.webclient.system.beans.WebClientBean#cancelDialog()
      • okdialog

        public int okdialog()
                     throws MXException
        This method is called when the Ok button is pressed on the spell check dialog.
        Throws:
        MXException - Maximo Exception
      • returnFromSpellCheck

        public void returnFromSpellCheck()
                                  throws MXException
        Returns from the Spell Check dialog. Closes the Spell Check dialog and sends an event of type "spellcheckreturn" to the Long Description dialog with the user-corrected long description value.
        Throws:
        MXException
      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        Called by the framework to initialize this bean. The SpellingSession is initialized here and the spell checker is run. If the spell check completes without any errors, simply pop up a dialog and return.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
        See Also:
        DataBean.initialize()
      • change

        public int change()
                   throws MXException,
                          java.rmi.RemoteException
        Called when user hits the change button.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • changeAll

        public int changeAll()
                      throws MXException,
                             java.rmi.RemoteException
        Called when user hits the changeall button.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • ignore

        public int ignore()
                   throws MXException,
                          java.rmi.RemoteException
        Called when user hits the ignore button.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • ignoreAll

        public int ignoreAll()
                      throws MXException,
                             java.rmi.RemoteException
        Called when user hits the ignoreall button.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • getString

        public java.lang.String getString(java.lang.String attribute)
        Description copied from class: DataBean
        Return the string for the specified column in the current row
        Overrides:
        getString in class DataBean