psdi.mbo

Interface HierarchicalMboSetRemote

    • Method Detail

      • getChildren

        MboValueData[][] getChildren(java.lang.String object,
                                     java.lang.String key,
                                     java.lang.String[] attrs,
                                     int maxRows)
                              throws MXException,
                                     java.rmi.RemoteException
        Returns zero or more children objects in the hierarchy.
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getParent

        MboValueData[] getParent(java.lang.String object,
                                 java.lang.String key,
                                 java.lang.String[] attrs)
                          throws MXException,
                                 java.rmi.RemoteException
        Returns zero or one parent object for the given object in the hierarchy. This method returns the immediate parent object of the given object.
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        Returns:
        MboValueData[] - contains Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getSiblings

        MboValueData[][] getSiblings(java.lang.String object,
                                     java.lang.String key,
                                     java.lang.String[] attrs,
                                     int maxRows)
                              throws MXException,
                                     java.rmi.RemoteException
        Returns zero or more siblings of the given object in the hierarchy.
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getTop

        MboValueData[][] getTop(java.lang.String[] attrs,
                                int maxRows)
                         throws MXException,
                                java.rmi.RemoteException
        Returns all the top level objects in the hierarchy, i.e. objects that do not have parents.
        Parameters:
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getPathToTop

        MboValueData[][] getPathToTop(java.lang.String object,
                                      java.lang.String key,
                                      java.lang.String[] attrs,
                                      int maxRows)
                               throws MXException,
                                      java.rmi.RemoteException
        Returns all objects in the path to the top from the current object, i.e. every parent of the object in a sequence.
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getAllHierarchies

        MboValueData[][] getAllHierarchies(java.lang.String object,
                                           java.lang.String key,
                                           java.lang.String[] attrs,
                                           int maxRows)
                                    throws MXException,
                                           java.rmi.RemoteException
        Returns all hierarchies for the object, this is mainly used in the case of locations.
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getHierarchy

        MboValueData[] getHierarchy(java.lang.String object,
                                    java.lang.String key)
                             throws MXException,
                                    java.rmi.RemoteException
        Return the hierarchy of the given object. This is mainly used in location.
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        Returns:
        MboValueData[] - contains Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • setHierarchy

        void setHierarchy(java.lang.String object,
                          java.lang.String key,
                          java.lang.String hierarchy)
                   throws MXException,
                          java.rmi.RemoteException
        Sets the hierarchy of the object. This is mainly used in location.
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        hierarchy - - name of the hierarchy.
        Throws:
        MXException
        java.rmi.RemoteException
      • getUniqueIDValue

        MboValueData getUniqueIDValue(java.lang.String object,
                                      java.lang.String[] attributes,
                                      java.lang.String[] values)
                               throws MXException,
                                      java.rmi.RemoteException
        Returns the unique id value of the object using the list of attributes and values.
        Parameters:
        object -
        attributes -
        values -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException