psdi.webclient.beans.common

Class RelationshipTreeBean

    • Constructor Detail

      • RelationshipTreeBean

        public RelationshipTreeBean()
    • Method Detail

      • 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 TreeControlBean
        Throws:
        MXException
        java.rmi.RemoteException
      • getTreeControlObjectName

        public java.lang.String getTreeControlObjectName()
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • setRelationshipTreeObject

        public void setRelationshipTreeObject()
                                       throws java.rmi.RemoteException,
                                              MXException
        Set the Top level object for this tree Overrride this method if the tree is used outside the expression builder
        Throws:
        java.rmi.RemoteException
        MXException
      • getString

        public java.lang.String getString(java.lang.String attribute)
        Description copied from class: DataBean
        Return the string for the specified column in the current row
        Overrides:
        getString in class DataBean
      • getSelectedNode

        protected java.lang.String getSelectedNode()
                                            throws MXException,
                                                   java.rmi.RemoteException
        Returns the selected node
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getSelectedNode

        protected java.lang.String getSelectedNode(boolean colonize)
                                            throws MXException,
                                                   java.rmi.RemoteException
        Returns the selected node
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • selectrecord

        public int selectrecord()
                         throws MXException,
                                java.rmi.RemoteException
        Handles the selected node from the relationship tree for the Expression Builder Override this method if the relationship tree is used outside the expression builder
        Overrides:
        selectrecord in class TreeControlBean
        Returns:
        EVENT_HANDLED;
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        DataBean.selectrecord()
      • setcurrentnode

        public void setcurrentnode(java.lang.String newobjectname,
                                   java.lang.String newuniqueidname,
                                   java.lang.String newuniqueidvalue)
                            throws MXException,
                                   java.rmi.RemoteException
        Set the current Node
        Overrides:
        setcurrentnode in class TreeControlBean
        Throws:
        MXException
        java.rmi.RemoteException - Apr 16, 2007