psdi.app.workorder.virtual

Class ShowAllPlanMboSet

  • java.lang.Object
    • java.rmi.server.RemoteObject
      • java.rmi.server.RemoteServer
        • java.rmi.server.UnicastRemoteObject
    • Field Detail

      • woHierarchy

        protected MboSetRemote woHierarchy
        The Hierarchy set.
      • cur

        protected int cur
        The index into the hierarchy set of the next work order we want to get work plan information from.
      • compareOrderBy

        protected boolean compareOrderBy
        Before reading the first record from the real set, we compare the order by clauses.
      • orderby

        protected OrderBy orderby
        Special data structure to hold the order by clause
    • Constructor Detail

      • ShowAllPlanMboSet

        public ShowAllPlanMboSet(MboRemote owner,
                                 java.lang.String name,
                                 java.lang.String relationship)
                          throws java.rmi.RemoteException
        Constructor.
        Parameters:
        name - Name of the sub-class set, such as "ShowAllPlanLaborSet".
        relationship - Used to get Mbo information per work order. One of "WPLABOR", "WPMATERIAL", "WPTOOL".
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • getName

        public java.lang.String getName()
                                 throws java.rmi.RemoteException
        Description copied from class: FauxMboSet
        Define to give the MboSet a name. You may want to spoof a real name or define a unique name for the set.
        Specified by:
        getName in interface MboSetRemote
        Specified by:
        getName in class FauxMboSet
        Throws:
        java.rmi.RemoteException
      • fetchMbos

        public void fetchMbos(int toPosition)
                       throws MXException,
                              java.rmi.RemoteException
        Mbo supplier method checks for any order by defined. If there is an order by clause, all Mbos are read in and sorted in memory.
        Specified by:
        fetchMbos in class FauxMboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • getZombie

        public MboRemote getZombie()
                            throws java.rmi.RemoteException
        This method should be overridden so that in returns a Zombie Mbo of the type of Mbo that makes up this set.
        Specified by:
        getZombie in interface MboSetRemote
        Overrides:
        getZombie in class FauxMboSet
        Throws:
        java.rmi.RemoteException
      • getOrderBy

        public java.lang.String getOrderBy()
                                    throws java.rmi.RemoteException
        Returns the current order by of the set.
        Specified by:
        getOrderBy in interface MboSetRemote
        Overrides:
        getOrderBy in class FauxMboSet
        Returns:
        The Order By clause
        Throws:
        java.rmi.RemoteException