psdi.webclient.beans.dpldasset

Class PromoteDefaultBean

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


    public class PromoteDefaultBean
    extends DataBean
    For Promotion Defaults dialog in Computers app. The purpose of the bean is to force validation because otherwise if no changes are made to the attributes, OK on the dialog is accepted even if mandatory values are empty. Tried to call setModified(true) the init() method of the mbo, but it did not work
    Since:
    7.2
    • Constructor Detail

      • PromoteDefaultBean

        public PromoteDefaultBean()
    • Method Detail

      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Initialize the mbo set so it contains the record that has the set of defaults for the current application
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • 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