Package com.microstrategy.web.objects.rw
Interface RWElementSelector
- 
- All Superinterfaces:
 KeyedObject,RWControl,RWSelectorControl
- All Known Subinterfaces:
 RWAttributeSelector,RWConditionSelector,RWTransactionSelector
public interface RWElementSelector extends RWSelectorControl
Represents element selector control.- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
- 
Field Summary
- 
Fields inherited from interface com.microstrategy.web.objects.rw.RWSelectorControl
AUTO_SYNC, NO_AUTO_SYNC 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAlias()Get selector Alias.WebAttributeFormsgetControlAttributeForms()Return the custom forms available for this controljava.lang.StringgetControlAttributeFormsDelimiter()Return the delimiter used for custom form displayintgetControlAttributeFormsDisplayType()Return the way forms should be displayedintgetDataFilterMode()REturn the data filter mode for all CGBs surrounding this control's targetsjava.lang.StringgetDataSourcesXML()Returns the data sources xmlRWTransactionSelectorgetDDICTarget(int i)Returns i-th DDIC targetintgetDDICTargetCount()Returns number of DDIC targetsintgetMetricConditionalityType()WebSortsgetSorts()Return collection of sorts applied to elements of this selectorWebObjectInfogetSource()Returns control sourcebooleanisInList()Return boolean specifying whether the control's element selection is inclusivevoidsetControlAttributeForms(java.util.List<WebAttributeForm> forms)Specify the forms to be used when custom forms are enabledvoidsetControlAttributeFormsDelimiter(java.lang.String delimeter)Specify delimiter for custom form display of controlvoidsetControlAttributeFormsDisplayType(int type)Specify the way forms should be displayed for this controlvoidsetDataFilterMode(int mode)Sets the data filter mode for all CGBs surrounding this control's targetsvoidsetIsInList(boolean isInList)Specify whether this control's element selection should be inclusivevoidsetMetricConditionalityType(int metricConditionality)voidsetSource(WebObjectInfo sourceObject)Sets control source- 
Methods inherited from interface com.microstrategy.utils.KeyedObject
_getObKey 
- 
Methods inherited from interface com.microstrategy.web.objects.rw.RWControl
addDatasetTarget, addDatasetTarget, addPlaceHolderTarget, addTarget, addTarget, canMultiSelect, canUseSubtotals, generateGridControlFormatDelta, getDatasetTargets, getGroupByTargetKeys, getInfoWindowTarget, getKey, getKeyContext, getParent, getPlaceHolderGroupByTargetKeys, getPlaceHolderTargets, getSubtotals, getTarget, getTargetCount, getTargets, getTransactionAction, getType, hasDatasetTarget, hasTarget, hasTargets, isShowAll, isTopMost, isUnset, removeAllDatasetTargets, removeDatasetTarget, removePlaceHolderTarget, removeTarget, setInfoWindowTarget, setShowAll, setTopMost 
- 
Methods inherited from interface com.microstrategy.web.objects.rw.RWSelectorControl
createElements, getAutoSyncMode, getCurrentElements, getSduc, getTargetType, getUnsetCount, getUnsetStatus, setAutoSyncMode, setTargetType, setUnsetStatus 
 - 
 
 - 
 
- 
- 
Method Detail
- 
setSource
void setSource(WebObjectInfo sourceObject) throws WebObjectsException
Sets control source- Parameters:
 sourceObject- source object- Throws:
 WebObjectsException
 
- 
getSource
WebObjectInfo getSource()
Returns control source- Returns:
 - control source
 
 
- 
setDataFilterMode
void setDataFilterMode(int mode)
Sets the data filter mode for all CGBs surrounding this control's targets- Parameters:
 mode- int fromEnumWebControlDataFilterModes
 
- 
getDataFilterMode
int getDataFilterMode()
REturn the data filter mode for all CGBs surrounding this control's targets- Returns:
 - int from 
EnumWebControlDataFilterModes 
 
- 
setIsInList
void setIsInList(boolean isInList) throws WebObjectsExceptionSpecify whether this control's element selection should be inclusive- Parameters:
 isInList- boolean true=inclusive, false=exclusive- Throws:
 WebObjectsException
 
- 
isInList
boolean isInList() throws WebObjectsExceptionReturn boolean specifying whether the control's element selection is inclusive- Returns:
 - boolean true=inclusive, false=exclusive
 - Throws:
 WebObjectsException
 
- 
setMetricConditionalityType
void setMetricConditionalityType(int metricConditionality) throws WebObjectsException, java.lang.IllegalArgumentException- Throws:
 WebObjectsExceptionjava.lang.IllegalArgumentException
 
- 
getMetricConditionalityType
int getMetricConditionalityType()
 
- 
getDataSourcesXML
java.lang.String getDataSourcesXML()
Returns the data sources xml- Returns:
 - data sources xml
 
 
- 
setControlAttributeFormsDelimiter
void setControlAttributeFormsDelimiter(java.lang.String delimeter) throws WebObjectsExceptionSpecify delimiter for custom form display of control- Parameters:
 delimeter-Stringcontaining the delimiter- Throws:
 WebObjectsException
 
- 
getControlAttributeFormsDelimiter
java.lang.String getControlAttributeFormsDelimiter()
Return the delimiter used for custom form display- Returns:
 Stringcustom form display delimiter
 
- 
setControlAttributeFormsDisplayType
void setControlAttributeFormsDisplayType(int type) throws WebObjectsExceptionSpecify the way forms should be displayed for this control- Parameters:
 type- int fromEnumDSSXMLControlAttributeFormDisplayOption- Throws:
 WebObjectsException
 
- 
getControlAttributeFormsDisplayType
int getControlAttributeFormsDisplayType()
Return the way forms should be displayed- Returns:
 - int from 
EnumDSSXMLControlAttributeFormDisplayOption 
 
- 
setControlAttributeForms
void setControlAttributeForms(java.util.List<WebAttributeForm> forms) throws WebObjectsException
Specify the forms to be used when custom forms are enabled- Parameters:
 forms-ListcontainingStringforms- Throws:
 WebObjectsException
 
- 
getControlAttributeForms
WebAttributeForms getControlAttributeForms()
Return the custom forms available for this control- Returns:
 ListcontainingStringforms
 
- 
getSorts
WebSorts getSorts()
Return collection of sorts applied to elements of this selector 
- 
getDDICTargetCount
int getDDICTargetCount()
Returns number of DDIC targets- Returns:
 - number of DDIC targets
 
 
- 
getDDICTarget
RWTransactionSelector getDDICTarget(int i)
Returns i-th DDIC target- Parameters:
 i- index- Returns:
 - i-th DDIC target
 
 
- 
getAlias
java.lang.String getAlias()
Get selector Alias. Note that this is for the case that alias of attribute in dataset can be "renamed" with alias. If it happens, the control name which was set to previous alias won't be able to be found anymore. The newly introduced alias property is to serve the purpose- Returns:
 - alias
 
 
 - 
 
 -