psdi.webclient.beans.dpldasset

Class DeployedAssetBean

    • Constructor Detail

      • DeployedAssetBean

        public DeployedAssetBean()
    • Method Detail

      • PROMOTE

        public int PROMOTE()
                    throws MXException,
                           java.rmi.RemoteException
        Intercept the PROMOTE event (promotion dialog) on the list page and show an error that prompts the user to make a selection. Cannot use the stock list warning behavior because when no selection is made we do not want to process the whole set.
        Returns:
        EVENT_CONTINUE to proceed to the dialog, or throws an exception
        Throws:
        MXException
        java.rmi.RemoteException
      • deleteAll

        public void deleteAll(MboSetRemote setToDelete)
                       throws MXException,
                              java.rmi.RemoteException
        Delete all the members of the set - be very very carefull ! The deletions are not performed in the database, until save is called. If any one of the objects in the collection fails, the undelete method will be called on each object that had been deleted.
        Throws:
        MXException
        java.rmi.RemoteException
      • deleteSelectedMbos

        protected void deleteSelectedMbos(java.util.Vector selectedMbos)
                                   throws MXException,
                                          java.rmi.RemoteException
        Delete Selected Mbos
        Overrides:
        deleteSelectedMbos in class ReconLinkBean
        Throws:
        MXException - If there is a confirmation needed.
        java.rmi.RemoteException - If there is an RMI error.
      • deleteNode

        protected void deleteNode(MboRemote mboSelected,
                                  java.util.HashMap deleteNodes,
                                  java.lang.String nodeIDs)
                           throws MXException,
                                  java.rmi.RemoteException
        Delete Deployed asset Look into DPAANCESTOR, and if parent is also selected for deletion then delete the parent first. When a parent is deleted, all children automatically deleted in ComputerSystem mbo, delete() method.
        Throws:
        MXException - If there is a confirmation needed.
        java.rmi.RemoteException - If there is an RMI error.