Package com.microstrategy.web.objects.rw
Interface RWGroupBy
-
public interface RWGroupByRepresent group by element.- Since:
- MicroStrategy Web 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHeaderFooter(java.lang.String headerKey, java.lang.String headerSubsectionKey, java.lang.String footerKey, java.lang.String footerSubsectionKey)Adds a header/footer and corresponding subsections to the group by section.intgetAttributeFormsDisplayType()Return the way forms should be displayedWebAttributeFormsgetDisplayAttributeForms()Return the forms should be displayedjava.lang.StringgetKey()Returns a group by object key.intgetLevel()Returns groub by level.RWGroupBygetNext()Returns next group by or nullRWGroupBygetPrevious()Returns previous group by or nullRWSectionDefgetSection()Returns group by section definition assosiated with this group by.WebSortsgetSorts()Returns theWebSortscollection, which allows the user to examine and change the sorting settings on the axis.RWSubtotalsgetSubtotals()RWGroupByUnitgetUnit()Returns group by unit associated with this group by.voidsetAttributeFormsDisplayType(int type)Specify the way forms should be displayed for this controlvoidsetDisplayAttributeForms(java.util.List<java.lang.String> forms)Specify the forms should be displayed for this control
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
Returns a group by object key.- Returns:
- a group by object key.
-
getLevel
int getLevel()
Returns groub by level. Possible values are defined inEnumRWGroupByLevels- Returns:
- groub by level
-
getUnit
RWGroupByUnit getUnit()
Returns group by unit associated with this group by.- Returns:
- group by unit associated with this group by
-
getSection
RWSectionDef getSection()
Returns group by section definition assosiated with this group by.- Returns:
- group by section definition assosiated with this group by.
-
getNext
RWGroupBy getNext()
Returns next group by or null- Returns:
- next group by or null
-
getPrevious
RWGroupBy getPrevious()
Returns previous group by or null- Returns:
- previous group by or null
-
addHeaderFooter
void addHeaderFooter(java.lang.String headerKey, java.lang.String headerSubsectionKey, java.lang.String footerKey, java.lang.String footerSubsectionKey)Adds a header/footer and corresponding subsections to the group by section. If any of parameters is null corresponding key will be assigned automatically.- Parameters:
headerKey- a header section keyheaderSubsectionKey- a headrer subsection keyfooterKey- a footer section keyfooterSubsectionKey- a footer subsection key
-
getSorts
WebSorts getSorts()
Returns theWebSortscollection, which allows the user to examine and change the sorting settings on the axis.- Returns:
- A
WebSortsobject which can be used to gather information about and change the settings of the sorts on the axis.
-
getSubtotals
RWSubtotals getSubtotals()
- Since:
- MicroStrategy Web 9.0.0
-
setAttributeFormsDisplayType
void setAttributeFormsDisplayType(int type) throws WebObjectsExceptionSpecify the way forms should be displayed for this control- Parameters:
type- int fromEnumDSSXMLControlAttributeFormDisplayOption- Throws:
WebObjectsException
-
getAttributeFormsDisplayType
int getAttributeFormsDisplayType()
Return the way forms should be displayed- Returns:
- int from
EnumDSSXMLControlAttributeFormDisplayOption
-
setDisplayAttributeForms
void setDisplayAttributeForms(java.util.List<java.lang.String> forms) throws WebObjectsExceptionSpecify the forms should be displayed for this control- Parameters:
type- List- Throws:
WebObjectsException
-
getDisplayAttributeForms
WebAttributeForms getDisplayAttributeForms()
Return the forms should be displayed- Returns:
- type WebAttributeForms
-
-