DefaultCollectionEditorModel.@Deprecated public class DefaultReferenceCollectionEditorModel extends AbstractCollectionEditorModel
| Modifier and Type | Field and Description |
|---|---|
protected DefaultReferenceSelectorModel |
referenceSelectorModel
Deprecated.
|
listeners| Constructor and Description |
|---|
DefaultReferenceCollectionEditorModel(ObjectType rootType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCollectionItem(Object item)
Deprecated.
|
void |
addCollectionItems(Collection<? extends Object> collection)
Deprecated.
|
void |
clearCollectionItems()
Deprecated.
|
List<Object> |
getCollectionItems()
Deprecated.
|
String |
getItemLabel(Object item)
Deprecated.
|
DefaultReferenceSelectorModel |
getReferenceSelectorModel()
Deprecated.
|
ObjectType |
getRootSearchType()
Deprecated.
Returns the type for which this reference collection editor should search for.
|
ObjectType |
getRootType()
Deprecated.
Returns the root type of this reference collection editor i.e.
|
TypeService |
getTypeService()
Deprecated.
|
protected void |
initializeReferenceSelectorModel(ObjectType rootType)
Deprecated.
|
boolean |
moveCollectionItem(int fromIndex,
int toIndex)
Deprecated.
|
boolean |
removeCollectionItem(int index)
Deprecated.
|
boolean |
removeCollectionItem(Object item)
Deprecated.
|
boolean |
removeCollectionItems(Collection indexes)
Deprecated.
|
void |
setCollectionItems(List<Object> collectionItems)
Deprecated.
|
void |
setParameters(Map<String,? extends Object> parameters)
Deprecated.
|
void |
setRootSearchType(ObjectType rootSearchType)
Deprecated.
Sets the type for which this reference selector should search for.
|
void |
setRootType(ObjectType rootType)
Deprecated.
Sets the root type of this reference selector i.e.
|
addCollectionEditorModelListener, fireChanged, fireCollectionItemsChanged, fireRootSearchTypeChanged, fireRootTypeChanged, getListeners, removeCollectionEditorModelListenerprotected DefaultReferenceSelectorModel referenceSelectorModel
public DefaultReferenceCollectionEditorModel(ObjectType rootType)
public DefaultReferenceSelectorModel getReferenceSelectorModel()
public void addCollectionItem(Object item)
public void addCollectionItems(Collection<? extends Object> collection)
public boolean removeCollectionItem(int index)
public boolean removeCollectionItem(Object item)
public boolean removeCollectionItems(Collection indexes)
public boolean moveCollectionItem(int fromIndex,
int toIndex)
public void clearCollectionItems()
public ObjectType getRootType()
CollectionEditorModelCollectionEditorModel.getRootSearchType(). In this case information about the root type is
generally needed for value handling.CollectionEditorModel.getRootSearchType()public void setRootType(ObjectType rootType)
getRootSearchType() will return the same
type as getRootType().rootType - reference typegetRootSearchType(),
setRootType(ObjectType),
setRootSearchType(ObjectType)public ObjectType getRootSearchType()
CollectionEditorModelCollectionEditorModel.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.CollectionEditorModel.getRootType()public void setRootSearchType(ObjectType rootSearchType)
rootSearchType is
null getRootSearchType() will return the same type as getRootType().rootSearchType - the type of the items to search forsetRootType(ObjectType),
getRootSearchType(),
getRootType()protected void initializeReferenceSelectorModel(ObjectType rootType)
public TypeService getTypeService()
Copyright © 2017 SAP SE. All Rights Reserved.