public class

RWManipulationBuilder

extends Object
implements EnumManipulationBuilderConstants EnumDSSXMLRWManipulationMethod
java.lang.Object
   ↳ com.microstrategy.web.objects.RWManipulationBuilder

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.web.objects.EnumManipulationBuilderConstants
From interface com.microstrategy.webapi.EnumDSSXMLRWManipulationMethod
Public Constructors
RWManipulationBuilder()
RWManipulationBuilder(RWInstance rwInstance)
Public Methods
void addAttrFormToDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factoryn)
void addControlHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addControlTargetDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addControlTargetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addDAToDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addDAToTemplateHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addDMHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Add Derived Metric to Dataset or Template through Derived Metric Editor
void addDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addDerivedMetricToDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addFieldHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addLayoutHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
static void addNumberFormaterToDelta(RWDelta delta, JsonObject action, String formatType)
void addPanelHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addPercentToTotalMetricHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addShortcutMetricHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addUndoSectionHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addUnitToDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void addVisToFilterHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Used to add a new target to an already created template level selector, optionally creates new cgb node if the target is configured to have separate cgb nodes, if not then an already created cgb key and the newCGB flag as false needs to be passed.
void applyAttributeLinkingHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
end of template level selector manipulation and methods
void applyDEChangesHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void applyReconciliationHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void associateNodesHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Used to associate two template nodes to keep their filters synchronized or brushing and highlighting.
void changeControlElementSourceHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void changeDocGroupByHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void changeEMMAMappingHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void changeFilteringHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void changeGridDisplayModeHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void clearControlTargetDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void clearControlTargetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void clearVisAsFilterHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Used to clear template level selector associations, optionally removes the CGB node(s)
void convertDatasetToManagedHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Convert a dataset to managed.
void copyUnitHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void deleteEMMATableHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void duplLayoutHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void duplicatePanelHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void editDMHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Edit Derived Metric on Dataset or Template through Derived Metric Editor
void editDocUnitPropHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void editFieldHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void editNodeHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void editSelectorPropsHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void formatDerivedMetricHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void formatHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
RWInstance getRwInstance()
void graphSelectorHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void gridDrillWithinHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Grid Drill handler.
void importDashboardHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void keepOnlyGMHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void keepOnlyHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void localAddValueTag(RWDelta delta, String tag, String value)
void macroCopyUnitHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void macroMoveUnitHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void modifyAttrForm(RWDelta delta, JsonObject action, int modifyMethod)
void moveUnitHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void multiUnitSelectionHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Handles selections of template level selectors, receives a collection of selections, creates an expression from it and applies it to a control node.
void numberFormatHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void operateTRFLineHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void redoFilterAssociationsHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Used to convert a template level selector target from using shared cgb nodes to separate cgb nodes and vice versa.
void refreshReportHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeAttrFormFromDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeBaseUnitFromDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeControlHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeControlTargetDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeControlTargetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeDAFromDSHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeDerivedMetricFromDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeFieldHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeLayoutHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeNDEFromDSHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void removeUnitHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void renameDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void renameEmmaSrcTableHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void replaceControlCGBHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Dissociates a control of a set of group by keys, and creates new cgb nodes and associates the selector to them.
void replaceDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void retrieveServerJsonHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void saveViewFilterHandler(RWDelta delta, JsonObject params, WebObjectsFactory factory)
void setAttributesJoinTypeHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setControlShowAllHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setControlSourceHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setCurrentLayoutHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setCurrentPanelHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setDatasetFilterHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setDefaultFormatHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setDocZoomHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setDocumentPropertiesHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setGridDisplayModeHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setJoinBehaviorHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setMetricJoinTypeHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setPreferredPaletteHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setPreferredThemeHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setPropertyHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setRwInstance(RWInstance rwInstance)
void setSelectorElementsHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setSelectorExpressionHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setSelectorFromGMHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setSelectorIncludeHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setSelectorShowAllHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void setVisAsFilterHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Set visualization as filter consists on two parts, one associating the nodes using associateNodes method and if the source visualization is being used as a filtering template, the selector/cgbNode relationship needs to be set.
void sortGMHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void unsetSelectorHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void updateDAHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void updateDerivedMetricOnDatasetHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void updateElementsPropertiesMapHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void updateShortcutMetricHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
void updateSingleUnitControlHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
For old VI documents that still use unit level selectors instead of template level selectors.
void updateTemplateHandler(RWDelta delta, JsonObject templateAction, WebObjectsFactory factory)
void updateTransactionHandler(RWDelta delta, JsonObject action, WebObjectsFactory factory)
Protected Methods
static void addFormatProperties(JsonObject jFormat, WebFormat webFormat)
void addGUID(RWDelta delta, JsonObject action)
void addInListSubExpression(WebObjectsFactory factory, WebExpression expression, int enumTypeBranch, int functionIn, WebOperatorNode parentOperatorNode, JsonObject headerObj, boolean isKeepOnly)
void addPropertiesTag(RWDelta delta, JsonObject props)
void addPropertyTag(RWDelta delta, String attributeName, String value)
static boolean getJSONBoolean(JsonObject json, String prop)
Returns the boolean value from JSON object for the given prop(key).
static int getJSONInt(JsonObject json, String prop)
Returns the int value from JSON object for the given prop(key).
static JsonObject getJSONObject(JsonObject json, String prop)
Returns the JsonObject from the object passed for the given prop(key).
static boolean getJSONOptBoolean(JsonObject json, String prop)
static boolean getJSONOptBoolean(JsonObject json, String prop, boolean optBool)
Returns the boolean value from JSON object for the given prop(key).
static int getJSONOptInt(JsonObject json, String prop, int optInt)
Returns the int value from JSON object for the given prop(key).
static int getJSONOptInt(JsonObject json, String prop)
static JsonObject getJSONOptObject(JsonObject json, String prop, JsonObject optJson)
Returns the JsonObject from JSON object for the given prop(key).
static JsonObject getJSONOptObject(JsonObject json, String prop)
static String getJSONOptString(JsonObject json, String prop, String optString)
Returns the String from JSON object for the given prop(key).
static String getJSONOptString(JsonObject json, String prop)
static String getJSONString(JsonObject json, String prop)
Returns the String from JSON object for the given prop(key).
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RWManipulationBuilder ()

