Package com.microstrategy.web.objects
Class RWManipulationBuilder
- java.lang.Object
-
- com.microstrategy.web.objects.RWManipulationBuilder
-
- All Implemented Interfaces:
EnumManipulationBuilderConstants
,EnumDSSXMLRWManipulationMethod
public class RWManipulationBuilder extends java.lang.Object implements EnumDSSXMLRWManipulationMethod
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.webapi.EnumDSSXMLRWManipulationMethod
DssRWManipulationAddRWDDefinitionSubtotal, DssRWManipulationChangeConditionOnNode, DssRWManipulationConvertStitchingGridToNormal, DssRWManipulationConvertToStitchingGrid, DssRWManipulationCreateEmbeddedFilter, DssRWManipulationEditEmbeddedFilter, DssRWManipulationhSetControlFlagAndReexecuteTargetGridTemplates, DssRWManipulationRemoveRWDDefinitionSubtotal, DssRWManipulationReplaceControlSource, DssRWManipulationSetControlSynchronized, DssRWManipulationSetStitchGridPrimaryNode, DssRWManipulationSetTemplateLimit, DssRWManipulationToggleDatasetServeMode, DssXmlRWManipulationAddAssociatedRWNodes, DssXmlRWManipulationAddAttributeFormToField, DssXmlRWManipulationAddConsolidationObjectOnDataset, DssXmlRWManipulationAddControl, DssXmlRWManipulationAddControlMacro, DssXmlRWManipulationAddControlTarget, DssXmlRWManipulationAddControlTargetDataset, DssXmlRwManipulationAddControlTargetEx, DssXmlRWManipulationAddControlTargetPlaceHolders, DssXmlRWManipulationAddCopyTemplateNodeFromDataset, DssXmlRWManipulationAddDataSet, DssXmlRWManipulationAddDerivedAttributeToDataset, DssXmlRWManipulationAddDerivedElementToManagedConsolidationObject, DssXmlRWManipulationAddDerivedMetricToDataset, DssXmlRWManipulationAddDocumentView, DssXmlRWManipulationAddField, DssXmlRWManipulationAddGroupBySection, DssXmlRWManipulationAddGroupByUnit, DssXmlRWManipulationAddLayout, DssXmlRWManipulationAddLinkTemplateNodeToDataset, DssXmlRWManipulationAddNode, DssXmlRWManipulationAddObjectField, DssXmlRWManipulationAddOfflineTransaction, DssXmlRWManipulationAddShortcutMetric, DssXmlRWManipulationAddSort, DssXmlRWManipulationAddTransactionReport, DssXmlRWManipulationApplyAttributeRemapping, DssXmlRWManipulationApplyReconciliation, DssXmlRWManipulationApplySegment, DssXmlRWManipulationChangeControlCondition, DssXmlRWManipulationChangeControlText, DssXmlRWManipulationChangeTemplateNodeOrigin, DssXmlRWManipulationClearAssociatedRWNodes, DssXmlRWManipulationClearControls, DssXmlRWManipulationClearControlTargetDatasets, DssXmlRWManipulationClearControlTargets, DssXmlRWManipulationClearCurrentControlElements, DssXmlRWManipulationClearDataSets, DssXmlRWManipulationClearFields, DssXmlRWManipulationClearGroupByUnits, DssXmlRWManipulationClearNodes, DssXmlRWManipulationClearSorts, DssXmlRWManipulationClearTransactionReport, DssXmlRWManipulationConvertDatasetToManaged, DssXMLRWManipulationCopyControl, DssXmlRWManipulationCopyField, DssXmlRWManipulationCopyLayout, DssXmlRWManipulationCopyPanel, DssXmlRWManipulationCopyPanelStack, DssXmlRWManipulationCopyTemplateNode, DssXmlRWManipulationCreateDataSet, DssXmlRWManipulationCreateThreshold, DssXmlRWManipulationDatasetManipulation, DssXmlRWManipulationDrill, DssXmlRWManipulationEditDataSet, DssXmlRWManipulationEditDocumentLinks, DssXMLRWManipulationEditDocumentUnitProperty, DssXmlRWManipulationEditDocumentView, DssXmlRWManipulationEditField, DssXmlRWManipulationEditNode, DssXmlRWManipulationEditObjectField, DssXmlRWManipulationEditSectionNode, DssXmlRWManipulationEnsureFilterModeMacro, DssXmlRWManipulationFormatControl, DssXmlRWManipulationFormatDerivedElementOnManagedConsolidationObject, DssXmlRWManipulationFormatDerivedMetric, DssXmlRWManipulationFormatField, DssXmlRWManipulationFormatNode, DssXmlRWManipulationHideDocumentThresholds, DssXmlRWManipulationImportDocument, DssXmlRWManipulationInsertControlGroupBySection, DssXmlRWManipulationMacroCopyNode, DssXMlRWManipulationMakeTabular, DssXmlRWManipulationMoveControlGroupBySection, DssXmlRWManipulationMoveField, DssXmlRWManipulationMoveGroupBySection, DssXmlRWManipulationMoveNode, DssXmlRWManipulationMoveNodeMacro, DssXmlRWManipulationMoveTemplateNode, DssXmlRWManipulationPerformActionOnActionSelector, DssXmlRWManipulationPopulateTemplateNodeFromDataset, DssXmlRWManipulationRefreshReport, DssXmlRWManipulationRemoveControl, DssXmlRWManipulationRemoveControlGroupBySection, DssXmlRWManipulationRemoveControlMacro, DssXmlRWManipulationRemoveControlTarget, DssXmlRWManipulationRemoveControlTargetDataset, DssXmlRWManipulationRemoveControlTargetEx, DssXmlRWManipulationRemoveControlTargetPlaceHolders, DssXmlRWManipulationRemoveDataSet, DssXmlRWManipulationRemoveDerivedAttributeFromDataset, DssXmlRWManipulationRemoveDerivedElementFromManagedConsolidationObject, DssXmlRWManipulationRemoveDerivedMetricFromDataset, DssXmlRWManipulationRemoveDocumentView, DssXmlRWManipulationRemoveField, DssXmlRWManipulationRemoveGroupByAndFieldGroupSortInLayout, DssXmlRWManipulationRemoveGroupBySection, DssXmlRWManipulationRemoveManagedConsolidationFromDataset, DssXmlRWManipulationRemoveNode, DssXmlRWManipulationRemoveNodeMacro, DssXmlRWManipulationRemoveOfflineTransaction, DssXmlRWManipulationRemovePreferredThemeOnNode, DssXmlRWManipulationRemoveThreshold, DssXmlRWManipulationRemoveTransactionInfoOnField, DssXmlRWManipulationRemoveTransactionReport, DssXmlRWManipulationRemoveWidgetString, DssXmlRWManipulationRenameDataset, DssXmlRWManipulationReorderThresholds, DssXmlRWManipulationReplaceDataset, DssXmlRWManipulationReportManipulation, DssXmlRWManipulationReserved, DssXmlRWManipulationResetSelections, DssXmlRWManipulationSetAbbreviation, DssXmlRWManipulationSetAttributeReplacement, DssXmlRWManipulationSetAutomaticTransactionRecordNumber, DssXmlRWManipulationSetCandidateAttributes, DssXmlRWManipulationSetControlAllAlias, DssXmlRWManipulationSetControlAttributeFormDisplayOption, DssXmlRWManipulationSetControlAttributeForms, DssXmlRWManipulationSetControlAvailableActionTypes, DssXmlRWManipulationSetControlDataSource, DssXmlRWManipulationSetControlDelimiter, DssXmlRWManipulationSetControlDisplayText, DssXmlRWManipulationSetControlFilterType, DssXmlRWManipulationSetControlMatchForm, DssXMLRWManipulationSetControlShowAll, DssXMLRWManipulationSetControlSource, DssXmlRWManipulationSetControlSubsequentAction, DssXmlRWManipulationSetControlUnsetStatus, DssXmlRWManipulationSetControlWriteBackForm, DssXmlRWManipulationSetCurrentControlElements, DssXMLRWManipulationSetCurrentControlElementsFromGraph, DssXMLRWManipulationSetCurrentControlElementStatus, DssXmlRWManipulationSetCurrentDocumentView, DssXmlRWManipulationSetCurrentGroupByElement, DssXmlRWManipulationSetCurrentGroupByElementByUnitID, DssXmlRWManipulationSetCurrentLayout, DssXmlRWManipulationSetCurrentNode, DssXmlRWManipulationSetDatasetTargetElementSource, DssXmlRWManipulationSetDefaultDataSet, DssXmlRWManipulationSetDefaultFormat, DssXmlRWManipulationSetDerivedElementHierarchyOptionOnManagedConsolidationObject, DssXmlRWManipulationSetDerivedElementPropertiesOnManagedConsolidationObject, DssXmlRWManipulationSetDocumentProperties, DssXmlRWManipulationSetGraphProperties, DssXmlRWManipulationSetGridDisplayMode, DssXmlRWManipulationSetNextCurrentGroupByElement, DssXmlRWManipulationSetPageByStyle, DssXmlRWManipulationSetPreferredPalette, DssXmlRWManipulationSetPreferredTheme, DssXmlRWManipulationSetPreferredThemeOnNode, DssXmlRWManipulationSetRWDObjectProperties, DssXmlRWManipulationSetSubmitOrderForTransaction, DssXmlRWManipulationSetSubsequentActionObject, DssXmlRWManipulationSetSubsequentDisplayMessage, DssXmlRWManipulationSetTransactionChangeType, DssXmlRWManipulationSetTransactionInfoOnField, DssXMLRWManipulationSetTransactionReport, DssXmlRWManipulationSetUnitPropertiesInTargetFolder, DssXmlRWManipulationSetViewFilter, DssXmlRWManipulationSetViewTemplate, DssXmlRWManipulationSetWidgetString, DssXmlRWManipulationShowDocumentThresholds, DssXmlRWManipulationSwitchControlGroupBySectionToUnitCondition, DssXmlRWManipulationSwitchUnitConditionToControlGroupBySection, DssXmlRWManipulationToggleCurrentSelectionOnControl, DssXmlRWManipulationUpdateConsolidationObject, DssXmlRWManipulationUpdateDerivedAttributeOnDataset, DssXmlRWManipulationUpdateDerivedElementOnManagedConsolidationObject, DssXmlRWManipulationUpdateDerivedMetricOnDataset, DssXmlRWManipulationUpdateElementColorMappings, DssXmlRWManipulationUpdateOfflineTransaction, DssXmlRWManipulationUpdateShortcutMetric, DssXmlRWManipulationUpdateThreshold, DssXmlRWManipulationUpdateTransactionData, DssXmlRWManipulationValidateExpression
-
Fields inherited from interface com.microstrategy.web.objects.EnumManipulationBuilderConstants
ITEM_SEPARATOR, PREFERENCE_ALLOW_OVERWRITE_WITH_WARNING, PREFERENCE_ALLOW_OVERWRITE_WITHOUT_WARNING, PREFERENCE_DISALLOW_OVERWRITE, SORT_ELEM_PARAM_SEPARATOR, SORT_KEY_PARAM_SEPARATOR, UNIT_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description RWManipulationBuilder()
RWManipulationBuilder(RWInstance rwInstance)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttrFormToDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factoryn)
void
addControlHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addControlTargetDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addControlTargetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addDAToDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addDAToTemplateHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addDerivedMetricToDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addDMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Add Derived Metric to Dataset or Template through Derived Metric Editorvoid
addFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
protected static void
addFormatProperties(com.google.gson.JsonObject jFormat, WebFormat webFormat)
protected void
addGUID(RWDelta delta, com.google.gson.JsonObject action)
protected void
addInListSubExpression(WebObjectsFactory factory, WebExpression expression, int enumTypeBranch, int functionIn, WebOperatorNode parentOperatorNode, com.google.gson.JsonObject headerObj, boolean isKeepOnly)
void
addLayoutHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addNewPanelStackHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
static void
addNumberFormaterToDelta(RWDelta delta, com.google.gson.JsonObject action, java.lang.String formatType)
void
addPanelHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addPercentToTotalMetricHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
protected void
addPropertiesTag(RWDelta delta, com.google.gson.JsonObject props)
protected void
addPropertyTag(RWDelta delta, java.lang.String attributeName, java.lang.String value)
void
addShortcutMetricHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addUndoSectionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addUnitToDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
addVisToFilterHandler(RWDelta delta, com.google.gson.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, com.google.gson.JsonObject action, WebObjectsFactory factory)
end of template level selector manipulation and methodsvoid
applyDEChangesHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
applyReconciliationHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
associateNodesHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Used to associate two template nodes to keep their filters synchronized or brushing and highlighting.static WebExpression
buildSelectionExpression(WebObjectsFactory factory, boolean isInclude, boolean isBranch, com.google.gson.JsonArray nodes)
void
changeControlElementSourceHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
changeCoverPageHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
changeDocGroupByHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
changeEMMAMappingHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
changeFilteringHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
changeGridDisplayModeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
changeGridToStitchedHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
changeStitchedToGridHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
clearControlTargetDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
clearControlTargetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
clearLinkViewFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Clear dossier linking view filtervoid
clearSelectorSortHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
clearUCNodeConditionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Clear navigation condition on target UC Node.void
clearVisAsFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Used to clear template level selector associations, optionally removes the CGB node(s)void
convertDatasetToManagedHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Convert a dataset to managed.void
copyFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
copyPanelStackHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
copyUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
createDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
createDatasetHandler Handler.void
createEmbeddedFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
datasetSaveAsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
datasetSaveAsHandler Handler.void
deleteEMMATableHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
duplicatePanelHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
duplLayoutHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
dynamicSelectionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
editDMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Edit Derived Metric on Dataset or Template through Derived Metric Editorvoid
editDocUnitPropHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
editFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
editNodeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
editSelectorPropsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
formatDerivedElementHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
formatDerivedMetricHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
formatHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
protected static boolean
getJSONBoolean(com.google.gson.JsonObject json, java.lang.String prop)
Returns the boolean value from JSON object for the given prop(key).protected static int
getJSONInt(com.google.gson.JsonObject json, java.lang.String prop)
Returns the int value from JSON object for the given prop(key).protected static com.google.gson.JsonObject
getJSONObject(com.google.gson.JsonObject json, java.lang.String prop)
Returns the JsonObject from the object passed for the given prop(key).protected static boolean
getJSONOptBoolean(com.google.gson.JsonObject json, java.lang.String prop)
protected static boolean
getJSONOptBoolean(com.google.gson.JsonObject json, java.lang.String prop, boolean optBool)
Returns the boolean value from JSON object for the given prop(key).protected static int
getJSONOptInt(com.google.gson.JsonObject json, java.lang.String prop)
protected static int
getJSONOptInt(com.google.gson.JsonObject json, java.lang.String prop, int optInt)
Returns the int value from JSON object for the given prop(key).protected static com.google.gson.JsonObject
getJSONOptObject(com.google.gson.JsonObject json, java.lang.String prop)
protected static com.google.gson.JsonObject
getJSONOptObject(com.google.gson.JsonObject json, java.lang.String prop, com.google.gson.JsonObject optJson)
Returns the JsonObject from JSON object for the given prop(key).protected static java.lang.String
getJSONOptString(com.google.gson.JsonObject json, java.lang.String prop)
protected static java.lang.String
getJSONOptString(com.google.gson.JsonObject json, java.lang.String prop, java.lang.String optString)
Returns the String from JSON object for the given prop(key).protected static java.lang.String
getJSONString(com.google.gson.JsonObject json, java.lang.String prop)
Returns the String from JSON object for the given prop(key).RWInstance
getRwInstance()
void
graphSelectorHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
gridDrillWithinHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Grid Drill handler.void
gridIncrementalFetchHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
gridIncrementalFetchHandler Handler.void
importDashboardHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
keepOnlyGMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
keepOnlyHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
localAddValueTag(RWDelta delta, java.lang.String tag, java.lang.String value)
void
macroCopyUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
macroMoveUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
modifyAttrForm(RWDelta delta, com.google.gson.JsonObject action, int modifyMethod)
void
moveFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
moveUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
multiUnitSelectionHandler(RWDelta delta, com.google.gson.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, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
operateTRFLineHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
raSelectorExpandCollapseHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
rebuildDocumentHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Rebuild Document Handler.void
redoFilterAssociationsHandler(RWDelta delta, com.google.gson.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
redoHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Redo Handler.void
refreshReportHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeAttrFormFromDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeBaseUnitFromDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeControlHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeControlTargetDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeControlTargetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeDAFromDSHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeDerivedMetricFromDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeLayoutHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeNDEFromDSHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
removeUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
renameDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
renameEmmaSrcTableHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
replaceControlCGBHandler(RWDelta delta, com.google.gson.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
replaceControlHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
replaceControlTargetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
replaceDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
retrieveServerJsonHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
saveViewFilterHandler(RWDelta delta, com.google.gson.JsonObject params, WebObjectsFactory factory)
void
saveViewFilterLimitGettingWholeDelta(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
saveViewFilterLimitGettingWholeDelta is similar to a handler but should not be used by tasks.void
saveViewFilterLimitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
saveViewFilterLimitHandler Handler.void
setAttributeSelectorExpressionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setAttributesJoinTypeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Wrapper method to support attribute join type VLDB property for backwards compatibility.void
setCandidateObjectsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setControlAttributeFormsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setControlAttributeSortHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setControlShowAllHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setControlSourceHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setControlSynchronizedHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setCurrentLayoutHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setCurrentPanelHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setDatasetFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setDefaultFormatHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setDocumentPropertiesHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setDocZoomHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setGridDisplayModeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setJoinBehaviorHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setMetricJoinTypeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Wrapper method to support metric join type VLDB property for backwards compatibility.void
setPreferredPaletteHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setPreferredThemeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setPrimarySortNodeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setPropertyHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setRwInstance(RWInstance rwInstance)
void
setSelectorElementsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setSelectorExpressionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setSelectorFromGMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setSelectorHideSelectedElements(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setSelectorIncludeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setSelectorShowAllHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setSelectorToUnset(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
setSelectorUnsetStatus(RWDelta delta, com.google.gson.JsonObject action, int sus, int suc)
void
setVisAsFilterHandler(RWDelta delta, com.google.gson.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
setVLDBPropertyHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Generic VLDB property handler that generates deltaXML for setting VLDB properties.void
sortGMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
toggleDatasetServeModeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
toggleDatasetServeModeHandler Handler.void
undoHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Undo Handler.void
unsetSelectorHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
updateDAHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
updateDerivedMetricOnDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
updateElementsPropertiesMapHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
updateShortcutMetricHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
updateSingleUnitControlHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
For old VI documents that still use unit level selectors instead of template level selectors.void
updateTemplateHandler(RWDelta delta, com.google.gson.JsonObject templateAction, WebObjectsFactory factory)
void
updateTransactionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
useAlternateFilterTechniqueHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
void
visualizationElementSelectionHandler(RWDelta delta, java.lang.String visualizationNodeKey, java.lang.String controlKey, WebExpression webExpression)
Handles selections of the elements in a visualization, which is used as a filter, and applies the expression from it to a control node.
-
-
-
Constructor Detail
-
RWManipulationBuilder
public RWManipulationBuilder()
-
RWManipulationBuilder
public RWManipulationBuilder(RWInstance rwInstance)
-
-
Method Detail
-
getRwInstance
public RWInstance getRwInstance()
-
setRwInstance
public void setRwInstance(RWInstance rwInstance)
-
addUndoSectionHandler
public void addUndoSectionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addDatasetHandler
public void addDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeDatasetHandler
public void removeDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeBaseUnitFromDatasetHandler
public void removeBaseUnitFromDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addUnitToDatasetHandler
public void addUnitToDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
modifyAttrForm
public void modifyAttrForm(RWDelta delta, com.google.gson.JsonObject action, int modifyMethod) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addAttrFormToDatasetHandler
public void addAttrFormToDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factoryn) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeAttrFormFromDatasetHandler
public void removeAttrFormFromDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
convertDatasetToManagedHandler
public void convertDatasetToManagedHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Convert a dataset to managed.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
refreshReportHandler
public void refreshReportHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setDatasetFilterHandler
public void setDatasetFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateTemplateHandler
public void updateTemplateHandler(RWDelta delta, com.google.gson.JsonObject templateAction, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
saveViewFilterHandler
public void saveViewFilterHandler(RWDelta delta, com.google.gson.JsonObject params, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
retrieveServerJsonHandler
public void retrieveServerJsonHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
applyDEChangesHandler
public void applyDEChangesHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setDocZoomHandler
public void setDocZoomHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setDocumentPropertiesHandler
public void setDocumentPropertiesHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
graphSelectorHandler
public void graphSelectorHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setAttributeSelectorExpressionHandler
public void setAttributeSelectorExpressionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setSelectorExpressionHandler
public void setSelectorExpressionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setPropertyHandler
public void setPropertyHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
keepOnlyHandler
public void keepOnlyHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
localAddValueTag
public void localAddValueTag(RWDelta delta, java.lang.String tag, java.lang.String value) throws java.lang.Exception
- Throws:
java.lang.Exception
-
operateTRFLineHandler
public void operateTRFLineHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addInListSubExpression
protected void addInListSubExpression(WebObjectsFactory factory, WebExpression expression, int enumTypeBranch, int functionIn, WebOperatorNode parentOperatorNode, com.google.gson.JsonObject headerObj, boolean isKeepOnly) throws WebObjectsException
- Throws:
WebObjectsException
-
setSelectorFromGMHandler
public void setSelectorFromGMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateTransactionHandler
public void updateTransactionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
keepOnlyGMHandler
public void keepOnlyGMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
sortGMHandler
public void sortGMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setSelectorShowAllHandler
public void setSelectorShowAllHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setSelectorIncludeHandler
public void setSelectorIncludeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setSelectorHideSelectedElements
public void setSelectorHideSelectedElements(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setSelectorToUnset
public void setSelectorToUnset(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setSelectorUnsetStatus
public void setSelectorUnsetStatus(RWDelta delta, com.google.gson.JsonObject action, int sus, int suc) throws java.lang.Exception
- Throws:
java.lang.Exception
-
unsetSelectorHandler
public void unsetSelectorHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
dynamicSelectionHandler
public void dynamicSelectionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setControlSynchronizedHandler
public void setControlSynchronizedHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
clearSelectorSortHandler
public void clearSelectorSortHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
-
setControlAttributeSortHandler
public void setControlAttributeSortHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
-
raSelectorExpandCollapseHandler
public void raSelectorExpandCollapseHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setGridDisplayModeHandler
public void setGridDisplayModeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
macroMoveUnitHandler
public void macroMoveUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
moveUnitHandler
public void moveUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeLayoutHandler
public void removeLayoutHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setCurrentLayoutHandler
public void setCurrentLayoutHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setCurrentPanelHandler
public void setCurrentPanelHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addPanelHandler
public void addPanelHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
copyPanelStackHandler
public void copyPanelStackHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addNewPanelStackHandler
public void addNewPanelStackHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeUnitHandler
public void removeUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeFieldHandler
public void removeFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
macroCopyUnitHandler
public void macroCopyUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
copyFieldHandler
public void copyFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
moveFieldHandler
public void moveFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
copyUnitHandler
public void copyUnitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeControlHandler
public void removeControlHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addControlHandler
public void addControlHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
replaceControlHandler
public void replaceControlHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setCandidateObjectsHandler
public void setCandidateObjectsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeControlTargetHandler
public void removeControlTargetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addControlTargetHandler
public void addControlTargetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
replaceControlTargetHandler
public void replaceControlTargetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
clearControlTargetHandler
public void clearControlTargetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addControlTargetDatasetHandler
public void addControlTargetDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeControlElementSourceHandler
public void changeControlElementSourceHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeControlTargetDatasetHandler
public void removeControlTargetDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
clearControlTargetDatasetHandler
public void clearControlTargetDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setControlSourceHandler
public void setControlSourceHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
editSelectorPropsHandler
public void editSelectorPropsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
-
setControlAttributeFormsHandler
public void setControlAttributeFormsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
-
addFieldHandler
public void addFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
editFieldHandler
public void editFieldHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setControlShowAllHandler
public void setControlShowAllHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeDocGroupByHandler
public void changeDocGroupByHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
duplicatePanelHandler
public void duplicatePanelHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateDerivedMetricOnDatasetHandler
public void updateDerivedMetricOnDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addPercentToTotalMetricHandler
public void addPercentToTotalMetricHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createEmbeddedFilterHandler
public void createEmbeddedFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addDerivedMetricToDatasetHandler
public void addDerivedMetricToDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeDerivedMetricFromDatasetHandler
public void removeDerivedMetricFromDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
editDocUnitPropHandler
public void editDocUnitPropHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
formatDerivedMetricHandler
public void formatDerivedMetricHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
formatDerivedElementHandler
public void formatDerivedElementHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeGridDisplayModeHandler
public void changeGridDisplayModeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
applyReconciliationHandler
public void applyReconciliationHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
replaceDatasetHandler
public void replaceDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addShortcutMetricHandler
public void addShortcutMetricHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateShortcutMetricHandler
public void updateShortcutMetricHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
renameDatasetHandler
public void renameDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
renameEmmaSrcTableHandler
public void renameEmmaSrcTableHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
editNodeHandler
public void editNodeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
formatHandler
public void formatHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setDefaultFormatHandler
public void setDefaultFormatHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
useAlternateFilterTechniqueHandler
public void useAlternateFilterTechniqueHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
importDashboardHandler
public void importDashboardHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addLayoutHandler
public void addLayoutHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
duplLayoutHandler
public void duplLayoutHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeFilteringHandler
public void changeFilteringHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addDAToTemplateHandler
public void addDAToTemplateHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addDAToDatasetHandler
public void addDAToDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateDAHandler
public void updateDAHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeDAFromDSHandler
public void removeDAFromDSHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeNDEFromDSHandler
public void removeNDEFromDSHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addDMHandler
public void addDMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Add Derived Metric to Dataset or Template through Derived Metric Editor- Throws:
java.lang.Exception
-
editDMHandler
public void editDMHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Edit Derived Metric on Dataset or Template through Derived Metric Editor- Throws:
java.lang.Exception
-
setVisAsFilterHandler
public void setVisAsFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
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:
java.lang.Exception
-
associateNodesHandler
public void associateNodesHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
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.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
addVisToFilterHandler
public void addVisToFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
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.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
updateSingleUnitControlHandler
public void updateSingleUnitControlHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
For old VI documents that still use unit level selectors instead of template level selectors. It adds or removes targets to the CGB node.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
clearVisAsFilterHandler
public void clearVisAsFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Used to clear template level selector associations, optionally removes the CGB node(s)- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
replaceControlCGBHandler
public void replaceControlCGBHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
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- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
redoFilterAssociationsHandler
public void redoFilterAssociationsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
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:
java.lang.Exception
-
multiUnitSelectionHandler
public void multiUnitSelectionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Handles selections of template level selectors, receives a collection of selections, creates an expression from it and applies it to a control node.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
visualizationElementSelectionHandler
public void visualizationElementSelectionHandler(RWDelta delta, java.lang.String visualizationNodeKey, java.lang.String controlKey, WebExpression webExpression) throws WebObjectsException
Handles selections of the elements in a visualization, which is used as a filter, and applies the expression from it to a control node.- Parameters:
delta
- RW deltavisualizationNodeKey
- The node key of the visualizationcontrolKey
- The key of the control node of this visualizationwebExpression
- The web expression of the filter, which is generated from the element selection in the visualization- Throws:
WebObjectsException
-
buildSelectionExpression
public static WebExpression buildSelectionExpression(WebObjectsFactory factory, boolean isInclude, boolean isBranch, com.google.gson.JsonArray nodes) throws java.lang.Exception
- Throws:
java.lang.Exception
-
applyAttributeLinkingHandler
public void applyAttributeLinkingHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
end of template level selector manipulation and methods- Throws:
java.lang.Exception
-
deleteEMMATableHandler
public void deleteEMMATableHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeEMMAMappingHandler
public void changeEMMAMappingHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateElementsPropertiesMapHandler
public void updateElementsPropertiesMapHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setJoinBehaviorHandler
public void setJoinBehaviorHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
numberFormatHandler
public void numberFormatHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addNumberFormaterToDelta
public static void addNumberFormaterToDelta(RWDelta delta, com.google.gson.JsonObject action, java.lang.String formatType)
-
setPreferredPaletteHandler
public void setPreferredPaletteHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setPreferredThemeHandler
public void setPreferredThemeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setAttributesJoinTypeHandler
public void setAttributesJoinTypeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Wrapper method to support attribute join type VLDB property for backwards compatibility.- Parameters:
delta
- The delta XMLaction
- The set VLDB property actionfactory
- The factory for web objects- Throws:
java.lang.Exception
-
setMetricJoinTypeHandler
public void setMetricJoinTypeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Wrapper method to support metric join type VLDB property for backwards compatibility.- Parameters:
delta
- The delta XMLaction
- The set VLDB property actionfactory
- The factory for web objects- Throws:
java.lang.Exception
-
setVLDBPropertyHandler
public void setVLDBPropertyHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Generic VLDB property handler that generates deltaXML for setting VLDB properties.- Parameters:
delta
- The delta XMLaction
- The set VLDB property actionfactory
- The factory for web objects- Throws:
java.lang.Exception
-
setSelectorElementsHandler
public void setSelectorElementsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
gridDrillWithinHandler
public void gridDrillWithinHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Grid Drill handler. requires RWInstance to be set for setting partial retrieval nodes- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
clearUCNodeConditionHandler
public void clearUCNodeConditionHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Clear navigation condition on target UC Node.- Parameters:
delta
-action
-factory
-
-
clearLinkViewFilterHandler
public void clearLinkViewFilterHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory)
Clear dossier linking view filter- Parameters:
delta
-action
-factory
-
-
undoHandler
public void undoHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws JSONException, WebObjectsException
Undo Handler. Set RWInstance before calling this.- Parameters:
delta
-action
-factory
-- Throws:
JSONException
WebObjectsException
-
redoHandler
public void redoHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Redo Handler. Set RWInstance before calling this.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
rebuildDocumentHandler
public void rebuildDocumentHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
Rebuild Document Handler. Set RWInstance before calling this.- Throws:
java.lang.Exception
-
gridIncrementalFetchHandler
public void gridIncrementalFetchHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
gridIncrementalFetchHandler Handler. Set RWInstance before calling this.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
createDatasetHandler
public void createDatasetHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
createDatasetHandler Handler. Set RWInstance before calling this.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
toggleDatasetServeModeHandler
public void toggleDatasetServeModeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
toggleDatasetServeModeHandler Handler. Set RWInstance before calling this.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
saveViewFilterLimitHandler
public void saveViewFilterLimitHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
saveViewFilterLimitHandler Handler. Set RWInstance before calling this- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
saveViewFilterLimitGettingWholeDelta
public void saveViewFilterLimitGettingWholeDelta(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
saveViewFilterLimitGettingWholeDelta is similar to a handler but should not be used by tasks. It returns the whole delta of the manipulations wrapped in(not like the other handlers) Set RWInstance before calling this - Parameters:
delta
- contains the whole delta manipulation already wrapped inaction
-factory
-- Throws:
java.lang.Exception
-
datasetSaveAsHandler
public void datasetSaveAsHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
datasetSaveAsHandler Handler. Set RWInstance before calling this Standalone and managed dataset saveas. If dup name, then an Exception will be thrown, so that no action will be handled and no result will be returned.- Parameters:
delta
-action
-factory
-- Throws:
java.lang.Exception
-
changeCoverPageHandler
public void changeCoverPageHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeGridToStitchedHandler
public void changeGridToStitchedHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeStitchedToGridHandler
public void changeStitchedToGridHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setPrimarySortNodeHandler
public void setPrimarySortNodeHandler(RWDelta delta, com.google.gson.JsonObject action, WebObjectsFactory factory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getJSONOptString
protected static java.lang.String getJSONOptString(com.google.gson.JsonObject json, java.lang.String prop, java.lang.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
- - AJsonObject
from which the value needed has to be retrievedprop
- - AString
representing Key or Property name whose value has to be retrievedoptString
- - 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
-
getJSONOptString
protected static java.lang.String getJSONOptString(com.google.gson.JsonObject json, java.lang.String prop)
-
getJSONString
protected static java.lang.String getJSONString(com.google.gson.JsonObject json, java.lang.String prop) throws JSONException
Returns the String from JSON object for the given prop(key). If the property is not present, throws anJSONException
- Parameters:
json
- - AJsonObject
from which the value needed has to be retrievedprop
- - AString
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
- Since:
- 10.6 - Added for backward compatibility as this was the original behavior (before 10.3) when retrieving data from JSONObject
-
getJSONOptInt
protected static int getJSONOptInt(com.google.gson.JsonObject json, java.lang.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
- - AJsonObject
from which the value needed has to be retrievedprop
- - AString
representing Key or Property name whose value has to be retrievedoptInt
- - 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
-
getJSONOptInt
protected static int getJSONOptInt(com.google.gson.JsonObject json, java.lang.String prop)
-
getJSONInt
protected static int getJSONInt(com.google.gson.JsonObject json, java.lang.String prop) throws JSONException
Returns the int value from JSON object for the given prop(key). If the property is not present, throws anJSONException
- Parameters:
json
- - AJsonObject
from which the value needed has to be retrievedprop
- - AString
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
- Since:
- 10.6 - Added for backward compatibility as this was the original behavior (before 10.3) when retrieving data from JSONObject
-
getJSONOptBoolean
protected static boolean getJSONOptBoolean(com.google.gson.JsonObject json, java.lang.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
- - AJsonObject
from which the value needed has to be retrievedprop
- - AString
representing Key or Property name whose value has to be retrievedoptBool
- - 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
-
getJSONOptBoolean
protected static boolean getJSONOptBoolean(com.google.gson.JsonObject json, java.lang.String prop)
-
getJSONBoolean
protected static boolean getJSONBoolean(com.google.gson.JsonObject json, java.lang.String prop) throws JSONException
Returns the boolean value from JSON object for the given prop(key). If the property is not present, throws anJSONException
- Parameters:
json
- - AJsonObject
from which the value needed has to be retrievedprop
- - AString
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
- Since:
- 10.6 - Added for backward compatibility as this was the original behavior (before 10.3) when retrieving data from JSONObject
-
getJSONOptObject
protected static com.google.gson.JsonObject getJSONOptObject(com.google.gson.JsonObject json, java.lang.String prop, com.google.gson.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
- - AJsonObject
from which the value needed has to be retrievedprop
- - AString
representing Key or Property name whose value has to be retrievedoptJson
- - OptionalJsonObject
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
-
getJSONOptObject
protected static com.google.gson.JsonObject getJSONOptObject(com.google.gson.JsonObject json, java.lang.String prop)
-
getJSONObject
protected static com.google.gson.JsonObject getJSONObject(com.google.gson.JsonObject json, java.lang.String prop) throws JSONException
Returns the JsonObject from the object passed for the given prop(key). If the property is not present, throws anJSONException
- Parameters:
json
- - AJsonObject
from which the value needed has to be retrievedprop
- - AString
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
- Since:
- 10.6 - Added for backward compatibility as this was the original behavior (before 10.3) when retrieving data from JSONObject
-
addPropertiesTag
protected void addPropertiesTag(RWDelta delta, com.google.gson.JsonObject props)
-
addPropertyTag
protected void addPropertyTag(RWDelta delta, java.lang.String attributeName, java.lang.String value)
-
addFormatProperties
protected static void addFormatProperties(com.google.gson.JsonObject jFormat, WebFormat webFormat) throws WebObjectsException
- Throws:
WebObjectsException
-
addGUID
protected void addGUID(RWDelta delta, com.google.gson.JsonObject action) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-