psdi.webclient.system.beans

Class QbeBean

    • Field Detail

      • CURRENT_ACTION_DEFAULT

        protected static final int CURRENT_ACTION_DEFAULT
        See Also:
        Constant Field Values
      • qbeAttributesBeforeReviseAction

        protected java.util.Hashtable qbeAttributesBeforeReviseAction
      • saveFetchData

        protected boolean saveFetchData
    • Constructor Detail

      • QbeBean

        public QbeBean()
    • Method Detail

      • getMboSetRemote

        public MboSetRemote getMboSetRemote()
                                     throws MXException,
                                            java.rmi.RemoteException
        Description copied from class: DataBean
        Obtains and returns a MboSetRemote using the mboname of parent/relationship setup for the bean. Override this method if the DataBean needs to get a MboSetRemote in a non-standard way. (Not via a the MXSession, or a relationship from another DataBean).
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • qbecancel

        public int qbecancel()
                      throws MXException,
                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • 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
      • defaultExec

        public int defaultExec()
                        throws MXException,
                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • qbeclear

        public int qbeclear()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • qbeclearExec

        public int qbeclearExec()
                         throws MXException,
                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • qbeclearClassificationExec

        public int qbeclearClassificationExec()
                                       throws MXException,
                                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • close

        public void close()
        Description copied from class: DataBean
        Closes the MboSet. Throws MXException or RemoteException on failure
        Overrides:
        close in class DataBean
      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: DataBean
        Typically called after the DataBean gets a new MboSetRemote On the MboSetRemote it sets the app, the app defaults, user defaults If the remote is an instanceof NonPersistentMboSetRemote then setup is called on it and sets the current row to 0. If the DataBean isn't bound to a table then initialize fetches the first mbo (sets the current row to 0). If this method is overridden under most case you will want to call super.initalize at the end of the the new initialize method.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        DataBean.initialize()
      • clearqryandfld

        public int clearqryandfld()
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • clearqryandfldExec

        public int clearqryandfldExec()
                               throws MXException,
                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • clearfield

        public int clearfield()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • clearfieldExec

        public int clearfieldExec()
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • restoredefaultqry

        public int restoredefaultqry()
                              throws MXException,
                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • restoredefaultqryExec

        public int restoredefaultqryExec()
                                  throws MXException,
                                         java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getCurrentAction

        public int getCurrentAction()
      • setCurrentAction

        protected void setCurrentAction(int action)
      • getQbeAttributesBeforeReviseAction

        public java.util.Hashtable getQbeAttributesBeforeReviseAction()
      • setQbeAttributesBeforeReviseAction

        protected void setQbeAttributesBeforeReviseAction(java.util.Hashtable oldQbeAttributes)
      • cancelDialog

        public int cancelDialog()
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: DataBean
        Called by the dialog control when the dialog is cancled. Override this method if any special processing needs to be done when the user closes a dialog.
        Overrides:
        cancelDialog in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException