Class DefaultListWidgetModel<E>

java.lang.Object
de.hybris.platform.cockpit.widgets.models.impl.AbstractWidgetModel
de.hybris.platform.cockpit.widgets.models.impl.DefaultListWidgetModel<E>
All Implemented Interfaces:
ListWidgetModel<E>, WidgetModel

public class DefaultListWidgetModel<E> extends AbstractWidgetModel implements ListWidgetModel<E>
  • Constructor Details

    • DefaultListWidgetModel

      public DefaultListWidgetModel()
  • Method Details

    • getItems

      public List<E> getItems()
      Description copied from interface: ListWidgetModel
      Returns the items held by this model.
      Specified by:
      getItems in interface ListWidgetModel<E>
      Returns:
      the items held by this model
    • setItems

      public boolean setItems(List<E> items)
      Description copied from interface: ListWidgetModel
      Sets the items held by this model.
      Specified by:
      setItems in interface ListWidgetModel<E>
      Parameters:
      items - the items
      Returns:
      true if a change was made, false otherwise