Interface DataExplorerBean

    • Method Detail

      • setAttributeID

        WebBrowseHierarchyItem setAttributeID​(java.lang.String attributeID)
        Sets the next attribute to browse to. The attribute must either be a child attribute of the current attribute (in the hierarchy that the bean corresponds to) or one of the attributes already traversed. If no attribute has been traversed, the attribute should be the root attribute in the dimension. If the attribute set is one of the traversed attributes in the hierarchy the bean rolls back itself to the attribute i.e. it sets itself up as if this was the first time the attribute was visited. Among other things, that implies clearing the previous browse path. Used for incremental browsing, but limited to drill up or down actions.
        Parameters:
        attributeID -
        Returns:
        the corresponding WebBrowseHierarchyItem
      • getAttributeID

        java.lang.String getAttributeID()
        Returns the current dimension attribute set.
        Returns:
        the current attribute.
        See Also:
        setAttributeID(String)
      • setSearchPattern

        void setSearchPattern​(java.lang.String searchPattern)
        sets the search pattern on the bean. This is relevant only when filter element for the current attribute has'nt been set in the browse path.
        Parameters:
        searchPattern - search pattern
      • getSearchPattern

        java.lang.String getSearchPattern()
        Returns:
        the search pattern, if any.
        See Also:
        setSearchPattern(String)
      • setSearchMatchCase

        void setSearchMatchCase​(boolean match)
        Sets whether the search should be performed with case sensitive.
        Parameters:
        match - true for case sensitive search.
      • getSearchMatchCase

        boolean getSearchMatchCase()
        Returns:
        whether search will be performed as case sensitive or not.
        See Also:
        setSearchMatchCase(boolean)
      • elements

        WebDisplayUnits elements()
                          throws WebBeanException
        returns the element collection corresponding to the traversal step (browsing to elements or drillable attributes). Use the javadocs for the class for more details on traversal steps.
        Returns:
        display unit collection that would either hold WebElement objects or WebDimensionAttribute objects.
        Throws:
        WebBeanException
      • setDataSources

        void setDataSources​(java.lang.String dataSources)
        Sets the data sources xml that will be used for subsequent operations. Ensure this is configured before setting the dimension or browsing.
        Parameters:
        dataSources - data sources xml.
      • getBrowsePath

        WebBrowsePath getBrowsePath()
        Returns:
        the current browse path.
      • set

        void set​(WebBrowsePath newPath)
        Sets the new path to browse to. If an existing path already exists, the selected elements of the existing path will be merged into the new path. To create a browse path, see createWebBrowsePath().
        Parameters:
        newPath - a new path to browse to.
      • createWebBrowsePath

        WebBrowsePath createWebBrowsePath()
        Creates a new browse path instance. Please ensure that the dimension already configured on this bean (e.g. via ObjectBean.setObjectID(String)) before invoking this method.
        Returns:
        a new browse path (not bound to this bean).