psdi.webclient.beans.designer

Class FilterSetvalueBean

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


    public class FilterSetvalueBean
    extends TypeAheadBean
    This bean handles the configure filter and configure setvalue dialogs that can be accessed from the property sheet of a selected field in app designer. Uses the getMboSet() from TypeAheadBean parent class
    • Constructor Detail

      • FilterSetvalueBean

        public FilterSetvalueBean()
    • Method Detail

      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        initialize makes sure there's a typeahead configured before allowing the user to modify the filter or setvalue configuration. will throw an error if the dialog is opened and there is no datastore configured for typeahead
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        Upon clicking ok, the bean will add the filter or setvalue to the dialog's datastore this method updates the nonpersistent datastore mboset's child sets with current changes. replaces the filter or setvalue children of the matching datastore in AppInstance.datastoreSet with the children from this bean. the datastore object must already exist in AppInstance.datastoreSet
        Overrides:
        execute in class TypeAheadBean
        Throws:
        MXException
        java.rmi.RemoteException