Package com.microstrategy.web.objects
Interface RWIterateSettings
-
public interface RWIterateSettings
- Since:
- MicroStrategy Web 8.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static int[]
VISIBLE_ONLY_ALL
static int[]
VISIBLE_ONLY_HEADER_FOOTER_DETAIL
static int[]
VISIBLE_ONLY_NONE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLayoutKey()
boolean
isDesignMode()
void
setDesignMode(boolean isDesignMode)
void
setLayoutKey(java.lang.String key)
void
setSuppressEmptySections(boolean suppress)
void
setVisitVisibleOnly(int[] visibleOnly)
Array ofEnumRWUnitTypes
determines the unit types that will be iterated only if they are visible.boolean
suppressEmptySections()
Whether to omit sections that have no subsections.int[]
visitVisibleOnly()
boolean
visitVisibleOnly(RWUnit unit)
Check whether a unit type is in a given array of acceptable matches.
-
-
-
Method Detail
-
setDesignMode
void setDesignMode(boolean isDesignMode)
-
isDesignMode
boolean isDesignMode()
-
setLayoutKey
void setLayoutKey(java.lang.String key)
-
getLayoutKey
java.lang.String getLayoutKey()
-
setVisitVisibleOnly
void setVisitVisibleOnly(int[] visibleOnly)
Array ofEnumRWUnitTypes
determines the unit types that will be iterated only if they are visible.- Parameters:
visibleOnly
-EnumRWUnitTypes
of units that will be iterated only if they are visible.
-
visitVisibleOnly
int[] visitVisibleOnly()
- Returns:
EnumRWUnitTypes
of units that will be iterated only if they are visible.
-
visitVisibleOnly
boolean visitVisibleOnly(RWUnit unit) throws WebObjectsException
Check whether a unit type is in a given array of acceptable matches. If unit is null or visible only array isVISIBLE_ONLY_NONE
, false is returned. If the visible only array is length 0, true is returned.- Parameters:
unit
- unit to test- Returns:
- whether the given unit type is in the visible only array.
- Throws:
WebObjectsException
- See Also:
visitVisibleOnly()
-
setSuppressEmptySections
void setSuppressEmptySections(boolean suppress)
- Parameters:
suppress
- whether to omit sections that have no subsections.
-
suppressEmptySections
boolean suppressEmptySections()
Whether to omit sections that have no subsections. This works in conjunction withsetVisitVisibleOnly(int[])
when non-visible subsections are suppressed. By default, this is true.- Returns:
- whether to omit sections that have no (visible) subsections.
-
-