public RWManipulationBuilder (RWInstance rwInstance)

Public Methods

public void addAttrFormToDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factoryn)

Throws
Exception

public void addControlHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addControlTargetDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addControlTargetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addDAToDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addDAToTemplateHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addDMHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Add Derived Metric to Dataset or Template through Derived Metric Editor

Throws
Exception

public void addDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addDerivedMetricToDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addFieldHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addLayoutHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public static void addNumberFormaterToDelta (RWDelta delta, JsonObject action, String formatType)

public void addPanelHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addPercentToTotalMetricHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addShortcutMetricHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addUndoSectionHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addUnitToDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void addVisToFilterHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Used to add a new target to an already created template level selector, optionally creates new cgb node if the target is configured to have separate cgb nodes, if not then an already created cgb key and the newCGB flag as false needs to be passed.

Throws
Exception

public void applyAttributeLinkingHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

end of template level selector manipulation and methods

Throws
Exception

public void applyDEChangesHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void applyReconciliationHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void associateNodesHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Used to associate two template nodes to keep their filters synchronized or brushing and highlighting. There is no automation on backend for this, the client reads the associated nodes collection and decides what to do with it.

Throws
Exception

public void changeControlElementSourceHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void changeDocGroupByHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void changeEMMAMappingHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void changeFilteringHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void changeGridDisplayModeHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void clearControlTargetDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void clearControlTargetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void clearVisAsFilterHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Used to clear template level selector associations, optionally removes the CGB node(s)

Throws
Exception

public void convertDatasetToManagedHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Convert a dataset to managed.

Throws
Exception

public void copyUnitHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void deleteEMMATableHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void duplLayoutHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void duplicatePanelHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void editDMHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Edit Derived Metric on Dataset or Template through Derived Metric Editor

