psdi.webclient.beans.dpldasset

Class PromoteValuesBean

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


    public class PromoteValuesBean
    extends DataBean
    For Promote to Assets dialog in Computers, Network Devices, Network Printers app.
    Since:
    7.2
    • Constructor Detail

      • PromoteValuesBean

        public PromoteValuesBean()
    • Method Detail

      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: DataBean
        This method is meant to be overrided by dialog beans but by default if the bean's remote is a NonPersistentMboSetRemote, then execute is called on the bean's remote and if the DataBean has a parent then execute is called on the bean's parent bean. If the remote is not a NonPersistentMboSetRemote then if the bean has a parentbean and a parent relationship then execute is called on the parent bean, else save is called on the bean's remote If you do not want to save the parent of the bean then override execute and just call save.
        Overrides:
        execute in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        DataBean.execute()
      • associateClassification

        public int associateClassification()
                                    throws MXException,
                                           java.rmi.RemoteException
        Intercept the associateClassification event (Classify dialog) to make sure it will not show empty wihtout a hint to the user
        Returns:
        EVENT_CONTINUE
        Throws:
        MXApplicationException - when the root classification is not set
        MXException
        java.rmi.RemoteException