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_ALLstatic int[]VISIBLE_ONLY_HEADER_FOOTER_DETAILstatic int[]VISIBLE_ONLY_NONE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLayoutKey()booleanisDesignMode()voidsetDesignMode(boolean isDesignMode)voidsetLayoutKey(java.lang.String key)voidsetSuppressEmptySections(boolean suppress)voidsetVisitVisibleOnly(int[] visibleOnly)Array ofEnumRWUnitTypesdetermines the unit types that will be iterated only if they are visible.booleansuppressEmptySections()Whether to omit sections that have no subsections.int[]visitVisibleOnly()booleanvisitVisibleOnly(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 ofEnumRWUnitTypesdetermines the unit types that will be iterated only if they are visible.- Parameters:
visibleOnly-EnumRWUnitTypesof units that will be iterated only if they are visible.
-
visitVisibleOnly
int[] visitVisibleOnly()
- Returns:
EnumRWUnitTypesof 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.
-
-