Class ViewFilterElementPanelTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.ViewFilterElementPanelTransform
-
- All Implemented Interfaces:
AppTransform
,LayoutTransform
,Transform
- Direct Known Subclasses:
ViewFilterEditorRWTransform
public class ViewFilterElementPanelTransform extends AbstractAppTransform implements LayoutTransform
This transform displays the View Filter Panel on the Report page. It displays the View Filter along with the View Limits- Since:
- MicroStrategy Web 9.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected FormalParameterImpl
_clearFilterImageTxtParam
protected java.lang.String
_cssAddConditionNonEditable
protected FormalParameterImpl
_defaultAttrQualModeParam
protected ViewFilterElementPanelBean
_filterElement
protected FormalParameterImpl
_helpTopicNameParam
Deprecated.protected FormalParameterImpl
_showAddConditionButton
protected FormalParameterImpl
_titleParam
FormalParameter
helpTopic
Indicates the help topic for the help page of the editor.FormalParameter
helpType
Indicates the type of help topic this editor uses.-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width
-
-
Constructor Summary
Constructors Constructor Description ViewFilterElementPanelTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.String
generateMultiEventArgumentString(WebEvent[] eventList, java.lang.String[][] argsLists, boolean restoreState)
Generates the multiple event argument string for the given event list, with the given argument lists.protected java.lang.String
generateMultiEventArgumentString(WebEvent event, java.lang.String[] args, boolean restoreState)
Generates the multiple event argument string for the given event, with the given arguments.protected void
generateUpdateManagerEventJSString(java.lang.StringBuffer buf, java.lang.String beanPath, WebEvent event, java.lang.String[] args, boolean restoreState)
Generates the javascript for the onclick tag that is necessary to invoke the given event via the update manager, A String representing the javascript function call(s) necessary to invoke the given event.WebEvent
getAddConditionEvent()
Returns the add condition event, which signals the intent to open the add wizard.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.boolean
getAutoApply()
Whether the current filter's autoapply setting is true or false.protected int
getBeanStateLevel()
Returns the state level that the bean needs to be saved in for the transform to work properly.protected java.lang.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
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.java.lang.String
getDescription()
Returns a textual description of the transform.protected Editor
getEditor()
Returns an Editor object, which is used to render help/close buttons.protected java.lang.String
getEmptyFilterMessage()
Returns the message that should be used if the filter is empty.java.util.Map
getFormAttributes()
Generate the extra attributes the main report form requires for its proper definition.WebEvent
getHelpEvent()
Deprecated.protected java.lang.String
getImageFolder()
Returns the folder that images are expected to be stored in.java.util.Map
getMainDivAttributes()
Returns the list of attributes to add to the main that makes up the filter editor GUI.WebEvent
getRestoreStateEvent()
Returns the restore state event based upon the subexpression being edited.protected java.lang.String
getScriptClass()
Returns the name of the javaScript class (if any) to be associated with the component.protected java.lang.String
getStringFromDescriptorFP(FormalParameter fp)
java.lang.Class
getSupportedBeanType()
Returns the supported bean type.void
initializeCss()
This method initializes the CSS names used by the transform.void
initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform, such as width and height.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.protected boolean
isDesignMode()
Overrides the superclass' isDesignMode method.boolean
isEditable()
boolean
isEditableOrEmpty()
This method returns if the editor is either editable or if it is empty.protected boolean
isFilterEditorFrameEmpty()
This method evaluates whether the filter editor frame is empty.protected boolean
isOpen()
Defines whether this Transform is currently visible to the end user.void
renderApplyCancelButtons(MarkupOutput out)
Function that displays apply and cancel buttons for the whole expression, when they are needed.void
renderCloseButton(MarkupOutput out)
This method will render the close button for the editor.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
renderEventHiddenInputs(MarkupOutput out)
This method will render all of the hidden inputs for the events that will be used within the expression transform.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 checkbox on the filter editorvoid
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.protected void
renderJavascript(MarkupOutput out)
This method renders all javascript that will be necessary for the Transform to work correctly.void
renderViewFilter(MarkupOutput out)
Renders the View Filter expressions by transforming the View Filter Element Bean child nodes.protected void
setBoneProperties(JsonGenerator boneProps)
Sets the necessary properties to the bone assigned to this transform (based on theAbstractAppTransform.scriptClass
formal parameter)
Usually called byAbstractAppTransform.renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.void
transformForRequestInError(MarkupOutput out)
Generates the output when the bean's status isEnumRequestStatus.WebBeanRequestEndsInError
.void
transformForRequestSuccessful(MarkupOutput out)
Generates the output when the bean's status isEnumRequestStatus.WebBeanRequestSuccessful
.-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchor, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBeanPath, getCancelEvent, getClientSideHelper, getContainerServices, getContext, getContextMenu, getContextMenuManager, getContextMenuManagerName, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorMessage, getErrorTitle, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getID, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeImages, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderImage, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestNotInited, transformForRequestProcessing, transformForRequestWaitingForUserInput
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.transform.LayoutTransform
getLayoutDefinition, setLayoutDefinition
-
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, supports, supports, transform
-
-
-
-
Field Detail
-
_titleParam
protected FormalParameterImpl _titleParam
-
_helpTopicNameParam
protected FormalParameterImpl _helpTopicNameParam
Deprecated.
-
_clearFilterImageTxtParam
protected FormalParameterImpl _clearFilterImageTxtParam
-
_showAddConditionButton
protected FormalParameterImpl _showAddConditionButton
-
_defaultAttrQualModeParam
protected FormalParameterImpl _defaultAttrQualModeParam
-
helpType
public FormalParameter helpType
Indicates the type of help topic this editor uses.
-
helpTopic
public FormalParameter helpTopic
Indicates the help topic for the help page of the editor.
-
_filterElement
protected ViewFilterElementPanelBean _filterElement
-
_cssAddConditionNonEditable
protected java.lang.String _cssAddConditionNonEditable
-
-
Method Detail
-
initializeCss
public void initializeCss()
This method initializes the CSS names used by the transform. It overrides the initializeCss method onAbstractAppTransform
.- Overrides:
initializeCss
in classAbstractAppTransform
-
initializeTransform
public void initializeTransform(Transformable data)
Description copied from class:AbstractAppTransform
This method initialize the private and protected fields of the transform, such as width and height. It also invokes the
This method is automatically called from theinitializeWebComponent
,initializeImages
andinitializeCss
methods.transform
method. Transforms which would like to invoke other methods in this instance directly (for example, to invoke some render methods), need first to call this method to guarantee that the Transform is ready to generate output.- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classAbstractAppTransform
- Parameters:
data
- the bean to transform.
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Description copied from class:AbstractAppTransform
Returns the supported bean type. This abstract Transform supports allWebComponents
so every sub-class should override this method to return the class of theBean
the Transform is expecting, for example:public class CustomReportClass extends AbstractAppTransform { public Class getSupportedBeanType() { //This Transform is expected to work only with a ReportBean, //therefore this method needs to return this class: return ReportBean.class; } }
- Specified by:
getSupportedBeanType
in interfaceTransform
- Overrides:
getSupportedBeanType
in classAbstractAppTransform
- Returns:
- a root class/interface supported by this transform.
-
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Description copied from class:AbstractAppTransform
Generates the output when the bean's status isEnumRequestStatus.WebBeanRequestSuccessful
. This is the main entry point to generate the output for those Transforms that just want to render the "regular" bean case.
This is an abstract method. All classes need to implement it.- Specified by:
transformForRequestSuccessful
in classAbstractAppTransform
- Parameters:
out
- output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
transformForRequestInError
public void transformForRequestInError(MarkupOutput out)
Description copied from class:AbstractAppTransform
Generates the output when the bean's status isEnumRequestStatus.WebBeanRequestEndsInError
. This method just callsAbstractAppTransform.displayError(com.microstrategy.web.beans.MarkupOutput, java.lang.String, java.lang.String, java.lang.Exception)
with the title and message based on the error code from thebean
'sErrorInfo
, as provided by the thegetErrorTitle
andgetErrorMessage
methods accordingly.
Transforms that would like to generate customized output based on the error should extend this method.- Overrides:
transformForRequestInError
in classAbstractAppTransform
- Parameters:
out
- output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
renderEventHiddenInputs
public void renderEventHiddenInputs(MarkupOutput out)
This method will render all of the hidden inputs for the events that will be used within the expression transform.- Parameters:
out
- The MarkupOutput object to render the output to.
-
getFormAttributes
public java.util.Map getFormAttributes()
Generate the extra attributes the main report form requires for its proper definition. Such attributes include the form name, action, method and any extra information required for it to work properly on iframe environments if needed.- Returns:
- Map instance initialized with the extra attributes to include into the form's defintion
-
renderJavascript
protected void renderJavascript(MarkupOutput out)
This method renders all javascript that will be necessary for the Transform to work correctly.- Parameters:
out
- The MarkupOutput object to render the output to.
-
setBoneProperties
protected void setBoneProperties(JsonGenerator boneProps)
Description copied from class:AbstractAppTransform
Sets the necessary properties to the bone assigned to this transform (based on theAbstractAppTransform.scriptClass
formal parameter)
Usually called byAbstractAppTransform.renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.- Overrides:
setBoneProperties
in classAbstractAppTransform
- Parameters:
boneProps
- the JsonGenerator object that contains the collection of bone properties.
-
renderViewFilter
public void renderViewFilter(MarkupOutput out)
Renders the View Filter expressions by transforming the View Filter Element Bean child nodes.
By default, the child nodes are the View Filter Expression Bean and the View Limit Expression Bean.- Parameters:
out
- The MarkupOutput object to render the output to.
-
renderHelpButton
public void renderHelpButton(MarkupOutput out)
This method will render the help button for the editor. To find the event to associate with this button, it will call getHelpEvent. If that method returns null, then no help button will be rendered.- Parameters:
out
- The MarkupOutput object to render the output to.
-
renderCloseButton
public void renderCloseButton(MarkupOutput out)
This method will render the close button for the editor. To find the event to associate with this button, it will call getCloseEvent. If that method returns null, then no close button will be rendered.- Parameters:
out
- The MarkupOutput object to render the output to.
-
renderHeaderAddCondition
public void renderHeaderAddCondition(MarkupOutput out)
This method will render the add condition link, normally in the header of the editor.- Parameters:
out
- The MarkupOutput object to render the output to.
-
renderHeaderClearAll
public void renderHeaderClearAll(MarkupOutput out)
This method will render the "clear all" button in the filter editor.- Parameters:
out
- The MarkupOutput object to render the output to.
-
renderHeaderAutoApply
public void renderHeaderAutoApply(MarkupOutput out)
This method will render the auto-apply checkbox on the filter editor- Parameters:
out
- The MarkupOutput object to render the output to.
-
renderApplyCancelButtons
public void renderApplyCancelButtons(MarkupOutput out)
Function that displays apply and cancel buttons for the whole expression, when they are needed.- Parameters:
out
- The MarkupOutput object to render the output to.
-
renderEditorTitle
public void renderEditorTitle(MarkupOutput out)
This method will simply render the title of the editor.- Parameters:
out
- The MarkupOutput object to render the output to.
-
renderEmptyFilterMessage
public 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. If the filter is not empty, then nothing will be rendered.- Parameters:
out
- The MarkupOutput object to render the output to.
-
isOpen
protected boolean isOpen()
Description copied from class:AbstractAppTransform
Defines whether this Transform is currently visible to the end user.- Overrides:
isOpen
in classAbstractAppTransform
- Returns:
- true if the bean is visible
-
getHelpEvent
public WebEvent getHelpEvent()
Deprecated.Returns theWebEvent
which is associated with the help button.
-
getCloseEvent
public WebEvent getCloseEvent()
Returns the event to be used for the close button.- Returns:
- The close event.
-
getAddConditionEvent
public WebEvent getAddConditionEvent()
Returns the add condition event, which signals the intent to open the add wizard.- Returns:
- The add condition event.
-
getCancelAllEvent
public WebEvent getCancelAllEvent()
Returns the cancel all event, which will cancel all un-applied changes.- Returns:
- The cancel all event.
-
getEditor
protected Editor getEditor()
Returns an Editor object, which is used to render help/close buttons.- Returns:
- An editor object.
-
getClearAllEvent
public WebEvent getClearAllEvent()
Returns the clear all event, which signals that the user wishes to clear the whole subexpression.- Returns:
- The clear all event.
-
getApplyEvent
public 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.- Returns:
- The apply event.
-
getEmptyFilterMessage
protected java.lang.String getEmptyFilterMessage()
Returns the message that should be used if the filter is empty.
-
isEditableOrEmpty
public boolean isEditableOrEmpty()
This method returns if the editor is either editable or if it is empty. It is used to determine if we should render the title bar div.- Returns:
- Whether the editor is either editable or if it is empty.
-
getMainDivAttributes
public java.util.Map getMainDivAttributes()
Returns the list of attributes to add to the mainthat makes up the filter editor GUI. These attributes must primarily be included for the javascript concerning the filter editor to work properly.- Returns:
- A java.util.Map object whose keys are the attribute names, and the values are the attribute values. Both are String-typed.
-
getImageFolder
protected java.lang.String getImageFolder()
Returns the folder that images are expected to be stored in.- Returns:
- The image folder.
-
isFilterEditorFrameEmpty
protected boolean isFilterEditorFrameEmpty()
This method evaluates whether the filter editor frame is empty. This is true if both View Filter and View Limit Beans contain empty expressions.- Returns:
- Whether the filter editor frame is empty.
-
isEditable
public boolean isEditable()
- Returns:
- Whether the filter is editable
-
isDesignMode
protected boolean isDesignMode()
Overrides the superclass' isDesignMode method. This method checks with the ownerReportFrameBean
to determine whether the report is in design mode or not.
-
getAutoApply
public boolean getAutoApply()
Whether the current filter's autoapply setting is true or false.- Returns:
- The current auto apply setting.
-
isAutoSynchronizeEnabled
public boolean isAutoSynchronizeEnabled()
This method returns whether the GUI should synchronize the expression on the expression bean with its source upon every operation. If this is false, then the apply/cancel buttons will be active.- Returns:
- Whether auto-synchronize is enabled for this transform.
-
isApplyCancelEnabled
public boolean isApplyCancelEnabled()
Returns whether the apply/cancel buttons should be shown.- Returns:
- True if the apply/cancel buttons should be shown, false otherwise.
-
getBoneId
protected java.lang.String getBoneId()
Description copied from class:AbstractAppTransform
Returns the id to be used for the JavaScript bone.
This method is used by therenderRegisterBone
method to indicate the id of the bone html element.- Overrides:
getBoneId
in classAbstractAppTransform
- Returns:
- String
- See Also:
AbstractAppTransform.renderRegisterBone(com.microstrategy.web.beans.MarkupOutput)
-
getDescription
public java.lang.String getDescription()
Description copied from interface:Transform
Returns a textual description of the transform.- Specified by:
getDescription
in interfaceTransform
- Returns:
- The textual description of the transform.
-
getStringFromDescriptorFP
protected java.lang.String getStringFromDescriptorFP(FormalParameter fp)
-
generateUpdateManagerEventJSString
protected final void generateUpdateManagerEventJSString(java.lang.StringBuffer buf, java.lang.String beanPath, WebEvent event, java.lang.String[] args, boolean restoreState)
Generates the javascript for the onclick tag that is necessary to invoke the given event via the update manager, A String representing the javascript function call(s) necessary to invoke the given event.- Parameters:
beanPath
- The path of the bean the event is being run upon.event
- TheWebEvent
object representing the event to be run.args
- An argument list consisting of {event ID1, eventValue1, eventID2, eventValue2,...}. This can be null if there are no arugments.restoreState
- If this is true, then the best known restore state event will be added to the event.
-
getRestoreStateEvent
public WebEvent getRestoreStateEvent()
Returns the restore state event based upon the subexpression being edited.- Returns:
- The restore state event to use to restore state changes within the filter editor from the last rendering.
-
generateMultiEventArgumentString
protected final java.lang.String generateMultiEventArgumentString(WebEvent[] eventList, java.lang.String[][] argsLists, boolean restoreState)
Generates the multiple event argument string for the given event list, with the given argument lists. If restoreState is true, then the appropriate event to restore state will be appended to the beginning of the given events.- Parameters:
eventList
- The list of events.argsLists
- The list of argument lists, in the same order as the event list.restoreState
- Whether to include the restore state event.- Returns:
- The string representing the multiple event argument.
-
generateMultiEventArgumentString
protected final java.lang.String generateMultiEventArgumentString(WebEvent event, java.lang.String[] args, boolean restoreState)
Generates the multiple event argument string for the given event, with the given arguments. If restoreState is true, then the appropriate event to restore state will be appended to the beginning of the given event.- Parameters:
event
- The event.args
- The argument list - argument name/value pairs in a flat array (i.e. name1, value1, name2, value2,...).restoreState
- Whether to include the restore state event.- Returns:
- The string representing the multiple event argument.
-
getBeanStateLevel
protected int getBeanStateLevel()
Returns the state level that the bean needs to be saved in for the transform to work properly.- Returns:
- The bean state level required for the ExpressionBean.
-
getScriptClass
protected java.lang.String getScriptClass()
Description copied from class:AbstractAppTransform
Returns the name of the javaScript class (if any) to be associated with the component. When the scriptClass is specified, a bone is registered on the page for this component.
A bone is the corresponding concept of a bean in Microstrategy's javascript environment.
By default, thie methods returns an empty string. Transform which does have an associated bone needs to override this method.- Overrides:
getScriptClass
in classAbstractAppTransform
- Returns:
String
representing the name of a javaScript class
-
-