Throws
Exception

public void editDocUnitPropHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void editFieldHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void editNodeHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void editSelectorPropsHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

public void formatDerivedMetricHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void formatHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public RWInstance getRwInstance ()

public void graphSelectorHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void gridDrillWithinHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Grid Drill handler. requires RWInstance to be set for setting partial retrieval nodes

Throws
Exception

public void importDashboardHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void keepOnlyGMHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void keepOnlyHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void localAddValueTag (RWDelta delta, String tag, String value)

Throws
Exception

public void macroCopyUnitHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void macroMoveUnitHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void modifyAttrForm (RWDelta delta, JsonObject action, int modifyMethod)

Throws
Exception

public void moveUnitHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void multiUnitSelectionHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Handles selections of template level selectors, receives a collection of selections, creates an expression from it and applies it to a control node.

Throws
Exception

public void numberFormatHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void operateTRFLineHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void redoFilterAssociationsHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Used to convert a template level selector target from using shared cgb nodes to separate cgb nodes and vice versa. The manipulations are as follows: - From shared to separate: for each non first control remove cgb association (68) create a new cgb node (64) associate control with new cgb (67) - From separate to shared: for each non first control remove cgb association (68) remove cgb node (66) associate with first cgb (67)

Throws
Exception

public void refreshReportHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeAttrFormFromDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeBaseUnitFromDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeControlHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeControlTargetDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeControlTargetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeDAFromDSHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeDerivedMetricFromDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeFieldHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeLayoutHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeNDEFromDSHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void removeUnitHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void renameDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void renameEmmaSrcTableHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void replaceControlCGBHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Dissociates a control of a set of group by keys, and creates new cgb nodes and associates the selector to them. It is used when duplicating a vis that acts as a source of one or more targets that are configured to use separate CGB nodes

Throws
Exception

public void replaceDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void retrieveServerJsonHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void saveViewFilterHandler (RWDelta delta, JsonObject params, WebObjectsFactory factory)

Throws
Exception

public void setAttributesJoinTypeHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setControlShowAllHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setControlSourceHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setCurrentLayoutHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setCurrentPanelHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setDatasetFilterHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setDefaultFormatHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setDocZoomHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setDocumentPropertiesHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setGridDisplayModeHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setJoinBehaviorHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setMetricJoinTypeHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setPreferredPaletteHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setPreferredThemeHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setPropertyHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setRwInstance (RWInstance rwInstance)

public void setSelectorElementsHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setSelectorExpressionHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setSelectorFromGMHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setSelectorIncludeHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setSelectorShowAllHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void setVisAsFilterHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Set visualization as filter consists on two parts, one associating the nodes using associateNodes method and if the source visualization is being used as a filtering template, the selector/cgbNode relationship needs to be set. There are two types of selector/cgbNode/Target relationships, shared cgbNodes and separate cgbNodes: if the relationship is shared, each target has a unique CGB node that is shared with all the selectors pointing to that target, what happens in that case is that when a template updates the selection the CGB node expression is replaced by the last selection. If the relationship is separate, each selector has one CGB node for each target so when a selection is made on the source template the CGB node expression is set and the target will show the union of all the different CGB nodes targeting it.

Throws
Exception

public void sortGMHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void unsetSelectorHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void updateDAHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void updateDerivedMetricOnDatasetHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void updateElementsPropertiesMapHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void updateShortcutMetricHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

public void updateSingleUnitControlHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

For old VI documents that still use unit level selectors instead of template level selectors. It adds or removes targets to the CGB node.

Throws
Exception

public void updateTemplateHandler (RWDelta delta, JsonObject templateAction, WebObjectsFactory factory)

Throws
Exception

public void updateTransactionHandler (RWDelta delta, JsonObject action, WebObjectsFactory factory)

Throws
Exception

Protected Methods

protected static void addFormatProperties (JsonObject jFormat, WebFormat webFormat)

protected void addGUID (RWDelta delta, JsonObject action)

