psdi.webclient.beans.rsconfig

Class RSConfigAppBean

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


    public class RSConfigAppBean
    extends PortletAppBean
    This class represents the custom App bean for the Result Set Setup app.
    • Field Detail

      • LOGGER

        public static final MXLogger LOGGER
      • SELECT_LIST_CONTROL_ID

        public static final java.lang.String SELECT_LIST_CONTROL_ID
        See Also:
        Constant Field Values
      • AVAILABLE_LIST_CONTROL_ID

        public static final java.lang.String AVAILABLE_LIST_CONTROL_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • RSConfigAppBean

        public RSConfigAppBean()
    • Method Detail

      • setvalue

        public int setvalue()
                     throws MXException,
                            java.rmi.RemoteException
        Need to override this to workaround a bug in framework where when non-persistent fields are cleared out in the ui, they are not getting set to blank. *
        Overrides:
        setvalue in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • gotostartcenter

        public int gotostartcenter()
        Overridden to call a validation on the main record to check conditions being configured properly.
        Overrides:
        gotostartcenter in class PortletAppBean
        Returns:
        EVENT_HANDLED
      • cancel

        public int cancel()
        Cancel all changes and return to Start Center.
        Overrides:
        cancel in class PortletAppBean
        Returns:
      • save

        public void save()
                  throws MXException
        Description copied from class: AppBean
        Needs it's own version of save to insure the proper record is set. If the current row is a new record then before saving, it stores the key attributes and their values. Calls save then resets the qbe and to the stored values. This insures that the inserted record stays as the current record after saving.
        Overrides:
        save in class AppBean
        Throws:
        MXException
      • savedata

        public int savedata()
                     throws MXException
        Called when save button is clicked. It does an interim save to the changed in the portlet app
        Returns:
        int
        Throws:
        MXException
      • setValue

        public void setValue(int row,
                             java.lang.String attribute,
                             MboRemote mboRemote)
                      throws MXException
        Description copied from class: DataBean
        Updates an attribute's value on the given row. Fires a row change event to all the listeners upon success.
        Overrides:
        setValue in class DataBean
        Throws:
        MXException