Class DefaultReferenceCollectionEditorModel
java.lang.Object
de.hybris.platform.cockpit.model.referenceeditor.AbstractCollectionEditorModel
de.hybris.platform.cockpit.model.referenceeditor.impl.DefaultReferenceCollectionEditorModel
- All Implemented Interfaces:
CollectionEditorModel
- Direct Known Subclasses:
DefaultMediaReferenceCollectionEditorModel
@Deprecated
public class DefaultReferenceCollectionEditorModel
extends AbstractCollectionEditorModel
Deprecated.
-
Field Summary
FieldsFields inherited from class de.hybris.platform.cockpit.model.referenceeditor.AbstractCollectionEditorModel
listeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCollectionItem(Object item) Deprecated.voidaddCollectionItems(Collection<? extends Object> collection) Deprecated.voidDeprecated.Deprecated.getItemLabel(Object item) Deprecated.Deprecated.Deprecated.Returns the type for which this reference collection editor should search for.Deprecated.Returns the root type of this reference collection editor i.e.Deprecated.protected voidinitializeReferenceSelectorModel(ObjectType rootType) Deprecated.booleanmoveCollectionItem(int fromIndex, int toIndex) Deprecated.booleanremoveCollectionItem(int index) Deprecated.booleanremoveCollectionItem(Object item) Deprecated.booleanremoveCollectionItems(Collection indexes) Deprecated.voidsetCollectionItems(List<Object> collectionItems) Deprecated.voidsetParameters(Map<String, ? extends Object> parameters) Deprecated.voidsetRootSearchType(ObjectType rootSearchType) Deprecated.Sets the type for which this reference selector should search for.voidsetRootType(ObjectType rootType) Deprecated.Sets the root type of this reference selector i.e.Methods inherited from class de.hybris.platform.cockpit.model.referenceeditor.AbstractCollectionEditorModel
addCollectionEditorModelListener, fireChanged, fireCollectionItemsChanged, fireRootSearchTypeChanged, fireRootTypeChanged, getListeners, removeCollectionEditorModelListener
-
Field Details
-
referenceSelectorModel
Deprecated.
-
-
Constructor Details
-
DefaultReferenceCollectionEditorModel
Deprecated.
-
-
Method Details
-
setParameters
Deprecated. -
getReferenceSelectorModel
Deprecated.- Returns:
- the referenceSelectorModel
-
getCollectionItems
Deprecated. -
setCollectionItems
Deprecated. -
addCollectionItem
Deprecated. -
addCollectionItems
Deprecated. -
removeCollectionItem
public boolean removeCollectionItem(int index) Deprecated. -
removeCollectionItem
Deprecated. -
removeCollectionItems
Deprecated. -
moveCollectionItem
public boolean moveCollectionItem(int fromIndex, int toIndex) Deprecated. -
clearCollectionItems
public void clearCollectionItems()Deprecated. -
getItemLabel
Deprecated. -
getRootType
Deprecated.Description copied from interface:CollectionEditorModelReturns the root type of this reference collection editor i.e. the type of the items which this editor should hold references to. Note: If the root search type differs from the root type, this editor will actually hold items of the type returned byCollectionEditorModel.getRootSearchType(). In this case information about the root type is generally needed for value handling.- Returns:
- the root type of this editor
- See Also:
-
setRootType
Deprecated.Sets the root type of this reference selector i.e. the type of the items which this editor should hold references to. Note: Unless search type has been set explicitly,getRootSearchType()will return the same type asgetRootType().- Parameters:
rootType- reference type- See Also:
-
getRootSearchType
Deprecated.Description copied from interface:CollectionEditorModelReturns the type for which this reference collection editor should search for. Generally, if no root search type has been explicitly set, this method returns the same type asCollectionEditorModel.getRootType(). Note: The root search type is actually the type of the items held by this editor, whereas root type is the type which should be used for persisting values.- Returns:
- the type for which this reference collection editor should search for
- See Also:
-
setRootSearchType
Deprecated.Sets the type for which this reference selector should search for. IfrootSearchTypeisnullgetRootSearchType()will return the same type asgetRootType().- Parameters:
rootSearchType- the type of the items to search for- See Also:
-
initializeReferenceSelectorModel
Deprecated. -
getTypeService
Deprecated.
-
DefaultCollectionEditorModel.