psdi.iface.app.extsystem

Class MaxQueue

  • java.lang.Object
    • Constructor Detail

      • MaxQueue

        public MaxQueue(MboSet ms)
                 throws MXException,
                        java.rmi.RemoteException
        Constructor
        Parameters:
        ms - the mboset to which this mbo belongs
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add this mbo to the set
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        This is called whenever a change is made to the attributes of MAXQUEUE. This method updates the changedate, changeby attributes.
        Overrides:
        modify in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Check to see if this mbo can be deleted.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • viewQueue

        public java.util.List viewQueue()
                                 throws MXException,
                                        java.rmi.RemoteException
        Thsi method will view Queue content based on selector.
        Specified by:
        viewQueue in interface MaxQueueRemote
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • deleteQueue

        public void deleteQueue()
                         throws MXException,
                                java.rmi.RemoteException
        Thsi method will delete Queue content based on selector.
        Specified by:
        deleteQueue in interface MaxQueueRemote
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • validateMoveQueue

        public void validateMoveQueue()
                               throws MXException,
                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getQueueList

        public MboSetRemote getQueueList(MboSetRemote queueNameSet)
                                  throws MXException,
                                         java.rmi.RemoteException
        Return list of nonpersistent mbos for the Queue Name, by getting the valid Queue Names from the JNDI tree. This will be used by the UI lookup to select the Queue Name.
        Returns:
        the mbo set containing the valid list of queue names used by the UI lookup
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • getQueueNamesFromJNDITree

        protected java.util.List getQueueNamesFromJNDITree(java.lang.String context,
                                                           java.lang.String expression)
                                                    throws MXException,
                                                           java.rmi.RemoteException
        Get the list of existing Queue Names by querying the JNDI tree
        Returns:
        list of valid queue names
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception