Class NestedAttributeEditorAreaLogicHandler

java.lang.Object
com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler
de.hybris.platform.configurablebundlebackoffice.widgets.editorarea.handlers.NestedAttributeEditorAreaLogicHandler
All Implemented Interfaces:
com.hybris.cockpitng.widgets.baseeditorarea.EditorAreaLogicHandler

public class NestedAttributeEditorAreaLogicHandler extends com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler
In addition to the default behavior of saving current object this handler collects referenced objects registered within WidgetModel under the key "referencedObjects" and performs save action on them. Internally each item is checked if any modifications have occurred and invokes internal save only for the items that have changed their state.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    performSave(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, Object currentObject)
     

    Methods inherited from class com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler

    beforeEditorAreaRender, getObjectFacade, getValidationHandler, performRefresh, performValidation, performValidation, setObjectFacade, setValidationHandler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.hybris.cockpitng.widgets.baseeditorarea.EditorAreaLogicHandler

    executeSaveWithConfirmation
  • Field Details

  • Constructor Details

    • NestedAttributeEditorAreaLogicHandler

      public NestedAttributeEditorAreaLogicHandler()
  • Method Details

    • performSave

      public Object performSave(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, Object currentObject) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectSavingException
      Specified by:
      performSave in interface com.hybris.cockpitng.widgets.baseeditorarea.EditorAreaLogicHandler
      Overrides:
      performSave in class com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler
      Throws:
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectSavingException