psdi.webclient.beans.workorder.schedulerplus

Class WOPredWOSchedulerPlusBean

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


    public class WOPredWOSchedulerPlusBean
    extends MultiselectDataBean
    This class is responsible for list more work orders and configure a relationship.
    • Field Detail

      • ACTIVITY

        public static java.lang.String ACTIVITY
      • CHANGE

        public static java.lang.String CHANGE
      • RELEASE

        public static java.lang.String RELEASE
      • WORKORDER

        public static java.lang.String WORKORDER
    • Constructor Detail

      • WOPredWOSchedulerPlusBean

        public WOPredWOSchedulerPlusBean()
    • Method Detail

      • getMboSetRemote

        public MboSetRemote getMboSetRemote()
                                     throws MXException,
                                            java.rmi.RemoteException
        Return a list of work orders in order to setup the relationship.
        Overrides:
        getMboSetRemote in class DataBean
        Returns:
        the wpTask MboSet.
        Throws:
        MXException
        java.rmi.RemoteException
      • loadParents

        public void loadParents(java.lang.String wonum,
                                java.util.Map parents)
                         throws java.rmi.RemoteException,
                                MXException
        Load parents into a Map in order to manipulate it
        Parameters:
        wonum -
        parents -
        Throws:
        java.rmi.RemoteException
        MXException
      • closeDialog

        public void closeDialog()
        This method is called to close the dialog by the children
      • setAttributePredessorTask

        public int setAttributePredessorTask()
                                      throws java.rmi.RemoteException,
                                             MXException
        This method will fill in the PREDESSORWOS field.
        Parameters:
        predvalue - relationship dependencies
        Throws:
        java.rmi.RemoteException
        MXException
      • getAllLinks

        public void getAllLinks(java.lang.String wonum)
                         throws java.rmi.RemoteException,
                                MXException
        Select all relationship already configured.
        Parameters:
        wonum -
        Throws:
        java.rmi.RemoteException
        MXException
      • getWoClassMboSet

        public static java.lang.String getWoClassMboSet(java.lang.String woClass)
        Select the correct view of work order depending on the application
        Parameters:
        WoClass -
        Returns:
      • getOriginParentList

        public void getOriginParentList(java.lang.String origin)
                                 throws java.rmi.RemoteException,
                                        MXException
        Generate a list within parents chain that become an Illegal relationship though.
        Parameters:
        origin - Parent from recursive call
        Throws:
        java.rmi.RemoteException
        MXException