Package com.microstrategy.web.objects
Interface WebDimtyPrompt
- 
- All Superinterfaces:
- EnumWebPersistableState,- KeyedObject,- Persistable,- WebDisplayUnit,- WebFeatures,- WebObjectInfo,- WebPrompt,- WebPromptSite
 
 public interface WebDimtyPrompt extends WebPrompt This interface represents Dimensionality prompt, whose answer is of typeWebDimty. This object corresponds Level prompt in desktop.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Field Summary- 
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableStateBARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description WebDimtygetAnswer()Returns the current prompt answerWebDimtygetDefaultAnswer()Returns the default prompt answerWebDimtygetPreviousAnswer()Returns the previous prompt answerWebSearchgetSearchRestriction()Returns the search restriction for building available answers collection (seeWebDisplayHelper.getAvailableDisplayUnits()).WebFoldergetSuggestedAnswers()Returns a read-only folder containing suggested answer objects or null if no suggested answers are defined.WebFoldergetSuggestedAnswers(boolean createIfNull)WebDimtysetAnswer(WebDimty answer)Sets the current prompt answer.voidsetSearchRestriction(WebSearch search)Sets the search restriction for building available answers collection (seeWebDisplayHelper.getAvailableDisplayUnits()).- 
Methods inherited from interface com.microstrategy.utils.KeyedObject_getObKey
 - 
Methods inherited from interface com.microstrategy.utils.serialization.PersistablerestoreState, restoreState, saveState, saveState, saveState, saveState
 - 
Methods inherited from interface com.microstrategy.web.objects.WebDisplayUnitaddDetails, applyVisitor, canHighlight, getChildUnits, getDisplayName, getDisplayUnitType, hasDetails, highlightUnit, highlightUnit, isHighlighted, isObjectInfo, isSelected, setDisplayName, setSelected
 - 
Methods inherited from interface com.microstrategy.web.objects.WebFeaturesisFeatureAvailable, isFeatureAvailable
 - 
Methods inherited from interface com.microstrategy.web.objects.WebObjectInfobuildShortObjectAttributes, buildShortXML, getAbbreviation, getAccessGranted, getAncestors, getCardStatus, getCertifiedInfo, getComments, getContainerDid, getContainerType, getCreationTime, getCreationTimeStamp, getDataSources, getDescription, getExtendedType, getFactory, getFlags, getIconPath, getID, getModificationTime, getModificationTimeStamp, getName, getNonSchedulable, getOtherNameTransCount, getOwner, getParent, getPreSaveAsFlags, getProjectId, getProjectName, getPropertyFlags, getPropertySetFilter, getPropertySets, getRecommendationInfo, getSecurity, getState, getSubType, getType, getVersionID, getViewMediaSettings, getVisualizationViewMode, getXML, getXML, hasOwner, isAncestorNamedFolder, isDirty, isEmbedded, isHidden, isNew, isPopulated, populate, populate, setAbbreviation, setComments, setDataSources, setDescription, setExtendedType, setFlags, setHidden, setIconPath, setName, setNonSchedulable, setPreSaveAsFlags, setPropertyFlags
 - 
Methods inherited from interface com.microstrategy.web.objects.WebPromptanswerPrompt, buildShortAnswerXML, getAnswerXML, getAnswerXML, getAnswerXML, getBrowsableDataSourceFlags, getDisplayHelper, getDisplayHelper, getDisplayProperties, getDSSPromptType, getKey, getMax, getMeaning, getMerge, getMessageId, getMin, getPIN, getPrimaryLocation, getPromptType, getReuse, getShortAnswerXML, getShortAnswerXML, getShortPa, getShortPa, getTitle, getUserAnswers, getXDATypes, hasAnswer, hasDefaultAnswer, hasOriginalAnswer, hasPreviousAnswer, isAnswerEmpty, isCanceled, isClosed, isRequired, isUsed, populateAnswer, resetAnswer, resetToDefault, setCanceled, setClosed, setMax, setMeaning, setMin, setRequired, setReuse, setTitle, validate
 - 
Methods inherited from interface com.microstrategy.web.objects.WebPromptSitegetPromptInstances
 
- 
 
- 
- 
- 
Method Detail- 
getAnswerWebDimty getAnswer() Returns the current prompt answer- Returns:
- the current prompt answer
 
 - 
setAnswerWebDimty setAnswer(WebDimty answer) Sets the current prompt answer. Internally this method creates a new copy of theanswerobject and stores it as the current answer. (If theanswerobject is the same as the current answer no copy is created).- Parameters:
- answer- a prompt answer
- Returns:
- a current answer that is a newly created copy of the answerobject.
 
 - 
getDefaultAnswerWebDimty getDefaultAnswer() Returns the default prompt answer- Returns:
- the default prompt answer
 
 - 
getPreviousAnswerWebDimty getPreviousAnswer() Returns the previous prompt answer- Returns:
- the previous prompt answer
 
 - 
getSuggestedAnswersWebFolder getSuggestedAnswers() Returns a read-only folder containing suggested answer objects or null if no suggested answers are defined. This list will be used in building available answers collection (seeWebDisplayHelper.getAvailableDisplayUnits()).- Returns:
- a read-only folder containing suggested answer objects or null
 
 - 
getSuggestedAnswersWebFolder getSuggestedAnswers(boolean createIfNull) - Since:
- MicroStrategy Web 9.0.0
 
 - 
getSearchRestrictionWebSearch getSearchRestriction() Returns the search restriction for building available answers collection (seeWebDisplayHelper.getAvailableDisplayUnits()). If the predefined list of suggested answers is not empty (seegetSuggestedAnswers) and no search restriction is defined, then this method will return null. If neither suggested answers list nor search restriction is defined this method will return a default search restriction that will search for all objects of type dimension and attribute in the project.- Returns:
- the search restriction object or null.
 
 - 
setSearchRestrictionvoid setSearchRestriction(WebSearch search) Sets the search restriction for building available answers collection (seeWebDisplayHelper.getAvailableDisplayUnits()). The search restriction must return only objects of type dimension and attribute- Parameters:
- search- a search restriction.
 
 
- 
 
-