Class PromptHierarchicalCartTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractPromptObjectTransform
-
- com.microstrategy.web.app.transforms.AbstractPromptExpressionTransform
-
- com.microstrategy.web.app.transforms.PromptCartTransform
-
- com.microstrategy.web.app.transforms.PromptExpressionCartTransform
-
- com.microstrategy.web.app.transforms.PromptHierarchicalCartTransform
-
- All Implemented Interfaces:
EnumPromptsBeanEvents
,Transform
- Direct Known Subclasses:
PromptHierarchicalTreeTransform
public class PromptHierarchicalCartTransform extends PromptExpressionCartTransform
Deprecated.UsePromptHierarchicalCartXHTMLTransform
insteadRenders a hierarhical prompt in "shopping cart" style. This transforms makes use ofTag
instances to render HTML output. See reference toTagsFactory
.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
_1ptransImage
Deprecated.Image name for a transparent graphic.protected java.util.Enumeration
_answers
Deprecated.protected WebDisplayUnit
_attribute
Deprecated.protected WebDisplayUnits
_attributeList
Deprecated.protected CartExpression
_cartHelper
Deprecated.protected java.util.Enumeration
_drillList
Deprecated.protected WebDisplayUnits
_elementList
Deprecated.protected java.util.Vector
_hierarchicalSubFolders
Deprecated.Specifies a collection of CartElementFolders to be used for rendering folders pull-down menu.protected WebDisplayUnit
_hierarchy
Deprecated.protected WebDisplayUnits
_hierarchyList
Deprecated.protected WebObjectInfo
_origin
Deprecated.protected java.lang.String
_rootFolderId
Deprecated.Class variable that specifies the root folder ID.protected int
_selectedPane
Deprecated.protected java.lang.String
_selectedPaneImage
Deprecated.protected boolean
_showHierarchicalSubFolders
Deprecated.Class variable that specifies a flag indicating whether or not to show hierarchical sub folders in pull-down menu.protected java.lang.String
_step1Image
Deprecated.protected java.lang.String
_step2disabledImage
Deprecated.protected java.lang.String
_step2Image
Deprecated.protected java.lang.String
_unselectedPaneImage
Deprecated.protected static int
ARGUMENT_PANE_QUALIFY
Deprecated.protected static int
ARGUMENT_PANE_SELECT
Deprecated.protected static int
ARGUMENT_PANE_STATUS
Deprecated.protected static int
ARGUMENT_ROOT_FOLDER_BROWSE_ID
Deprecated.FormalParameter
isQualifyAvailable
Deprecated.Determine if qualification pane is available.FormalParameter
isSearchRequired
Deprecated.UsePromptCartTransform.searchAvailable
instead.protected static java.lang.String
NONE_VALUE
Deprecated.protected static int
PANE_QUALIFY
Deprecated.protected static int
PANE_SELECT
Deprecated.FormalParameter
selectedPaneImage
Deprecated.Image of the selected pane of the attribute qualification.FormalParameter
showAttributeSelection
Deprecated.Specifies whether or not to show or hide the Attribute Selection dropdown for hierarchical prompts.FormalParameter
step1Image
Deprecated.Image to indicate the first step for hierarchical prompts.FormalParameter
step2disabledImage
Deprecated.Image to indicate the second step for hierarchical prompts (when disabled).FormalParameter
step2Image
Deprecated.Image to indicate the second step for hierarchical prompts.FormalParameter
unselectedPaneImage
Deprecated.Image of the unselected pane of the attribute qualification.-
Fields inherited from class com.microstrategy.web.app.transforms.PromptExpressionCartTransform
_dottedArrowImg, _dottedArrowImgName, logicalOperatorAvailableUserDefined, logicalOperatorDefault, logicalOperatorSelectionMethod
-
Fields inherited from class com.microstrategy.web.app.transforms.PromptCartTransform
_addImage, _endImage, _findImage, _firstImage, _nextImage, _previousImage, _removeImage, addImage, availableSize, endImage, findImage, firstImage, matchCase, nextImage, previousImage, removeImage, searchAvailable, selectedSize
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractPromptExpressionTransform
attrFormTypeInAvailableList, defaultOperatorId, editMetricQualificationOutputLevel, inputFromTextFile
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractPromptObjectTransform
_blockCount, _calendar, _cssPrefix, _dataTypeForCalendar, _globalCss, _imagesFolder, cssPrefix, imgBackToTop, imgCalendar, imgError, isDhtmlMode, levelFlag, showRequired
-
Fields inherited from interface com.microstrategy.web.beans.EnumPromptsBeanEvents
ANSWER_SEPARATOR, EXPRESSION_SEPARATOR, ITEM_SEPARATOR, ITEM_SPECIAL_SEPARATOR, PROMPTS_EVENT_ADD_UNITS, PROMPTS_EVENT_ANSWER_ALL_PROMPTS, PROMPTS_EVENT_ANSWER_ANY_PROMPTS, PROMPTS_EVENT_ANSWER_CONSTANT_PROMPT, PROMPTS_EVENT_ANSWER_DIMTY_PROMPT, PROMPTS_EVENT_ANSWER_ELEMENTS_PROMPT, PROMPTS_EVENT_ANSWER_EXPRESSION_PROMPT, PROMPTS_EVENT_ANSWER_OBJECTS_PROMPT, PROMPTS_EVENT_ANSWER_PROMPTS_IN_ADVANCE, PROMPTS_EVENT_ARGUMENT_ACTION_ADD_UNITS, PROMPTS_EVENT_ARGUMENT_ACTION_ANSWER_PROMPT, PROMPTS_EVENT_ARGUMENT_ACTION_BROWSE_CHILD_FOLDER, PROMPTS_EVENT_ARGUMENT_ACTION_BROWSE_ELEMENT, PROMPTS_EVENT_ARGUMENT_ACTION_BROWSE_PARENT_FOLDER, PROMPTS_EVENT_ARGUMENT_ACTION_CANCEL_PROMPT, PROMPTS_EVENT_ARGUMENT_ACTION_CLEAR_EXISTING_AND_ADD_UNITS, PROMPTS_EVENT_ARGUMENT_ACTION_DRILL_WITHIN_HIERARCHY, PROMPTS_EVENT_ARGUMENT_ACTION_HIGHLIGHT_DIMENSION, PROMPTS_EVENT_ARGUMENT_ACTION_HIGHLIGHT_DIMENSION_ATTRIBUTE, PROMPTS_EVENT_ARGUMENT_ACTION_INCREMENTAL_FETCH, PROMPTS_EVENT_ARGUMENT_ACTION_REMOVE_UNITS, PROMPTS_EVENT_ARGUMENT_ACTION_SEARCH_BY_NAME, PROMPTS_EVENT_ARGUMENT_ACTION_SHOW_SUMMARY, PROMPTS_EVENT_ARGUMENT_ANSWER, PROMPTS_EVENT_ARGUMENT_ANSWER_FORMAT, PROMPTS_EVENT_ARGUMENT_ANSWER_MODE_OPTION, PROMPTS_EVENT_ARGUMENT_ANSWER_OPTIONS, PROMPTS_EVENT_ARGUMENT_ATTRIBUTE_ID, PROMPTS_EVENT_ARGUMENT_ATTRIBUTE_ID_AND_FORM_ID, PROMPTS_EVENT_ARGUMENT_BLOCK_BEGIN, PROMPTS_EVENT_ARGUMENT_BLOCK_COUNT, PROMPTS_EVENT_ARGUMENT_BROWSE_PATH, PROMPTS_EVENT_ARGUMENT_CALENDAR_BUTTON, PROMPTS_EVENT_ARGUMENT_CHILD_FOLDER_ID, PROMPTS_EVENT_ARGUMENT_DIMENSION_ID, PROMPTS_EVENT_ARGUMENT_DO_NOT_AUTO_REPROMPT, PROMPTS_EVENT_ARGUMENT_DRILL_TO_ATTRIBUTE_ID, PROMPTS_EVENT_ARGUMENT_EXEC_FLAGS, PROMPTS_EVENT_ARGUMENT_FILTER_STRING, PROMPTS_EVENT_ARGUMENT_FUNCTION, PROMPTS_EVENT_ARGUMENT_HIDDEN_ATTRIBUTE_ID, PROMPTS_EVENT_ARGUMENT_HIDDEN_DIMENSION_ID, PROMPTS_EVENT_ARGUMENT_INCREMENTAL_FETCH_GOTO_PAGE, PROMPTS_EVENT_ARGUMENT_LINK_ANSWERS, PROMPTS_EVENT_ARGUMENT_MATCH_CASE, PROMPTS_EVENT_ARGUMENT_MESSAGE_ALIAS, PROMPTS_EVENT_ARGUMENT_METRIC_ID, PROMPTS_EVENT_ARGUMENT_NAVIGATION, PROMPTS_EVENT_ARGUMENT_OBJECT_TYPE, PROMPTS_EVENT_ARGUMENT_ORIGIN_MESSAGE_ID, PROMPTS_EVENT_ARGUMENT_ORIGIN_SHORT_ANSWER_XML, PROMPTS_EVENT_ARGUMENT_PARENT_FOLDER_ID, PROMPTS_EVENT_ARGUMENT_PLAIN_ELEMENT_PROMPT_ANSWER, PROMPTS_EVENT_ARGUMENT_PLAIN_OBJECT_PROMPT_ANSWER, PROMPTS_EVENT_ARGUMENT_PLAIN_VALUE_PROMPT_ANSWER, PROMPTS_EVENT_ARGUMENT_PROMPT_POSITION, PROMPTS_EVENT_ARGUMENT_REOPEN_PROMPT, PROMPTS_EVENT_ARGUMENT_SAP_VARIABLE_EXCLUDE, PROMPTS_EVENT_ARGUMENT_SEARCH_NAME, PROMPTS_EVENT_ARGUMENT_SEARCH_ROOT, PROMPTS_EVENT_ARGUMENT_SRC_ANSWERS, PROMPTS_EVENT_ARGUMENT_SUB_ROOT_OPERATOR, PROMPTS_EVENT_ARGUMENT_SUBMIT_ANSWER, PROMPTS_EVENT_ARGUMENT_UNITS_TO_ADD, PROMPTS_EVENT_ARGUMENT_UNITS_TO_REMOVE, PROMPTS_EVENT_ARGUMENT_USE_SET_ANSWERS, PROMPTS_EVENT_ARGUMENT_USER_SEPARATOR, PROMPTS_EVENT_BROWSE_DIMENSION_ATTRIBUTE_ELEMENTS, PROMPTS_EVENT_BROWSE_ELEMENTS, PROMPTS_EVENT_BROWSE_HIERARCHICAL_CHILD_FOLDER, PROMPTS_EVENT_BROWSE_HIERARCHICAL_PARENT_FOLDER, PROMPTS_EVENT_CANCEL_ALL_PROMPTS, PROMPTS_EVENT_CANCEL_ANY_PROMPTS, PROMPTS_EVENT_CLEAR_EXISTING_AND_ADD_UNITS, PROMPTS_EVENT_CLEAR_HIERARCHICAL_SEARCH_EXPRESSION, PROMPTS_EVENT_DRILL_WITHIN_HIERARCHY, PROMPTS_EVENT_HIGHLIGHT_DIMENSION, PROMPTS_EVENT_HIGHLIGHT_DIMENSION_ATTRIBUTE, PROMPTS_EVENT_INCREMENTAL_FETCH, PROMPTS_EVENT_NAVIGATE_PROMPTS_BEAN, PROMPTS_EVENT_PROCESS_ALL_PROMPTS, PROMPTS_EVENT_PROCESS_ANY_PROMPTS, PROMPTS_EVENT_REMOVE_UNITS, PROMPTS_EVENT_SEARCH_BY_NAME, PROMPTS_EVENT_SHOW_ALL_PROMPTS_SUMMARY, PROMPTS_EVENT_SHOW_ANY_PROMPTS_SUMMARY, SIMPLE_SEPARATOR_CARET, SIMPLE_SEPARATOR_COMMA, SIMPLE_SEPARATOR_SEMICOLON, UNIT_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description PromptHierarchicalCartTransform()
Deprecated.Default no-args constructor, initialize all the formal parameters as Parent class has defined.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
areThereAvailableSelections()
Deprecated.This function checks size of available selections.boolean
canHierarchyPaneBeShown()
Deprecated.Indicates whether or not Hierarchy pane can be displayed.protected void
cleanHierarchyList()
Deprecated.Filters out hierarchy list.protected java.lang.String
getArgumentName(int argumentId)
Deprecated.Returns an argument name for the given id.WebDisplayUnits
getAttributeElementList()
Deprecated.Returns list of all elements defined in selected Attribute.protected java.lang.String
getAttributeFormattedValue(WebDisplayUnit attribute)
Deprecated.Returns formatted string to be passed as request parameter.WebDisplayUnits
getAvailableDisplayUnits()
Deprecated.Returns an enumeraiton with the availalbe items.protected java.util.Enumeration
getAvailableItems()
Deprecated.Returns an enumeration with the availalbe items.CartExpression
getCartHelper()
Deprecated.Returns instance of cart helper object.WebDimensionAttribute
getDimensionAttribute(WebDisplayUnit unit)
Deprecated.ReturnsWebDimensionAttribute
intance from given unit.java.util.Enumeration
getDrillList()
Deprecated.Returns drill list.protected java.lang.String
getErrorMessage(WebBeanError promptError)
Deprecated.Returns localized error message.WebDisplayUnit
getFirstHighlightedItem(WebDisplayUnits units)
Deprecated.Returns the first highlighted item found in collection.WebDisplayUnit
getFirstNonHighlightedEntryPoint(WebDisplayUnits units)
Deprecated.Returns the first non-highlighted entry point found in collection.WebDisplayUnit
getFirstNonHighlightedItem(WebDisplayUnits units)
Deprecated.Returns the first non-highlighted item found in collection.WebDisplayUnits
getHierarchyAttributeList()
Deprecated.Returns instance of active hierarchy list of attributes.protected java.lang.String
getLabelForFolderFirstOption()
Deprecated.Indicates localized label to be displayed as first option in Subfolder's pull-down menu.WebDisplayUnit
getSelectedAttribute()
Deprecated.Returns instance of active hierarchy list of attributes.protected boolean
hasAccessGranted(WebDisplayUnit dispUnit)
Deprecated.Determines whether or not end-user has access to given item.void
initializeCart()
Deprecated.Initializes all Cart properties to default values.void
initializeDrillList()
Deprecated.Initializes the elements in the drill list.protected void
initializeElementsForRequiredSearch()
Deprecated.It initializes elements list if a required search was performed on given attribute.void
initializeImages()
Deprecated.Extends initializeImages by initialize the images for this transform.void
initializePromptContent()
Deprecated.Initializes prompt content to be displayed.protected boolean
isDimensionAttributeFiltered(WebDimensionAttribute dimAttr)
Deprecated.Checks whether given dimension attribute has a filter in its definition.boolean
isLocked(WebDisplayUnit unit)
Deprecated.Determines whether given unit is locked up or not.boolean
isLockedForSearch(WebDisplayUnit unit)
Deprecated.Determines whether or not given unit is locked up.protected boolean
isNodeComplex(WebNode node)
Deprecated.Indicates if a single subexpression is Complex.void
parserHierarchicalSubFolderCollection(WebDisplayUnits subFolders, int level)
Deprecated.Parses hierarchy list and creates all sub folder browsing in pull-down menu.protected void
processAvailableItems()
Deprecated.Initializes the avaialble units display list.protected void
processHierarchicalSubFolders()
Deprecated.Parses hierarchy sub folder list and initialize collection for its rendering.protected void
processIncrementalFetch()
Deprecated.Initializes incremental fetching settings.void
renderAdd(MarkupOutput out)
Deprecated.renderAdd, displays add arrow button.void
renderAttributeQualification(MarkupOutput out)
Deprecated.Renders attribute HTML components for an attribute qualification.void
renderAttributesPane(MarkupOutput out)
Deprecated.Renders attribute HTML list pane.void
renderAttributesPaneContent(boolean enabled, MarkupOutput out)
Deprecated.This method cannot be used in a layout-xml.void
renderAttributesPaneContent(MarkupOutput out, boolean enabled)
Deprecated.Renders attribute pane content.void
renderAttributesPaneTile(boolean enabled, MarkupOutput out)
Deprecated.This method cannot be used in a layout-xml.void
renderAttributesPaneTile(MarkupOutput out, boolean enabled)
Deprecated.Renders attribute pane title.void
renderAvailable(MarkupOutput out)
Deprecated.Will display available list.void
renderCart(MarkupOutput out)
Deprecated.Rendes the cart of hierarchical prompts.void
renderElementList(MarkupOutput out)
Deprecated.Renders a list of attribute elements.void
renderEmptyAttributeList(MarkupOutput out)
Deprecated.Renders HTML empty list of attributes.void
renderFoldersPane(MarkupOutput out)
Deprecated.Renders folder's pull-down area in current prompt question.void
renderFoldersPaneContent(MarkupOutput out)
Deprecated.Renders Hierarchies Pane Content.void
renderFoldersPaneTile(MarkupOutput out)
Deprecated.Renders Hierarchies Pane Title.void
renderHierarchiesPane(MarkupOutput out)
Deprecated.Renders hierarchies HTML pane.void
renderHierarchiesPaneContent(MarkupOutput out)
Deprecated.Renders Hierarchies Pane Content.void
renderHierarchiesPaneTile(MarkupOutput out)
Deprecated.Renders Hierarchies Pane Title.void
renderMatch(MarkupOutput out)
Deprecated.renderAdd, displays add arrow button.void
renderPromptHiddenInputs(MarkupOutput out)
Deprecated.Renders the hidden inputs of this prompt.void
renderPromptSummary(MarkupOutput out)
Deprecated.Renders prompt's default answer defininiton.void
renderRemove(MarkupOutput out)
Deprecated.renderRemove, displays remove arrow button.void
renderSelected(MarkupOutput out)
Deprecated.renderSelected, will display selected list.-
Methods inherited from class com.microstrategy.web.app.transforms.PromptExpressionCartTransform
canTransform, checkLogicalOperatorMethod, getAnswer, getCart, getCartExpression, getDescription, getSelectedItems, isAnswerComplex, processSelectedItems, renderInputTextFile, renderPromptContent
-
Methods inherited from class com.microstrategy.web.app.transforms.PromptCartTransform
getSearchPattern, initializeFormalParameters, isIncrementalFetchAvailable, isSearchActive, isSearchPossible, setExtraArguments, updateIncrementalFetchCartProperties
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractPromptExpressionTransform
getDimtyAsString, getDimtyAttributesAsString, getOutputLevel, isBrowserIE6, isCart, isMQLevelEditingSupported, isNodeDimtyEmpty, renderHiddenInputsForMQEditor, renderOutputLevelLabel, setMetricQualOutputLevelAndDimty
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractPromptObjectTransform
addFormalParameter, arePromptsLoadedFirstTime, checkLevel, getAnswerEvent, getAttrElemBlockCount, getCalendar, getContainerServices, getDescriptor, getDescriptor, getDescriptor, getDisplayHelper, getIntValue, getLocale, getMatchCaseSensitivity, getMultipleEvent, getMultipleEventArgumentString, getObjectsBlockCount, getPrompt, getPromptsAppContext, getPromptsBean, getPromptsList, getRequestKeys, getShowRequired, getStringValue, getSupportedBeanType, getTagsFactory, hasAnswer, initializeCss, initializePromptObject, isBackToTopAnchorEnabled, isDhtmlMode, isDimensionalPrompt, isForDefinition, isIFrameRequest, isItemKeptInCartAvailable, isPromptObjectInitialized, isPromptRequired, isPromptSummaryEnabled, isTrue, isXDA_CustomSQL_Report, isXDA_MDX_Report, isXDAReport, newHiddenInputBuilder, newNamespaceEncoder, onBeforeApplyDefaultDisplaySettings, renderLayout, renderMinMaxHiddenValues, renderPromptAnswerMeaning, renderPromptBackToTopAnchor, renderPromptDefaultAnswer, renderPromptErrorMessage, renderPromptIFrameRequest, renderPromptMeaning, renderPromptNoSelectionsAvailable, renderPromptNotAnswered, renderPromptQuestion, renderPromptRestrictions, renderPromptSummaryAnswer, renderPromptSummaryTitle, renderPromptTitle, setArgumentValue, setAttrElemBlockCount, setEnableBackToTopAnchor, setIsItemKeptInCartAvailable, setLevelFlag, setLocale, setMatchCaseSensitivity, setObjectsBlockCount, setPromptSummary, setShowRequired, transform
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutContext, getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, getEvents, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports
-
-
-
-
Field Detail
-
_origin
protected WebObjectInfo _origin
Deprecated.
-
_hierarchy
protected WebDisplayUnit _hierarchy
Deprecated.
-
_attribute
protected WebDisplayUnit _attribute
Deprecated.
-
_hierarchyList
protected WebDisplayUnits _hierarchyList
Deprecated.
-
_attributeList
protected WebDisplayUnits _attributeList
Deprecated.
-
_elementList
protected WebDisplayUnits _elementList
Deprecated.
-
_drillList
protected java.util.Enumeration _drillList
Deprecated.
-
_answers
protected java.util.Enumeration _answers
Deprecated.
-
PANE_SELECT
protected static final int PANE_SELECT
Deprecated.- See Also:
- Constant Field Values
-
PANE_QUALIFY
protected static final int PANE_QUALIFY
Deprecated.- See Also:
- Constant Field Values
-
_selectedPane
protected int _selectedPane
Deprecated.
-
ARGUMENT_PANE_STATUS
protected static final int ARGUMENT_PANE_STATUS
Deprecated.- See Also:
- Constant Field Values
-
ARGUMENT_PANE_SELECT
protected static final int ARGUMENT_PANE_SELECT
Deprecated.- See Also:
- Constant Field Values
-
ARGUMENT_PANE_QUALIFY
protected static final int ARGUMENT_PANE_QUALIFY
Deprecated.- See Also:
- Constant Field Values
-
ARGUMENT_ROOT_FOLDER_BROWSE_ID
protected static final int ARGUMENT_ROOT_FOLDER_BROWSE_ID
Deprecated.- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
NONE_VALUE
protected static final java.lang.String NONE_VALUE
Deprecated.- See Also:
- Constant Field Values
-
_showHierarchicalSubFolders
protected boolean _showHierarchicalSubFolders
Deprecated.Class variable that specifies a flag indicating whether or not to show hierarchical sub folders in pull-down menu.- Since:
- MicroStrategy Web 7.5.1
-
_hierarchicalSubFolders
protected java.util.Vector _hierarchicalSubFolders
Deprecated.Specifies a collection of CartElementFolders to be used for rendering folders pull-down menu.- Since:
- MicroStrategy Web 7.5.1
-
_rootFolderId
protected java.lang.String _rootFolderId
Deprecated.Class variable that specifies the root folder ID.- Since:
- MicroStrategy Web 7.5.1
-
_cartHelper
protected CartExpression _cartHelper
Deprecated.
-
step1Image
public FormalParameter step1Image
Deprecated.Image to indicate the first step for hierarchical prompts.
-
_step1Image
protected java.lang.String _step1Image
Deprecated.
-
step2Image
public FormalParameter step2Image
Deprecated.Image to indicate the second step for hierarchical prompts.
-
_step2Image
protected java.lang.String _step2Image
Deprecated.
-
step2disabledImage
public FormalParameter step2disabledImage
Deprecated.Image to indicate the second step for hierarchical prompts (when disabled).
-
_step2disabledImage
protected java.lang.String _step2disabledImage
Deprecated.
-
selectedPaneImage
public FormalParameter selectedPaneImage
Deprecated.Image of the selected pane of the attribute qualification.
-
_selectedPaneImage
protected java.lang.String _selectedPaneImage
Deprecated.
-
unselectedPaneImage
public FormalParameter unselectedPaneImage
Deprecated.Image of the unselected pane of the attribute qualification.
-
_unselectedPaneImage
protected java.lang.String _unselectedPaneImage
Deprecated.
-
isQualifyAvailable
public FormalParameter isQualifyAvailable
Deprecated.Determine if qualification pane is available.
-
isSearchRequired
public FormalParameter isSearchRequired
Deprecated.UsePromptCartTransform.searchAvailable
instead.Specifies whether a search is required to display the elements of the selected attribute.
Hierarchical prompts specify in their definition whether a search is permitted on given attribute's element. Displaying a search section is controlled by this flag.
This flag is used as a boolean value.
-
showAttributeSelection
public FormalParameter showAttributeSelection
Deprecated.Specifies whether or not to show or hide the Attribute Selection dropdown for hierarchical prompts.
This flag is used as a boolean value.- Since:
- MicroStrategy Web 7.5.0
-
_1ptransImage
protected java.lang.String _1ptransImage
Deprecated.Image name for a transparent graphic.
-
-
Method Detail
-
processHierarchicalSubFolders
protected void processHierarchicalSubFolders() throws WebObjectsException
Deprecated.Parses hierarchy sub folder list and initialize collection for its rendering.
It parses hierarchy list and constructs a collection of sub folders to be displayed.- Throws:
WebObjectsException
- as result of highlighting unsuccessfully an WebObjectInfo.- Since:
- MicroStrategy Web 7.5.1
-
getLabelForFolderFirstOption
protected java.lang.String getLabelForFolderFirstOption()
Deprecated.Indicates localized label to be displayed as first option in Subfolder's pull-down menu.- Returns:
- String localized label.
- Since:
- MicroStrategy Web 7.5.4
-
parserHierarchicalSubFolderCollection
public void parserHierarchicalSubFolderCollection(WebDisplayUnits subFolders, int level) throws WebObjectsException
Deprecated.Parses hierarchy list and creates all sub folder browsing in pull-down menu.- Parameters:
subFolders
- WebDisplayUnits collection of subolfoder objects.level
- int indentation level.- Throws:
WebObjectsException
- thrown when an error happens while parsing folder objects.- Since:
- MicroStrategy Web 7.5.1
-
processAvailableItems
protected void processAvailableItems() throws WebObjectsException
Deprecated.Initializes the avaialble units display list.- Overrides:
processAvailableItems
in classPromptExpressionCartTransform
- Throws:
WebObjectsException
- thrown when an error occurs when highlighting objects.
-
initializeElementsForRequiredSearch
protected void initializeElementsForRequiredSearch() throws WebObjectsException
Deprecated.It initializes elements list if a required search was performed on given attribute.- Throws:
WebObjectsException
- Since:
- MicroStrategy Web 7.5.4
-
isDimensionAttributeFiltered
protected boolean isDimensionAttributeFiltered(WebDimensionAttribute dimAttr)
Deprecated.Checks whether given dimension attribute has a filter in its definition.- Parameters:
dimAttr
- WebDimensionAttribute item being checked.- Returns:
- boolean true if dimension attribute has a filter.
- Since:
- MicroStrategy Web 7.5.4
-
cleanHierarchyList
protected void cleanHierarchyList()
Deprecated.Filters out hierarchy list.
Removes instances in collection that aren't WebDimension instances.- Since:
- MicroStrategy Web 7.5.1
-
hasAccessGranted
protected boolean hasAccessGranted(WebDisplayUnit dispUnit)
Deprecated.Determines whether or not end-user has access to given item.- Parameters:
dispUnit
- WebDisplayUnit to be checked.- Returns:
- WebDisplayUnits fitlered out list of attributes.
- Since:
- MicroStrategy Web 7.5.1
-
isNodeComplex
protected boolean isNodeComplex(WebNode node)
Deprecated.Indicates if a single subexpression is Complex.
An expression is complex if it cannot be created using the Web interface.
This method overridesisNodeComplex(WebNode)
by supporting ListQual expression (Element List expressions). It also checks if the styles supports Attribute qualification, if it doesn't all other type of expressions are also considered complex, if it does, then it callssuper.isNodeComplex()
to check if the expression is normally supported by attribute qualification- Overrides:
isNodeComplex
in classAbstractPromptExpressionTransform
- Parameters:
node
- the root node of the subexpression to check- Returns:
- True if the Node is complex, that is, it cannot be created using this transform.
-
isLocked
public boolean isLocked(WebDisplayUnit unit)
Deprecated.Determines whether given unit is locked up or not.- Overrides:
isLocked
in classAbstractPromptObjectTransform
- Parameters:
unit
-WebDisplayUnit
item to be checked.- Returns:
- true if attribute is locked.
-
isLockedForSearch
public boolean isLockedForSearch(WebDisplayUnit unit)
Deprecated.Determines whether or not given unit is locked up.
If unit is an instance ofWebDimensionAttribute
, then this function verifies whether or not is lockedEnumDSSXMLAttributeLockType.DssXmlLockCustom
.- Overrides:
isLockedForSearch
in classAbstractPromptObjectTransform
- Parameters:
unit
-WebDisplayUnit
instance possbly locked.- Returns:
- true if attribute is locked
- Since:
- MicroStrategy Web 7.5.0
-
getErrorMessage
protected java.lang.String getErrorMessage(WebBeanError promptError)
Deprecated.Returns localized error message.
Error message is associated to promptError code.- Overrides:
getErrorMessage
in classPromptCartTransform
- Parameters:
promptError
- instance ofWebBeanError
, most likely an validation error thrown in process prompt phase.- Returns:
- error message as String. Error is localized to active language
-
getDimensionAttribute
public WebDimensionAttribute getDimensionAttribute(WebDisplayUnit unit)
Deprecated.ReturnsWebDimensionAttribute
intance from given unit.
It checks whether or not givenWebDisplayUnit
parameter (unit) is an instance ofWebAttribute
orWebDimensionAttribute
in order to return instance ofWebDimensionAttribute
.
This function encapsulates logic for avoinding code replication.- Overrides:
getDimensionAttribute
in classAbstractPromptObjectTransform
- Parameters:
unit
-WebDisplayUnit
being parsed.- Returns:
WebDimensionAttribute
if any.
-
renderPromptHiddenInputs
public void renderPromptHiddenInputs(MarkupOutput out)
Deprecated.Renders the hidden inputs of this prompt. The inputs are retrieved from the answer event.- Overrides:
renderPromptHiddenInputs
in classAbstractPromptExpressionTransform
- Parameters:
out
- the transform output
-
renderPromptSummary
public void renderPromptSummary(MarkupOutput out)
Deprecated.Renders prompt's default answer defininiton.
It displays default answer without any promtp question form.- Overrides:
renderPromptSummary
in classAbstractPromptObjectTransform
- Parameters:
out
- the transform output- Since:
- MicroStrategy Web 7.5.1
-
initializePromptContent
public void initializePromptContent() throws WebObjectsException
Deprecated.Initializes prompt content to be displayed.
Extends the initializePromptContent() by reading from the request the current attribute qualification type.- Overrides:
initializePromptContent
in classPromptCartTransform
- Throws:
WebObjectsException
- if something goes wrong during initialization process.
-
processIncrementalFetch
protected void processIncrementalFetch() throws WebObjectsException
Deprecated.Initializes incremental fetching settings.
Overrides super.processIncrementalFetch() by not setting incremental fetch settings. Hierarchical prompts gets the available items in a different schema.- Overrides:
processIncrementalFetch
in classPromptExpressionCartTransform
- Throws:
WebObjectsException
- if something goes wrong figuring out these values.
-
initializeDrillList
public void initializeDrillList() throws WebObjectsException
Deprecated.Initializes the elements in the drill list.
It determines also whether or not 'Down' and 'Up'- Throws:
WebObjectsException
-
getAvailableItems
protected java.util.Enumeration getAvailableItems()
Deprecated.Returns an enumeration with the availalbe items.- Overrides:
getAvailableItems
in classPromptCartTransform
- Returns:
- available list enumeration.
-
getAvailableDisplayUnits
public WebDisplayUnits getAvailableDisplayUnits()
Deprecated.Returns an enumeraiton with the availalbe items.- Overrides:
getAvailableDisplayUnits
in classAbstractPromptObjectTransform
- Returns:
WebDisplayUnits
-
initializeCart
public void initializeCart()
Deprecated.Initializes all Cart properties to default values.- Overrides:
initializeCart
in classPromptExpressionCartTransform
-
areThereAvailableSelections
public boolean areThereAvailableSelections()
Deprecated.This function checks size of available selections. Returns false when selections are less or equal to zero.- Overrides:
areThereAvailableSelections
in classPromptCartTransform
- Returns:
- boolean true if available selection is greater than 0
-
getFirstHighlightedItem
public WebDisplayUnit getFirstHighlightedItem(WebDisplayUnits units)
Deprecated.Returns the first highlighted item found in collection.- Parameters:
units
- WebDisplayUnits collection to be parsed.- Returns:
- WebDisplayUnit highlighted item.
-
getFirstNonHighlightedEntryPoint
public WebDisplayUnit getFirstNonHighlightedEntryPoint(WebDisplayUnits units)
Deprecated.Returns the first non-highlighted entry point found in collection.- Parameters:
units
- WebDisplayUnits collection being parsed.- Returns:
- WebDisplayUnit first non-highlighted item in collection.
- Since:
- MicroStrategy Web 7.5.0
-
getFirstNonHighlightedItem
public WebDisplayUnit getFirstNonHighlightedItem(WebDisplayUnits units)
Deprecated.Returns the first non-highlighted item found in collection.- Parameters:
units
- WebDisplayUnits collection to be parsed.- Returns:
- WebDisplayUnit first non-highlighted item.
-
getCartHelper
public CartExpression getCartHelper()
Deprecated.Returns instance of cart helper object.- Returns:
- CartExpression instance
- Since:
- MicroStrategy Web 7.5.0
-
getHierarchyAttributeList
public WebDisplayUnits getHierarchyAttributeList()
Deprecated.Returns instance of active hierarchy list of attributes.- Returns:
- WebDisplayUnits instance
- Since:
- MicroStrategy Web 7.5.0
-
getSelectedAttribute
public WebDisplayUnit getSelectedAttribute()
Deprecated.Returns instance of active hierarchy list of attributes.- Returns:
- WebDisplayUnit instance
- Since:
- MicroStrategy Web 7.5.0
-
getAttributeElementList
public WebDisplayUnits getAttributeElementList()
Deprecated.Returns list of all elements defined in selected Attribute.- Returns:
- WebDisplayUnits instance
- Since:
- MicroStrategy Web 7.5.0
-
getDrillList
public java.util.Enumeration getDrillList()
Deprecated.Returns drill list.- Returns:
- Enumeration instance
- Since:
- MicroStrategy Web 7.5.0
-
renderCart
public void renderCart(MarkupOutput out)
Deprecated.Rendes the cart of hierarchical prompts. It calls renderAvailable, renderSelected and renderAdd/renderRemove methods.- Overrides:
renderCart
in classPromptExpressionCartTransform
- Parameters:
out
- where to write the output of the method.
-
renderAvailable
public void renderAvailable(MarkupOutput out)
Deprecated.Will display available list.- Parameters:
out
- where to write the output of the method.
-
renderHierarchiesPane
public void renderHierarchiesPane(MarkupOutput out)
Deprecated.Renders hierarchies HTML pane.- Parameters:
out
- where to write the output of the method.
-
renderFoldersPane
public void renderFoldersPane(MarkupOutput out)
Deprecated.Renders folder's pull-down area in current prompt question.- Parameters:
out
- MarkupOutput where to write folder area.- Since:
- MicroStrategy Web 7.5.4
-
renderAttributesPane
public void renderAttributesPane(MarkupOutput out)
Deprecated.Renders attribute HTML list pane.- Parameters:
out
- where to write the output of the method.
-
renderAttributesPaneTile
public void renderAttributesPaneTile(boolean enabled, MarkupOutput out)
Deprecated.This method cannot be used in a layout-xml. Instead, userenderAttributesPaneTile(MarkupOutput out, boolean enabled)
.Renders attribute pane title.- Parameters:
enabled
- indicates whether to show 'qualify' and 'select' pane.out
- where to write the output of the method.
-
renderAttributesPaneTile
public void renderAttributesPaneTile(MarkupOutput out, boolean enabled)
Deprecated.Renders attribute pane title.- Parameters:
enabled
- indicates whether to show 'qualify' and 'select' pane.out
- where to write the output of the method.- Since:
- MicroStrategy Web 8.0.1
-
renderAttributesPaneContent
public void renderAttributesPaneContent(boolean enabled, MarkupOutput out)
Deprecated.This method cannot be used in a layout-xml. Instead, userenderAttributesPaneContent(MarkupOutput out, boolean enabled)
Renders attribute pane content.- Parameters:
enabled
- indicates whether to show 'qualify' and 'select' pane.out
- where to write the output of the method.
-
renderAttributesPaneContent
public void renderAttributesPaneContent(MarkupOutput out, boolean enabled)
Deprecated.Renders attribute pane content.- Parameters:
enabled
- indicates whether to show 'qualify' and 'select' pane.out
- where to write the output of the method.- Since:
- MicroStrategy Web 8.0.1
-
renderEmptyAttributeList
public void renderEmptyAttributeList(MarkupOutput out)
Deprecated.Renders HTML empty list of attributes.- Parameters:
out
- where to write the output of the method.
-
renderAttributeQualification
public void renderAttributeQualification(MarkupOutput out)
Deprecated.Renders attribute HTML components for an attribute qualification.- Parameters:
out
- where to write the output of the method.
-
renderElementList
public void renderElementList(MarkupOutput out)
Deprecated.Renders a list of attribute elements.- Parameters:
out
- where to write the output of the method.
-
renderFoldersPaneTile
public void renderFoldersPaneTile(MarkupOutput out)
Deprecated.Renders Hierarchies Pane Title.- Parameters:
out
- where to write the output of the method.- Since:
- MicroStrategy Web 7.5.1
-
renderHierarchiesPaneTile
public void renderHierarchiesPaneTile(MarkupOutput out)
Deprecated.Renders Hierarchies Pane Title.- Parameters:
out
- where to write the output of the method.- Since:
- MicroStrategy Web 8.0.0
-
renderFoldersPaneContent
public void renderFoldersPaneContent(MarkupOutput out)
Deprecated.Renders Hierarchies Pane Content.- Parameters:
out
- where to write the output of the method.- Since:
- MicroStrategy Web 7.5.1
-
canHierarchyPaneBeShown
public boolean canHierarchyPaneBeShown()
Deprecated.Indicates whether or not Hierarchy pane can be displayed.
Hierarchical Cart prompt always has to display this pane when necessary.- Returns:
- boolean true if it is to be displayed.
- Since:
- MicroStrategy Web 7.5.4
-
renderHierarchiesPaneContent
public void renderHierarchiesPaneContent(MarkupOutput out)
Deprecated.Renders Hierarchies Pane Content.- Parameters:
out
- where to write the output of the method.- Since:
- MicroStrategy Web 8.0.0
-
renderSelected
public void renderSelected(MarkupOutput out)
Deprecated.renderSelected, will display selected list.- Parameters:
out
- where to write the output of the method.
-
renderAdd
public void renderAdd(MarkupOutput out)
Deprecated.renderAdd, displays add arrow button.- Parameters:
out
- where to write the output of the method.
-
renderRemove
public void renderRemove(MarkupOutput out)
Deprecated.renderRemove, displays remove arrow button.- Parameters:
out
- where to write the output of the method.
-
renderMatch
public void renderMatch(MarkupOutput out)
Deprecated.renderAdd, displays add arrow button.- Parameters:
out
- where to write the output of the method.
-
initializeImages
public void initializeImages()
Deprecated.Extends initializeImages by initialize the images for this transform.- Overrides:
initializeImages
in classPromptExpressionCartTransform
-
getArgumentName
protected java.lang.String getArgumentName(int argumentId)
Deprecated.Returns an argument name for the given id. Since the argument name depends on the PromptPosition, this method automatically returns the argument corresponding to the current Prompt- Overrides:
getArgumentName
in classAbstractPromptObjectTransform
- Parameters:
argumentId
- the id- Returns:
- the argument name for the given id
-
getAttributeFormattedValue
protected java.lang.String getAttributeFormattedValue(WebDisplayUnit attribute)
Deprecated.Returns formatted string to be passed as request parameter.
It parses attribute parameter in order to create a formatted text of its name.- Parameters:
attribute
- to be parsed.- Returns:
- String formatted text.
- Since:
- MicroStrategy Web 7.5.0
-
-