com.ibm.tivoli.maximo.skd.beans

Class SKDWOChangeStatusBean

    • Constructor Detail

      • SKDWOChangeStatusBean

        public SKDWOChangeStatusBean()
    • Method Detail

      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Set parameters for the selected work order when selecting to change status. Fetch and set the selected records.
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList(int nRow,
                                    java.lang.String attribute)
                             throws MXException,
                                    java.rmi.RemoteException
        Display the validated list of status' based on security rights.
        Overrides:
        getList in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • getOptionName

        public static java.lang.String getOptionName(java.lang.String status)
        Given a WO Status, return the optionName Note the status passed in is the INTERNAL status code.
        The SigOption Option Name doesn't always match the status name.
        Parameters:
        status - The status to return the optionName of.
        Returns:
        optionName The Option Name.
      • 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
      • 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