psdi.app.workorder

Class WorkPrioritySet

    • Constructor Detail

      • WorkPrioritySet

        public WorkPrioritySet(MboServerInterface ms)
                        throws MXException,
                               java.rmi.RemoteException
        Construct the set of work priorities.
        Parameters:
        ms - the MboServerInterface for WorkPrioritySet.
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Factory method to create a work priority.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - the work priority MboSet.
        Returns:
        a work priority Mbo object.
        Throws:
        MXException
        java.rmi.RemoteException
      • addRowsForNewSite

        public void addRowsForNewSite(java.lang.String siteID,
                                      java.lang.String orgID)
                               throws MXException,
                                      java.rmi.RemoteException
        Adds a new set of reponsetime rows to the WorkPriority table each time a new site is added. The approach is to select the set of rows for one and *only* one of the existing sites -- it doesn't matter which one -- and then copy the priority and responsetime fields to a new set of rows for the new site and its org. As of this writing (MXES 6.0.03) there are five rows for each site, as there have been back at least to 5.0 .
        Specified by:
        addRowsForNewSite in interface WorkPrioritySetRemote
        Throws:
        MXException
        java.rmi.RemoteException
      • addDefaultRowsForSite

        public void addDefaultRowsForSite(java.lang.String siteID,
                                          java.lang.String orgID)
                                   throws MXException,
                                          java.rmi.RemoteException
        It became apparent that since Maximo 6.x is shipped without any sites, the WorkPriority table is also empty by default. Thus, there are no existing rows to serve as templates for new ones. This method deals with that case. The actual default values are the ones that have always been used -- the users may alter them later if they wish.
        Specified by:
        addDefaultRowsForSite in interface WorkPrioritySetRemote
        Throws:
        MXException
        java.rmi.RemoteException