com.ibm.tivoli.maximo.skd.beans

Class SKDCreateCommBean

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


    public class SKDCreateCommBean
    extends DataBean
    • Field Detail

      • selectedRecords

        public java.lang.String[] selectedRecords
    • Constructor Detail

      • SKDCreateCommBean

        public SKDCreateCommBean()
    • Method Detail

      • initialize

        protected 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
      • checkESigAuthenticated

        public void checkESigAuthenticated(java.lang.String option)
                                    throws MXException,
                                           java.rmi.RemoteException
        Overrode method in DataBean so that we can just check the sigoption flag and none of the values on the mbo.
        Overrides:
        checkESigAuthenticated in class DataBean
        Parameters:
        option - Option to check
        Throws:
        MXException - EsigLoginException if authentication is required
        java.rmi.RemoteException
      • sendmessage

        public int sendmessage()
                        throws MXException,
                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • docancel

        public int docancel()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • addrecipients

        public int addrecipients()
                          throws MXException,
                                 java.rmi.RemoteException
        Add recipients to commlog and close the SELECTRECIPIENT dialog.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • setupBean

        public void setupBean(WebClientSession sc)
        Description copied from class: DataBean
        This method must be call after the bean is instantiated. It tells the bean what it's clientSession is , the control that created the bean and the event that caused the creation of the bean. Also gets the values the orderyby, whereclause, apprestrictions, rowsperpage, and parentdatasrc properties from the control (the one that instantiated the bean) if any are set. Plus it gets the list of bound controls from the presentations control handler.
        Overrides:
        setupBean in class DataBean
      • spellcheck

        public int spellcheck()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • spellcheckreturn

        public int spellcheckreturn()
                             throws MXException,
                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • clearvalue

        public int clearvalue()
                       throws MXException,
                              java.rmi.RemoteException
        Event: clearvalue. Clear the message content.
        Returns:
        event handling status.
        Throws:
        MXException
        java.rmi.RemoteException
      • resetvalue

        public int resetvalue()
                       throws MXException,
                              java.rmi.RemoteException
        Event: resetvalue. Reset the content of the message field to its previous.
        Returns:
        event handling status.
        Throws:
        MXException
        java.rmi.RemoteException
      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: DataBean
        This method is meant to be overrided by dialog beans but by default if the bean's remote is a NonPersistentMboSetRemote, then execute is called on the bean's remote and if the DataBean has a parent then execute is called on the bean's parent bean. If the remote is not a NonPersistentMboSetRemote then if the bean has a parentbean and a parent relationship then execute is called on the parent bean, else save is called on the bean's remote If you do not want to save the parent of the bean then override execute and just call save.
        Overrides:
        execute in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException