psdi.webclient.beans.intobject

Class ParentObjectNameTreeBean

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


    public class ParentObjectNameTreeBean
    extends TreeControlBean
    • Constructor Detail

      • ParentObjectNameTreeBean

        public ParentObjectNameTreeBean()
    • Method Detail

      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        Initialize - get the bean where this tree control bean is launched TreeControlBean is MaxIntObjectDetail object
        Overrides:
        initialize in class TreeControlBean
        Throws:
        MXException - throws MXApplicationException
        java.rmi.RemoteException
      • getTop

        public java.lang.Object[][] getTop(java.lang.String[] dataattributes,
                                           int maxchildren)
                                    throws MXException,
                                           java.rmi.RemoteException
        Gets the top nodes for the tree structure.
        Overrides:
        getTop in class TreeControlBean
        Parameters:
        dataattributes -
        maxchildren -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getChildren

        public java.lang.Object[][] getChildren(java.lang.String objectname,
                                                java.lang.String uniqueid,
                                                java.lang.String[] dataattributes,
                                                int maxchildren)
                                         throws MXException,
                                                java.rmi.RemoteException
        Gets children for a given node
        Overrides:
        getChildren in class TreeControlBean
        Parameters:
        objectname -
        uniqueid -
        dataattributes -
        maxchildren -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getPathToTop

        public java.lang.Object[][] getPathToTop(java.lang.String objectname,
                                                 java.lang.String uniqueid,
                                                 java.lang.String[] dataattributes,
                                                 int maxchildren)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Gets Path to Top for a given node
        Overrides:
        getPathToTop in class TreeControlBean
        Parameters:
        objectname -
        uniqueid -
        dataattributes -
        maxchildren -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboValueData

        public java.lang.Object[] getMboValueData(java.lang.String[] dataattributes)
                                           throws MXException,
                                                  java.rmi.RemoteException
        Gets data a for givens et of attributes from the current mbo
        Overrides:
        getMboValueData in class TreeControlBean
        Parameters:
        dataattributes -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • setHierarchy

        public void setHierarchy(java.lang.String objectname,
                                 java.lang.String uniqueid,
                                 java.lang.String hierarchy)
                          throws MXException,
                                 java.rmi.RemoteException
        Sets the reference point for starting of the hierarchy
        Overrides:
        setHierarchy in class TreeControlBean
        Parameters:
        objectname -
        uniqueid -
        hierarchy -
        Throws:
        MXException
        java.rmi.RemoteException
      • updateOriginatingRecord

        protected void updateOriginatingRecord()
                                        throws MXException,
                                               java.rmi.RemoteException
        update the parentobjectname of the originating object with the selected detail node and close the dialog
        Throws:
        MXException
        java.rmi.RemoteException