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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionperformSave(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, setValidationHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.widgets.baseeditorarea.EditorAreaLogicHandler
executeSaveWithConfirmation
-
Field Details
-
MODEL_ALL_REFERENCED_OBJECTS
- See Also:
-
-
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:
performSavein interfacecom.hybris.cockpitng.widgets.baseeditorarea.EditorAreaLogicHandler- Overrides:
performSavein classcom.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler- Throws:
com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectSavingException
-