Class AbstractCollectionEditorModel
- java.lang.Object
-
- de.hybris.platform.cockpit.model.referenceeditor.collection.model.AbstractCollectionEditorModel
-
- All Implemented Interfaces:
CollectionEditorModel
- Direct Known Subclasses:
DefaultCollectionEditorModel
public abstract class AbstractCollectionEditorModel extends java.lang.Object implements CollectionEditorModel
An abstract class that should be extended in order to write ownReference Collection Editor Model. Note:
Contains several methods responsible for several editor notifications.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<CollectionEditorModelListener>listeners
-
Constructor Summary
Constructors Constructor Description AbstractCollectionEditorModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCollectionEditorModelListener(CollectionEditorModelListener modelListener)protected voidfireCollectionItemsChanged()protected voidfireRootSearchTypeChanged()protected voidfireRootTypeChanged()java.util.List<CollectionEditorModelListener>getListeners()voidremoveCollectionEditorModelListener(CollectionEditorModelListener modelListener)-
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.model.referenceeditor.collection.model.CollectionEditorModel
addCollectionItem, addCollectionItems, getCollectionItems, getItemLabel, getRootSearchType, getRootType, getSimpleReferenceSelectorModel
-
-
-
-
Field Detail
-
listeners
protected final java.util.List<CollectionEditorModelListener> listeners
-
-
Method Detail
-
getListeners
public java.util.List<CollectionEditorModelListener> getListeners()
-
fireCollectionItemsChanged
protected void fireCollectionItemsChanged()
-
addCollectionEditorModelListener
public void addCollectionEditorModelListener(CollectionEditorModelListener modelListener)
- Specified by:
addCollectionEditorModelListenerin interfaceCollectionEditorModel
-
removeCollectionEditorModelListener
public void removeCollectionEditorModelListener(CollectionEditorModelListener modelListener)
- Specified by:
removeCollectionEditorModelListenerin interfaceCollectionEditorModel
-
fireRootTypeChanged
protected void fireRootTypeChanged()
-
fireRootSearchTypeChanged
protected void fireRootSearchTypeChanged()
-
-