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.since 6.3, use insteadDefaultCollectionEditorModel.
-
-
Field Summary
Fields Modifier and Type Field Description protected DefaultReferenceSelectorModelreferenceSelectorModelDeprecated.-
Fields inherited from class de.hybris.platform.cockpit.model.referenceeditor.AbstractCollectionEditorModel
listeners
-
-
Constructor Summary
Constructors Constructor Description DefaultReferenceCollectionEditorModel(ObjectType rootType)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddCollectionItem(java.lang.Object item)Deprecated.voidaddCollectionItems(java.util.Collection<? extends java.lang.Object> collection)Deprecated.voidclearCollectionItems()Deprecated.java.util.List<java.lang.Object>getCollectionItems()Deprecated.java.lang.StringgetItemLabel(java.lang.Object item)Deprecated.DefaultReferenceSelectorModelgetReferenceSelectorModel()Deprecated.ObjectTypegetRootSearchType()Deprecated.Returns the type for which this reference collection editor should search for.ObjectTypegetRootType()Deprecated.Returns the root type of this reference collection editor i.e.TypeServicegetTypeService()Deprecated.protected voidinitializeReferenceSelectorModel(ObjectType rootType)Deprecated.booleanmoveCollectionItem(int fromIndex, int toIndex)Deprecated.booleanremoveCollectionItem(int index)Deprecated.booleanremoveCollectionItem(java.lang.Object item)Deprecated.booleanremoveCollectionItems(java.util.Collection indexes)Deprecated.voidsetCollectionItems(java.util.List<java.lang.Object> collectionItems)Deprecated.voidsetParameters(java.util.Map<java.lang.String,? extends java.lang.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 Detail
-
referenceSelectorModel
protected DefaultReferenceSelectorModel referenceSelectorModel
Deprecated.
-
-
Constructor Detail
-
DefaultReferenceCollectionEditorModel
public DefaultReferenceCollectionEditorModel(ObjectType rootType)
Deprecated.
-
-
Method Detail
-
setParameters
public void setParameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
Deprecated.
-
getReferenceSelectorModel
public DefaultReferenceSelectorModel getReferenceSelectorModel()
Deprecated.- Returns:
- the referenceSelectorModel
-
getCollectionItems
public java.util.List<java.lang.Object> getCollectionItems()
Deprecated.
-
setCollectionItems
public void setCollectionItems(java.util.List<java.lang.Object> collectionItems)
Deprecated.
-
addCollectionItem
public void addCollectionItem(java.lang.Object item)
Deprecated.
-
addCollectionItems
public void addCollectionItems(java.util.Collection<? extends java.lang.Object> collection)
Deprecated.
-
removeCollectionItem
public boolean removeCollectionItem(int index)
Deprecated.
-
removeCollectionItem
public boolean removeCollectionItem(java.lang.Object item)
Deprecated.
-
removeCollectionItems
public boolean removeCollectionItems(java.util.Collection indexes)
Deprecated.
-
moveCollectionItem
public boolean moveCollectionItem(int fromIndex, int toIndex)Deprecated.
-
clearCollectionItems
public void clearCollectionItems()
Deprecated.
-
getItemLabel
public java.lang.String getItemLabel(java.lang.Object item)
Deprecated.
-
getRootType
public ObjectType 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:
CollectionEditorModel.getRootSearchType()
-
setRootType
public void setRootType(ObjectType rootType)
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(),setRootType(ObjectType),setRootSearchType(ObjectType)
-
getRootSearchType
public ObjectType 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:
CollectionEditorModel.getRootType()
-
setRootSearchType
public void setRootSearchType(ObjectType rootSearchType)
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:
setRootType(ObjectType),getRootSearchType(),getRootType()
-
initializeReferenceSelectorModel
protected void initializeReferenceSelectorModel(ObjectType rootType)
Deprecated.
-
getTypeService
public TypeService getTypeService()
Deprecated.
-
-