com.ibm.tivoli.maximo.appt.beans

Class CreateWorkOrderApptWindowBean

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


    public class CreateWorkOrderApptWindowBean
    extends DataBean
    • Constructor Detail

      • CreateWorkOrderApptWindowBean

        public CreateWorkOrderApptWindowBean()
    • Method Detail

      • 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
      • cancelDialog

        public int cancelDialog()
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: DataBean
        Called by the dialog control when the dialog is cancled. Override this method if any special processing needs to be done when the user closes a dialog.
        Overrides:
        cancelDialog in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • afterSetValue

        protected void afterSetValue(java.lang.String attribute)
                              throws java.rmi.RemoteException,
                                     MXException
        Description copied from class: DataBean
        This method is called right after a setValue on a mbo is performed. The setValue can occur in a number of methods so this method does the necessary refreshing and nofitication that the setValue happened.
        Overrides:
        afterSetValue in class DataBean
        Throws:
        java.rmi.RemoteException
        MXException
      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Description copied from class: DataBean
        Obtains and returns a MboSetRemote using the mboname of parent/relationship setup for the bean. Override this method if the DataBean needs to get a MboSetRemote in a non-standard way. (Not via a the MXSession, or a relationship from another DataBean).
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • setWorkOrderInfo

        protected void setWorkOrderInfo(MboRemote workOrder,
                                        java.lang.String jpNum)
                                 throws java.rmi.RemoteException,
                                        MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • setWOServiceAddress

        protected void setWOServiceAddress(MboRemote workOrder,
                                           java.lang.String addressCode)
                                    throws java.rmi.RemoteException,
                                           MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • validateLocation

        protected void validateLocation(java.lang.String location,
                                        UserInfo userInfo)
                                 throws java.rmi.RemoteException,
                                        MXException
        Throws:
        java.rmi.RemoteException
        MXException