psdi.webclient.beans.workorder.schedulerplus

Class WOConfigurePredWOSchedulerPlusBean

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


    public class WOConfigurePredWOSchedulerPlusBean
    extends MultiselectDataBean
    This class is responsible to configure the relationships for Scheduler=
    • Constructor Detail

      • WOConfigurePredWOSchedulerPlusBean

        public WOConfigurePredWOSchedulerPlusBean()
    • Method Detail

      • setJobPlan

        public void setJobPlan(java.lang.String jobPlan)
      • getMboSetRemote

        public 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
      • configureWos

        public int configureWos()
                         throws MXException,
                                java.rmi.RemoteException
        This method is responsible to select and handle selection of work orders.
        Returns:
        EVENT_HANDLER
        Throws:
        MXException
        java.rmi.RemoteException
      • cancelDialog

        public int cancelDialog()
                         throws MXException,
                                java.rmi.RemoteException
        Implemented in order to dispose the dialog in several situations // Issue: 282243 - Predecessor do not open the list of brothers : START
        Overrides:
        cancelDialog in class DataBean
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • copySelection

        public void copySelection(java.util.Vector selected)
                           throws java.rmi.RemoteException,
                                  MXException
        This method will just add the selection of Work Orders to the non-persistent MBO
        Parameters:
        selected - items from "Select More Work Order" Dialog
        Throws:
        java.rmi.RemoteException
        MXException
      • getDataSource

        public java.lang.String getDataSource()
        Returns:
        String with data source ID
      • getAllLinkedRegisters

        public java.lang.StringBuffer getAllLinkedRegisters(java.lang.String wonum,
                                                            java.util.Map visitedWonums)
                                                     throws java.rmi.RemoteException,
                                                            MXException
        Check the validation between links for the entire relationship hierarchy. The WOTASKREALTION has a PREDREFWONUM or PREDWONUM variable that will be used as the owner of the "real" WONUM value. When using nested records, the PREDWONUM will be used to refer to WORKORDER.WONUM id. This method is public in order to attend the child dialogs allowing them to also check the predecessors
        Parameters:
        WONUM - from the selected record or WONUM of predecessor chain.
        Returns:
        StringBuffer populated with a list of not allowed relationships based on WONUM
        Throws:
        java.rmi.RemoteException
        MXException