com.ibm.tivoli.maximo.skd.beans

Class SKDAlternateAvailAppBean

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


    public class SKDAlternateAvailAppBean
    extends AppBean
    AppBean for Scheduler Tool Tip Manager application.Handles events coming out of applet*
    • Field Detail

      • alternateAvailTableId

        public static final java.lang.String alternateAvailTableId
        See Also:
        Constant Field Values
      • alternateAvailSearchDataBeanId

        public static final java.lang.String alternateAvailSearchDataBeanId
        See Also:
        Constant Field Values
    • Constructor Detail

      • SKDAlternateAvailAppBean

        public SKDAlternateAvailAppBean()
    • Method Detail

      • save

        public void save()
                  throws MXException
        Description copied from class: AppBean
        Needs it's own version of save to insure the proper record is set. If the current row is a new record then before saving, it stores the key attributes and their values. Calls save then resets the qbe and to the stored values. This insures that the inserted record stays as the current record after saving.
        Overrides:
        save in class AppBean
        Throws:
        MXException
      • initializeApp

        public void initializeApp()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: AppBean
        This method is called when the presentations "main" page is initalized and before the page is rendered. It can be called multiple times to "reinitialize" the applicaiton, for example when the existing query is reset.

        Only on the first initialize the method also checks for these mutually exclusiive special conditions:

      • if there is a particular record the app needs to jump to (using uniqueid from the loadapp or gotoapp event) the result set is restricted to that record only
      • if there is a startup query sent through the launch in context as a startup where clause it is set as a user where clause
      • if there is an additional ecent "insert" a new record is inserted

        A subsequent call to initializeApp() will not check for these conditions, causing the default reset to happen

Overrides:
initializeApp in class AppBean
Throws:
MXException
java.rmi.RemoteException
  • deleteAlternateAvails

    public boolean deleteAlternateAvails(UserInfo userInfo,
                                         java.util.Vector targetProjectVector)
  • duplicateAlternateAvails

    public MboSetRemote duplicateAlternateAvails(MboRemote sourceProject,
                                                 java.util.Vector targetProjectVector)
                                          throws MXException,
                                                 java.rmi.RemoteException
    Throws:
    MXException
    java.rmi.RemoteException
  • clear

    public int clear()
              throws MXException,
                     java.rmi.RemoteException,
                     java.sql.SQLException
    Throws:
    MXException
    java.rmi.RemoteException
    java.sql.SQLException
  • modify

    public int modify()
               throws MXException,
                      java.rmi.RemoteException,
                      java.sql.SQLException
    Throws:
    MXException
    java.rmi.RemoteException
    java.sql.SQLException
  • getResources

    public java.sql.ResultSet getResources(MboRemote projectMbo)
                                    throws java.rmi.RemoteException,
                                           MXException
    Throws:
    java.rmi.RemoteException
    MXException