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 Summary
Constructors Constructor Description DefaultListWidgetModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<E>getItems()Returns the items held by this model.booleansetItems(java.util.List<E> items)Sets the items held by this model.-
Methods inherited from class de.hybris.platform.cockpit.widgets.models.impl.AbstractWidgetModel
addWidgetModelListener, getWidgetModelListeners, notifyListeners, notifyListeners, removeWidgetModelLlistener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.widgets.models.WidgetModel
addWidgetModelListener, notifyListeners, removeWidgetModelLlistener
-
-
-
-
Method Detail
-
getItems
public java.util.List<E> getItems()
Description copied from interface:ListWidgetModelReturns the items held by this model.- Specified by:
getItemsin interfaceListWidgetModel<E>- Returns:
- the items held by this model
-
setItems
public boolean setItems(java.util.List<E> items)
Description copied from interface:ListWidgetModelSets the items held by this model.- Specified by:
setItemsin interfaceListWidgetModel<E>- Parameters:
items- the items- Returns:
- true if a change was made, false otherwise
-
-