Interface SortEditorBean

    • Field Detail

      • SORT_KEY_SEPERATOR

        static final java.lang.String SORT_KEY_SEPERATOR
        Constant value for the value separator character for sorting
        Since:
        MicroStrategy Web 8.0.0
        See Also:
        Constant Field Values
      • SORT_TEMPLATE_UNITS

        static final int SORT_TEMPLATE_UNITS
        Constant value indicating template units are to be sorted
        Since:
        MicroStrategy Web 8.0.0
        See Also:
        Constant Field Values
      • SORT_GROUP_BY_UNITS

        static final int SORT_GROUP_BY_UNITS
        Constant value indicating group by units are to be sorted
        Since:
        MicroStrategy Web 8.0.0
        See Also:
        Constant Field Values
      • ROW_TAB

        static final int ROW_TAB
        Constant value indicating the tabs on the editor
        Since:
        MicroStrategy Web 9.0.0
        See Also:
        Constant Field Values
    • Method Detail

      • getSortByUnits

        java.util.ArrayList getSortByUnits​(int type)
        Parameters:
        type - int value indicating the type of sort units to return, values from SORT_TEMPLATE_UNITS or SORT_GROUP_BY_UNITS
        Returns:
        an ArrayList instance with the sort by units
        Since:
        MicroStrategy Web 8.0.0
      • getSortByUnitsByAxis

        java.util.ArrayList getSortByUnitsByAxis​(int type,
                                                 int axis)
        Since:
        MicroStrategy Web 9.0.0
      • getGroupByForms

        java.util.ArrayList getGroupByForms​(java.lang.String attribute)
        Parameters:
        attribute - name of the attribute from where the forms will be retrieved
        Returns:
        an ArrayList instance with the group by forms
        Since:
        MicroStrategy Web 8.0.0
      • getAppliedSorts

        java.util.ArrayList getAppliedSorts​(int type)
        Deprecated.
        Please us public getAppliedSortsByAxis(int type, int axis)
        Parameters:
        type - int value indicating the type of sort units to check for, values from SORT_TEMPLATE_UNITS or SORT_GROUP_BY_UNITS
        Returns:
        an ArrayList instance with the applied sorts
        Since:
        MicroStrategy Web 8.0.0
      • getAppliedSortsByAxis

        java.util.ArrayList getAppliedSortsByAxis​(int type,
                                                  int axis)
        Since:
        MicroStrategy Web 9.0.0
      • getMaxSortAllowed

        int getMaxSortAllowed()
        Deprecated.
        User can add extra sort from the layout.
        Defines how many sorts are allowed to the user
        Returns:
        the number of sorts presented to the user
      • setMaxSortAllowed

        void setMaxSortAllowed​(int maxSortAllowed)
        Sets how many sorts are allowed to the user
        Parameters:
        maxSortAllowed - the number of sorts presented to the user
      • getCurrentTab

        int getCurrentTab()
        Returns the current tab
        Returns:
        type int value indicating the current tab, value ROW_TAB or COL_TAB
        Since:
        MicroStrategy Web 9.0.0
      • setCurrentTab

        void setCurrentTab​(int currentTab)
        Sets the current tab
        Parameters:
        currentTab - int value indicating the current tab, value ROW_TAB or COL_TAB
        Since:
        MicroStrategy Web 9.0.0
      • getDetailsSectionKey

        java.lang.String getDetailsSectionKey()
        Returns the RW SortEditor Details Section Key
        Returns:
        Returns the Sort Document Details Section Key
        Since:
        MicroStrategy Web 9.0.0