Throws
Exception

protected void addInListSubExpression (WebObjectsFactory factory, WebExpression expression, int enumTypeBranch, int functionIn, WebOperatorNode parentOperatorNode, JsonObject headerObj, boolean isKeepOnly)

protected void addPropertiesTag (RWDelta delta, JsonObject props)

protected void addPropertyTag (RWDelta delta, String attributeName, String value)

protected static boolean getJSONBoolean (JsonObject json, String prop)

Returns the boolean value from JSON object for the given prop(key). If the property is not present, throws an JSONException

Parameters
json - A JsonObject from which the value needed has to be retrieved
prop - A String representing Key or Property name whose value has to be retrieved
Returns
  • - A boolean representing the value of the given prop(key) in the JsonObject passed
Throws
JSONException

protected static int getJSONInt (JsonObject json, String prop)

Returns the int value from JSON object for the given prop(key). If the property is not present, throws an JSONException

Parameters
json - A JsonObject from which the value needed has to be retrieved
prop - A String representing Key or Property name whose value has to be retrieved
Returns
  • - A int representing the value of the given prop(key) in the JsonObject passed
Throws
JSONException

protected static JsonObject getJSONObject (JsonObject json, String prop)

Returns the JsonObject from the object passed for the given prop(key). If the property is not present, throws an JSONException

Parameters
json - A JsonObject from which the value needed has to be retrieved
prop - A String representing Key or Property name whose value has to be retrieved
Returns
  • - A JsonObject representing the value of the given prop(key) in the JsonObject passed
Throws
JSONException

protected static boolean getJSONOptBoolean (JsonObject json, String prop)

protected static boolean getJSONOptBoolean (JsonObject json, String prop, boolean optBool)

Returns the boolean value from JSON object for the given prop(key). If the property is not present, returns the optional boolean value passed

Parameters
json - A JsonObject from which the value needed has to be retrieved
prop - A String representing Key or Property name whose value has to be retrieved
optBool - Optional String that has to be returned when the given key is not found in JsonObject
Returns
  • - A boolean representing the value of the given prop(key) in the JsonObject passed

protected static int getJSONOptInt (JsonObject json, String prop, int optInt)

Returns the int value from JSON object for the given prop(key). If the property is not present, returns the optional int value passed

Parameters
json - A JsonObject from which the value needed has to be retrieved
prop - A String representing Key or Property name whose value has to be retrieved
optInt - Optional String that has to be returned when the given key is not found in JsonObject
Returns
  • - A int representing the value of the given prop(key) in the JsonObject passed

protected static int getJSONOptInt (JsonObject json, String prop)

protected static JsonObject getJSONOptObject (JsonObject json, String prop, JsonObject optJson)

Returns the JsonObject from JSON object for the given prop(key). If the property is not present, returns the optional value passed

Parameters
json - A JsonObject from which the value needed has to be retrieved
prop - A String representing Key or Property name whose value has to be retrieved
optJson - Optional JsonObject that has to be returned when the given key is not found in JsonObject
Returns
  • - A JsonObject representing the value of the given prop(key) in the JsonObject passed

protected static JsonObject getJSONOptObject (JsonObject json, String prop)

protected static String getJSONOptString (JsonObject json, String prop, String optString)

Returns the String from JSON object for the given prop(key). If the property is not present, returns the optional value passed

Parameters
json - A JsonObject from which the value needed has to be retrieved
prop - A String representing Key or Property name whose value has to be retrieved
optString - Optional String that has to be returned when the given key is not found in JsonObject
Returns
  • - A String representing the value of the given prop(key) in the JsonObject passed

protected static String getJSONOptString (JsonObject json, String prop)

protected static String getJSONString (JsonObject json, String prop)

Returns the String from JSON object for the given prop(key). If the property is not present, throws an JSONException

Parameters
json - A JsonObject from which the value needed has to be retrieved
prop - A String representing Key or Property name whose value has to be retrieved
Returns
  • - A String representing the value of the given prop(key) in the JsonObject passed
Throws
JSONException