Class RWManipulationBuilder

    • 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
      • setRealTimeSelectorExpressionHandler

        public void setRealTimeSelectorExpressionHandler​(RWDelta delta,
                                                         com.google.gson.JsonObject action,
                                                         WebObjectsFactory factory)
                                                  throws java.lang.Exception
        Handler for 'setRealTimeSelectorExpression' action to update and persist RT selector settings to the backend
        Parameters:
        delta - RW Delta
        action - The 'setRealTimeSelectorExpression' action
        factory - The factory for web objects
        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
      • saveDossierTransactionHandler

        public void saveDossierTransactionHandler​(RWDelta delta,
                                                  com.google.gson.JsonObject action,
                                                  WebObjectsFactory factory)
                                           throws java.lang.Exception
        Handler for 'saveDossierTransaction' action to save dossier transaction configurations to backend
        Parameters:
        delta - RW Delta
        action - The 'saveDossierTransaction' action
        factory - The factory for web objects
        Throws:
        java.lang.Exception
      • 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
      • setActionForDirectTargetSelectorsHandler

        public void setActionForDirectTargetSelectorsHandler​(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
      • setSelectorClearHandler

        public void setSelectorClearHandler​(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
      • addTransformationMetricHandler

        public void addTransformationMetricHandler​(RWDelta delta,
                                                   com.google.gson.JsonObject action,
                                                   WebObjectsFactory factory)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addRankMetricHandler

        public void addRankMetricHandler​(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 delta
        visualizationNodeKey - The node key of the visualization
        controlKey - The key of the control node of this visualization
        webExpression - 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 XML
        action - The set VLDB property action
        factory - 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 XML
        action - The set VLDB property action
        factory - 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 XML
        action - The set VLDB property action
        factory - The factory for web objects
        Throws:
        java.lang.Exception
      • setTimeZoneHandler

        public void setTimeZoneHandler​(RWDelta delta,
                                       com.google.gson.JsonObject action,
                                       WebObjectsFactory factory)
                                throws java.lang.Exception
        Method to generate the deltaXML for setting timezone on dossier
        Parameters:
        delta - The delta XML
        action - The set timezone action
        factory - The factory for web objects
        Throws:
        java.lang.Exception
      • setSelectorStatusHandler

        public void setSelectorStatusHandler​(RWDelta delta,
                                             com.google.gson.JsonObject action,
                                             WebObjectsFactory factory)
                                      throws java.lang.Exception
        set selector's status. - Lock Filter
        Parameters:
        delta -
        action -
        factory -
        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 -
      • 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 in
        action -
        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
      • updateNameHandler

        public void updateNameHandler​(RWDelta delta,
                                      com.google.gson.JsonObject action,
                                      WebObjectsFactory factory)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateDescriptionHandler

        public void updateDescriptionHandler​(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
      • passFilterContextToInfoWindowHandler

        public void passFilterContextToInfoWindowHandler​(RWDelta delta,
                                                         com.google.gson.JsonObject action,
                                                         WebObjectsFactory factory)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • submitTransaction

        public void submitTransaction​(RWDelta delta,
                                      com.google.gson.JsonObject action,
                                      WebObjectsFactory factory)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateDataTxnHandler

        public void updateDataTxnHandler​(RWDelta delta,
                                         com.google.gson.JsonObject action,
                                         WebObjectsFactory factory)
                                  throws java.lang.Exception
        Consumption update action type transaction workflow
        Parameters:
        delta - ; delta xml
        action - ; action that specify what cells to update
        factory - ; use for submit transaction
        Throws:
        java.lang.Exception
      • insertDataTxnHandler

        public void insertDataTxnHandler​(RWDelta delta,
                                         com.google.gson.JsonObject action,
                                         WebObjectsFactory factory)
                                  throws java.lang.Exception
        Takes in a client side request for inserting rows for the configured transaction
        Parameters:
        delta - - An instance of RWDelta class that contains XML delta information
        action - - A insert transaction action that specifies which rows should be inserted
        factory - - Instance of WebObjectFactory
        Throws:
        java.lang.Exception - if any runtime exception happens
      • deleteDataTxnHandler

        public void deleteDataTxnHandler​(RWDelta delta,
                                         com.google.gson.JsonObject action,
                                         WebObjectsFactory factory)
                                  throws java.lang.Exception
        Takes in a client side request for a delete data transaction for specified rows and creates a delta for the back-end server.
        Parameters:
        delta - - An instance of RWDelta class that contains XML delta information
        action - - A delete transaction that specifies which rows should get deleted
        factory - - Instance of WebObjectFactory
        Throws:
        java.lang.Exception - if any runtime exception happens
      • pauseTxnHandler

        public void pauseTxnHandler​(RWDelta delta,
                                    com.google.gson.JsonObject action,
                                    WebObjectsFactory factory)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • clearTxnHandler

        public void clearTxnHandler​(RWDelta delta,
                                    com.google.gson.JsonObject action,
                                    WebObjectsFactory factory)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateMultipleDataTxnHandler

        public void updateMultipleDataTxnHandler​(RWDelta delta,
                                                 com.google.gson.JsonObject action,
                                                 WebObjectsFactory factory)
                                          throws java.lang.Exception
        Consumption workflow to update the TXN changes with combo action type. This API is currently used by the python transaction, which may contains combo action type.
        Parameters:
        delta - RW Delta
        action - A delete transaction that specifies which data will be update
        factory - The factory for web objects
        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 - - 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
      • 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 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
        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 - - 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
      • 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 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
        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 - - 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
      • 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 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
        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 - - 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
      • 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 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
        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)
      • addGUID

        protected void addGUID​(RWDelta delta,
                               com.google.gson.JsonObject action)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception