psdi.webclient.beans.doclinks

Class AddDocLinksBean

    • Constructor Detail

      • AddDocLinksBean

        public AddDocLinksBean()
    • Method Detail

      • getMboSetRemote

        protected 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
        See Also:
        DataBean.getMboSetRemote()
      • insert

        public void insert()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: DataBean
        Inserts a row at the begining of the MboSet. Fires a row change event to all listeners upon success.
        Overrides:
        insert in class RegisterDocBean
        Throws:
        MXException
        java.rmi.RemoteException
      • close

        public void close()
        This method changes substantially the parent functionality. DataBean.close() must not be called form here because it resets the MboSet associated with this bean. Changes made in the attachments are stored in this set and a call to its cleanup() method destroys them
        Overrides:
        close in class DataBean
        See Also:
        DataBean.close()
      • 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 RegisterDocBean
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        DataBean.execute()
      • 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 RegisterDocBean
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        DataBean.cancelDialog()
      • passSuperExecute

        public int passSuperExecute()
                             throws MXException,
                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • passSuperCancelDialog

        public int passSuperCancelDialog()
                                  throws MXException,
                                         java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException