Interface Layouts.SaveRequestListener

All Superinterfaces:
LayoutSaveHandler<Map<String,Object>>
Enclosing interface:
Layouts
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated @FunctionalInterface public static interface Layouts.SaveRequestListener extends LayoutSaveHandler<Map<String,Object>>
Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Map<String,Object>
    Deprecated.
    Invoked when layout state save is requested to return context.
    Deprecated.
    Accepts context and provides it for GD.
  • Method Details

    • handle

      default Map<String,Object> handle(LayoutSaveRequest request)
      Deprecated.
      Description copied from interface: LayoutSaveHandler
      Invoked when layout state save is requested to return context.
      Specified by:
      handle in interface LayoutSaveHandler<Map<String,Object>>
      Parameters:
      request - save request, never null
      Returns:
      context to be saved with layout state
    • onSave

      Map<String,Object> onSave()
      Deprecated.
      Accepts context and provides it for GD. Does not accept parameters
      Returns:
      Map containing the context.