void
|
addAttDetails(WebAttribute attr)
|
void
|
addAttrsToTag(Map attrs, Tag tag)
|
void
|
addClickOnAttrSelectorButton(InputTag inputTag, WebEvent toggleSingleExprEvent, boolean isMultiFormQual)
|
void
|
addClickOnMetricSelectorButton(InputTag inputTag, WebEvent toggleMode, boolean isMetricExprQual)
|
void
|
addEventHiddenInputs(ArrayList eventList)
|
void
|
addOption(SelectTag tag, int value, String desc, int selectedValue)
|
List
|
buildFlattenedList(int contextId, StringWrapper path)
|
int
|
calculateBlockBegin()
|
boolean
|
canEditOperator(WebNode leftNode, WebNode rightNode)
|
boolean
|
canEditSubexpression(WebNode node)
Returns whether the subexpression at the current node is editable or not.
|
boolean
|
canFilterOnUnit(WebObjectInfo oi)
This method determines if the current object is allowed to be filtered upon.
|
boolean
|
canMoveDown(WebNode node)
|
boolean
|
canMoveUp(WebNode node)
|
boolean
|
canSelectElements(WebAttribute webAttribute)
This method determines whether the attribute requires a lookup table to support elements qualification.
|
boolean
|
canShowMetricTextOperators()
|
boolean
|
canToggleAQFormElements(WebAttribute webAttribute)
This method determines whether the user is allowed to toggle between attribute form and elements qualfication.
|
AnchorTag
|
generateAnchor(WebEvent event)
Overwrites the parent method by setting requested attributes
|
void
|
generateDeleteSubExpressionClickJS(String key, WebEvent deleteEvent, StringBuffer onClickJS)
This method will render the JavaScript necessary to delete a sub expression.
|
final
String
|
generateMultiEventArgumentString(WebEvent event, String[] args, boolean restoreState)
Generates the multiple event argument string for the given event, with the given arguments.
|
final
String
|
generateMultiEventArgumentString(WebEvent[] eventList, String[][] argsLists, boolean restoreState)
Generates the multiple event argument string for the given event list, with the given argument lists.
|
Tag
|
generateOptionTag(String desc, String value, boolean selected)
|
final
void
|
generateUpdateManagerEventJSString(StringBuffer buf, String beanPath, WebEvent event, String[] args, boolean restoreState)
Generates the javascript for the onclick tag that is necessary to invoke the given event
via the update manager.
|
WebEvent
|
getAddConditionEvent()
Returns the add condition event, which signals the intent to open the add wizard.
|
WebEvent
|
getAddElementsEvent()
Returns the event to be used for the add elements operation.
|
WebEvent
|
getAddEmbeddedPromptEvent()
|
WebEvent
|
getApplyEvent()
Returns the event to be used for the apply button - this will handle synchronization of the ExpressionBean with
the object it was retrieved from.
|
Map
|
getAttributesForAcceptButton()
This method will return any HTML attributes that should be added to the accept button
for a subexpression being edited.
|
Map
|
getAttributesForPromptButton()
|
boolean
|
getAutoApply()
Returns whether the auto-apply functionality is enabled.
|
WebFolder
|
getAvailableObjectsFolder()
Returns the list of "available" objects to be used for the add wizard or for
an attribute-to-attribute or metric-to-metric qualificiation.
|
String
|
getBeanName()
Returns the main bean's name.
|
String
|
getBeanPath()
Returns the main bean's path.
|
int
|
getBeanStateLevel()
Returns the state level that the bean needs to be saved in for the transform to
work properly.
|
String
|
getBeginJavaScriptCall()
Returns the client-side code necessary for executing js in links.
|
String
|
getBoneId()
Returns the id to be used for the JavaScript bone.
|
WebEvent
|
getCancelAllEvent()
Returns the cancel all event, which will cancel all un-applied changes.
|
WebEvent
|
getCancelEvent()
Returns the event to be used for the cancel button - this will undo the currently edited subexpression's changes.
|
WebEvent
|
getClearAllEvent()
Returns the clear all event, which signals that the user wishes to clear the whole subexpression.
|
WebEvent
|
getCloseEvent()
Returns the event to be used for the close button.
|
String
|
getConstantValue(WebNode parent, int ix, String defaultValue)
|
Map
|
getContentTableAttributes()
This method returns the attributes which are to be put on the table surrounding the main content of the filter.
|
String
|
getContentTableClass()
Returns the CSS class recommended for the table containing the expression.
|
WebEvent
|
getCreateSubexpressionEvent()
Returns the create subexpression event, which signals that the user is creating a new subexpression.
|
String
|
getCssName(WebObjectInfo object)
|
WebEvent
|
getDeleteEvent()
Returns the delete subexpression event.
|
String
|
getDescription()
Returns a textual description of the transform.
|
String
|
getDisplayName(WebObjectInfo object)
|
WebEvent
|
getEditEmbeddedPromptEvent()
|
WebEvent
|
getEditEvent()
Returns the edit event, which signals the intent to edit an existing subexpression.
|
String
|
getEditExpressionJS()
|
Editor
|
getEditor()
Returns an Editor object, which is used to render help/close buttons.
|
WebEvent
|
getElemsSearchEvent()
Returns the event to be used for the element search action.
|
String
|
getEmptyFilterMessage()
Returns the message that should be used if the filter is empty.
|
ExpressionBean
|
getEventTargetExpressionBean()
Returns the expression bean for getting events.
|
String
|
getExpBeanPath()
This function is designed for ThresholdExpressionTransform.
|
ExpressionBean
|
getExpressionBean()
Returns the expression bean.
|
int
|
getFilterType()
|
WebEvent
|
getFirstPageEvent()
Returns the event to be used for going to the first page of element browsing.
|
List
|
getFlattenedContexFolderList(int contextId)
|
String
|
getFlattenedContextFolderPath(int contextId)
|
String
|
getFormName()
|
WebAttributeForms
|
getForms(WebAttribute att, int formsCollectionType)
|
WebEvent
|
getHelpEvent()
Returns the event to be used for the help button.
|
String
|
getImageFolder()
Returns the folder that images are expected to be stored in.
|
WebEvent
|
getLastPageEvent()
Returns the event to be used for going to the last page of element browsing.
|
WebEvent
|
getMQAcceptEvent(boolean isMetricExprQual)
|
Map
|
getMainDivAttributes()
Returns the list of attributes to add to the main DIV that makes up the filter editor GUI.
|
String
|
getMetricName(WebShortcutNode shortcutNode)
|
WebShortcutNode
|
getMetricShortuctNode(WebNode node)
|
WebEvent
|
getNextPageEvent()
Returns the event to be used for going to the next page of element browsing.
|
String
|
getObjectAlias(WebObjectInfo ob)
Attempts to find the best object alias to use for the given object.
|
String
|
getOnClickJavaScript()
Returns any javascript to be excuted when the user clicks the element it's assigned to.
|
String
|
getOperatorName(int operatorType)
Checks for given WebOperator node function ID and
returns corresponding localized function text.
|
int
|
getPreferenceIntegerReplaceNull(String prefName, int nullReplace)
|
WebEvent
|
getPrevPageEvent()
Returns the event to be used for going to the previous page of element browsing.
|
String
|
getPromptButtonSourcePath()
|
WebEvent
|
getRemoveElementsEvent()
Returns the event to be used for the remove elements operation.
|
WebEvent
|
getRemovePromptEvent()
|
WebEvent
|
getRestoreStateEvent()
Returns the restore state event based upon the subexpression being edited.
|
String
|
getSeparator()
|
String
|
getSpecailBeginJavaScriptCall()
Returns the client-side code necessary for executing js in links.
|
Class
|
getSupportedBeanType()
Returns the supported bean type for this transform.
|
WebEvent
|
getToggleAQFormElemsEvent()
Returns the event to toggle between form and elements qualifications.
|
WebEvent
|
getToggleOperatorEvent()
Returns the event to toggle the logical operator of an expression (AND/OR/NOT, etc).
|
WebEvent
|
getToggleQualExprEvent()
Returns the event to toggle between single and multiple-part qualificiation - for example, single metric and multi metric, or single form and multi form.
|
String
|
getTooltipReportObjects()
This function return list of all metrics in workingset for
tooltip in metric expression when view mode in on.
|
String
|
getValidateJavaScript()
|
WebWorkingSet
|
getWorkingSet()
Returns the working set object, if the filter is a report filter.
|
boolean
|
includeOwnerInfo()
|
boolean
|
includeTimeInfo()
|
void
|
initExpressionBeanTransform(ExpressionBean expBean)
This method captures the reference to the expression bean and does some other
initialization-related routines.
|
void
|
initializeCartSettings(Cart cart, WebEvent acceptEvent, int elemsBlockBegin, int elemsBlockCount, int totalElements, WebAttribute attr)
This method will initialize the shopping cart object used to render
an attribute element list qualification.
|
void
|
initializeCartSettings(Cart cart, String selectedAnswerListName, int elemsBlockBegin, int elemsBlockCount, int totalElements, WebAttribute attr)
|
void
|
initializeCss()
This method initializes the CSS names used by the transform.
|
void
|
initializeTransform(Transformable data)
This method overrides the superclass' initializeTransform method - this is
called to pick up the reference to the Transformable object passed to the
transform and to do initialization of the transform.
|
boolean
|
isAddWizardRequested()
Returns whether the bean is requesting the display of the add wizard.
|
boolean
|
isApplyCancelEnabled()
Returns whether the apply/cancel buttons should be shown.
|
boolean
|
isAutoSynchronizeEnabled()
This method returns whether the GUI should synchronize the expression on the
expression bean with its source upon every operation.
|
boolean
|
isEditable()
Returns whether the user is allowed to edit this expression.
|
boolean
|
isFilterEditorFrameEmpty()
This method evaluates whether the filter editor frame is empty.
|
boolean
|
isFilterEmpty(WebExpression expr)
Returns whether the given filter expression is empty.
|
boolean
|
isItemKeptInCartAvailable()
Indicates preference value for whether or not to keep item in cart's available list.
|
boolean
|
isMetricDimtyTooltipEnabled()
Returns whether the metric dimensionality should be rendered as a tooltip in
the expression.
|
boolean
|
isNotDhtml()
Used by layout to check for absence of DHTML mode.
|
boolean
|
isObjectInTemplate(WebShortcutNode shortcutNode)
|
boolean
|
isShowObjectTags()
|
boolean
|
isStackedSubexpEnabled()
|
boolean
|
isSubexpressionInError(WebNode node)
Returns whether the subexpression at the current node is in error or not.
|
boolean
|
isUpdateManagerEnabled()
This method can be overridden by child classes to signal whether or not to send
all multiple event requests through the update manager.
|
boolean
|
isViewFilter()
Returns whether this expression refers to a report's view filter.
|
boolean
|
isViewReport()
|
Cart
|
newCart()
|
TransformContext
|
newContext()
Creates a new instance of a TransformContext.
|
ExpressionFilterTransform
|
newFet()
|
void
|
renderAQEditMode(MarkupOutput out, WebNode node, int level)
This method will render an attribute qualification which is being edited by the user.
|
void
|
renderAQListCart(WebNode node, Tag tableTag, WebEvent acceptEvent)
|
void
|
renderAQListEditMode(MarkupOutput out, WebNode node, int level)
This method renders an attribute qualficiation subexpression which is being edited in list mode - i.e.
|
void
|
renderAQListFirstRow(WebOperatorNode node, Tag tableTag, WebEvent acceptEvent)
|
void
|
renderAQOperatorOption(MarkupOutput mo, int function, int descriptorId, int currentFunction)
|
void
|
renderAQOperatorOptions(MarkupOutput mo, int currentFunction, boolean unitComparison)
|
void
|
renderAQQualifyAttrForms(MarkupOutput out, WebNode operatorNode, WebFormShortcutNode formShortcutNode, WebEvent acceptEvent, boolean isConstPrompted)
|
void
|
renderAQQualifyAttrForms(MarkupOutput out, WebNode operatorNode, WebFormShortcutNode formShortcutNode, WebEvent acceptEvent)
This method will render the list of attribute forms to qualify upon for an attribute
form qualfication that is being edited.
|
void
|
renderAQQualifyConstantTextbox(MarkupOutput out, int function, String value, WebEvent acceptEvent)
This method will render the constant textbox for an attribute form to constant value qualification.
|
void
|
renderAQQualifyConstantTextbox(MarkupOutput out, int function, String value, WebEvent acceptEvent, boolean isDisabledByConstPrompt)
|
void
|
renderAQQualifyEditMode(MarkupOutput out, WebNode node, int level, boolean isMultiFormQual)
This method will render an attribute form qualfication subexpression that is
currently being edited.
|
void
|
renderAQQualifyFunctions(MarkupOutput out, int function, boolean isMultiFormQual, WebEvent acceptEvent, boolean isConstPrompted)
|
void
|
renderAQQualifyFunctions(MarkupOutput out, int function, boolean isMultiFormQual, WebEvent acceptEvent)
This method will render a list of functions that can be used to render an
attribute form qualficiation subexpression in edit mode.
|
void
|
renderAQQualifyUnit(MarkupOutput out, WebNode node, WebEvent accpetEvent)
|
void
|
renderAQQualifyUnitComparison(MarkupOutput out, String selectedAttributeID, String selectedFormID, WebEvent acceptEvent)
This method will render the right-side pulldown of attribute forms for an
attribute form to attribute form qualification.
|
void
|
renderAcceptButton(MarkupOutput out, WebEvent acceptEvent, String[] eventArgList, boolean isDefault)
|
void
|
renderAddWizard(MarkupOutput out)
This method will render an HTML pull-down menu presenting a list of objects
to qualify upon if the expression bean's edit mode is ExpressionEditModeSelectUnit.
|
void
|
renderAddWizardButtons(MarkupOutput out)
This method renders the buttons for the add wizard.
|
void
|
renderAddWizardDropdown(MarkupOutput out)
This method renders the object dropdown for the add wizard.
|
void
|
renderAddWizardTransition(MarkupOutput out)
This method renders the transition between the rest of the filter and
the add wizard (usually the word and).
|
void
|
renderApplyCancelButtons(MarkupOutput out)
Function that displays apply and cancel buttons for the whole expression, when they
are needed.
|
void
|
renderCancelButton(MarkupOutput out)
Renders the Cancel button for the wait page.
|
void
|
renderCloseButton(MarkupOutput out)
This method will render the close button for the editor.
|
void
|
renderConstantPromptArea(MarkupOutput out, WebPrompt constPrompt, int ndKey)
This method will render an existing constant prompt in a subexpression that is being edited.
|
void
|
renderContent(MarkupOutput out)
This method renders the content of the filter editor.
|
void
|
renderDescendantOptions(WebOperatorNode node, Tag tableTag, WebEvent acceptEvent)
|
void
|
renderDottedLine(MarkupOutput out)
Renders a dotted lined to be used as separator between edit forms and
filter expression tree
|
void
|
renderDownButton(MarkupOutput mainOut, WebNode node)
|
void
|
renderEditorTitle(MarkupOutput out)
This method will simply render the title of the editor.
|
void
|
renderEmptyFilterMessage(MarkupOutput out)
This method will check whether the filter that this transform is attempting
to render is empty, and if it is, render a message saying that the filter is empty.
|
void
|
renderErrorMessage(MarkupOutput out, String imageTitle, String errorMessage)
|
void
|
renderEventHiddenInputs(MarkupOutput out)
This method will render all of the hidden inputs for the events that will be used within
the expression transform.
|
void
|
renderExpression(MarkupOutput out)
|
void
|
renderFilterNode(MarkupOutput out, WebExpression expr, WebNode node, int level, boolean isReportLimit)
This is the method which renders a single node within the filter.
|
void
|
renderFilterTree(MarkupOutput out)
This method will render the actual filter expression tree in the GUI.
|
void
|
renderGenericValidationErrorMessage(MarkupOutput out)
If the expression bean has a validation error waiting on it, this method will
render a generic error message.
|
void
|
renderHeader(MarkupOutput out)
This method will render the header portion of the document, which includes the empty
filter message, add condition button, close all button, and auto-apply button.
|
void
|
renderHeaderAddCondition(MarkupOutput out)
This method will render the add condition link, normally in the header of the
editor.
|
void
|
renderHeaderAutoApply(MarkupOutput out)
This method will render the "auto apply enabled" button in the filter editor GUI.
|
void
|
renderHeaderClearAll(MarkupOutput out)
This method will render the "clear all" button in the filter editor.
|
void
|
renderHelpButton(MarkupOutput out)
This method will render the help button for the editor.
|
void
|
renderJavascript(MarkupOutput out)
This method renders all javascript that will be necessary for the ExpressionGenericTransform to work correctly.
|
void
|
renderMQConstantTextbox(MarkupOutput out, WebEvent acceptEvent, String constValue, int function)
This method renders the constant textbox for a metric qualification subexpression.
|
void
|
renderMQEditMode(MarkupOutput out, WebNode node, int level)
This function will render the subexpression for a metric qualfiication which
is being edited by the user.
|
void
|
renderMQFunctions(MarkupOutput out, WebEvent acceptEvent, int function, int functionType, boolean isMetricExprQual, boolean isConstPrompted)
|
void
|
renderMQOperatorOption(MarkupOutput mo, int function, int functionType, int descriptorId, int currentFunction, int currentFunctionType)
|
void
|
renderMQOperatorOption(MarkupOutput mo, int function, int descriptorId, int currentFunction)
|
void
|
renderMQOperatorOptions(MarkupOutput mo, int currentFunction, int currentFunctionType, boolean bUnitComparison)
|
void
|
renderMQUnitComparison(MarkupOutput out, String metricID, WebEvent acceptEvent)
This method will render the unit comparison list for a metric-to-metric qualfication
that is currently being edited..
|
void
|
renderMeNodeEditMode(MarkupOutput out, WebNode node, int level)
This function will render the subexpression for a me node expression which
is being edited by the user.
|
void
|
renderMeNodeQualFunctions(MarkupOutput out, WebEvent acceptEvent, int function, int functionType)
|
void
|
renderMeNodeQualOperatorOptions(MarkupOutput mo, int currentFunction, int currentFunctionType)
|
void
|
renderOperator(MarkupOutput out, WebOperatorNode opNode, WebNode leftNode, WebNode rightNode, boolean isReportLimit, MarkupOutput mainOut, boolean useEditMode)
|
void
|
renderOperator(MarkupOutput out, WebOperatorNode opNode, WebNode leftNode, WebNode rightNode, int level, boolean isReportLimit)
This method renders the given operator node.
|
void
|
renderOperatorEditMode(MarkupOutput out, WebOperatorNode opNode, WebNode leftNode, WebNode rightNode)
This method renders an operator in edit mode.
|
void
|
renderOperatorViewMode(MarkupOutput out, WebOperatorNode opNode, WebNode leftNode, WebNode rightNode, boolean isReportLimit)
This method will render an operator node in view mode.
|
void
|
renderPromptButton(MarkupOutput out, int promptType, String inputID, boolean isDisabled, boolean isHidden)
|
void
|
renderPromptButton(MarkupOutput out, int promptType, String inputID, boolean isDisabled)
|
void
|
renderRemoveSubexpressionButton(MarkupOutput out, WebNode node, boolean isEditableFilterExpr)
|
void
|
renderSeparator(MarkupOutput out)
Renders the separator that is used to indent subexpressions.
|
void
|
renderSpecificValidationErrorMessage(MarkupOutput out)
If the expression bean has a validation error waiting on it, this method will
render the specific error message for that error.
|
void
|
renderSubExpression(MarkupOutput out, WebExpression expr, WebNode node, int level, boolean isReportLimit)
This method renders a subexpression of the expression.
|
void
|
renderSubExpressionEditMode(MarkupOutput out, WebNode node, int level)
This function renders a subexpression which is currently being edited by the user.
|
void
|
renderSubExpressionViewMode(MarkupOutput out, WebExpression expr, WebNode node, int level, boolean isReportLimit)
This is the generic method that renders a non-branch subexpression in view mode.
|
void
|
renderSubexpressionBodyViewMode(WebExpression expr, WebNode node, int level, boolean isReportLimit, boolean isEditableFilterExpr, MarkupOutput mainOut)
@deprecated
|
void
|
renderSubexpressionBodyViewMode(MarkupOutput mainOut, WebExpression expr, WebNode node, int level, boolean isReportLimit, boolean isEditableFilterExpr)
|
void
|
renderTitle(MarkupOutput out)
This method renders the title portion of the GUI.
|
void
|
renderUpAndDownButtons(MarkupOutput mainOut, WebNode node, boolean isEditableFilterExpr)
|
void
|
renderUpAndDownButtons(WebNode node, boolean isEditableFilterExpr, MarkupOutput mainOut)
This method is deprecated.
Replaced by renderUpAndDownButtons(MarkupOutput mainOut, ....)
|
void
|
renderUpButton(MarkupOutput mainOut, WebNode node)
|
void
|
renderUpButton(WebNode node, MarkupOutput mainOut)
This method is deprecated.
Replaced by renderUpButtom(MarkupOutput,....)
|
void
|
renderXDAMetricSelectorButton(MarkupOutput out)
|
void
|
setBoneProperties(JsonGenerator boneProps)
Sets the necessary properties to the bone assigned to this transform (based on the scriptClass formal parameter)
Usually called by renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.
|
void
|
setFormName(String name)
|
boolean
|
shallRenderAcceptCancell()
|
boolean
|
shallRenderForm(WebAttributeForm form)
|
boolean
|
shouldShowObject(WebDisplayUnit unit)
Indicate if the unit should be shown.
|
boolean
|
showCloseButton()
Returns whether to show a close button.
|
boolean
|
supportsPromptEditor()
|
void
|
transformForRequestSuccessful(MarkupOutput out)
|
boolean
|
useWorkingSetForFormLookup()
|