com.ibm.tivoli.maximo.amcrew.labrep.beans

Class EnterByCrewBean

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


    public class EnterByCrewBean
    extends DataBean
    • Constructor Detail

      • EnterByCrewBean

        public EnterByCrewBean()
    • 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
      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        This method is executed when OK button is pressed
        Overrides:
        execute in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • refreshCrew

        public int refreshCrew()
                        throws MXException,
                               java.rmi.RemoteException
        Refresh screen
        Throws:
        MXException
        java.rmi.RemoteException
      • selectCrew

        public int selectCrew()
                       throws MXException,
                              java.rmi.RemoteException
        Event handlig for select crew button. Clean crew and refresh screen
        Throws:
        MXException
        java.rmi.RemoteException
      • selectWorkDate

        public int selectWorkDate()
                           throws MXException,
                                  java.rmi.RemoteException
        Event handlig for select date button Clean date and refresh screen
        Throws:
        MXException
        java.rmi.RemoteException