Interface ReferenceSelectorModel
- All Superinterfaces:
SelectorModel
- All Known Implementing Classes:
AbstractReferenceSelectorModel,DefaultMediaReferenceSelectorModel,DefaultReferenceSelectorModel
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.model.referenceeditor.SelectorModel
SelectorModel.Mode -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voiddoSearch(ObjectTemplate objectType, AdvancedSearchParameterContainer parameterContainer, int currentPage) intintintReturns the type for which this reference collection editor should search for.Returns the root type of this reference collection editor i.e.intvoidreset()voidsetActiveItems(Collection<TypedObject> items) Methods inherited from interface de.hybris.platform.cockpit.model.referenceeditor.SelectorModel
addSelectorModelListener, getItemLabel, getItems, getLabel, getMode, getValue, isMultiple, removeSelectorModelListener
-
Method Details
-
getActualSelectedTempItems
-
getActualSelectedItems
-
getNotConfirmedItems
-
getAutoCompleteResult
-
getSearchResult
-
getTemporaryItems
-
getMaxAutoCompleteResultSize
int getMaxAutoCompleteResultSize() -
getMinAutoCompleteTextLength
int getMinAutoCompleteTextLength() -
getPageSize
int getPageSize() -
reset
void reset() -
cancel
void cancel() -
getTotalSize
int getTotalSize() -
getRootType
ObjectType getRootType()Returns 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 bygetRootSearchType(). In this case information about the root type is generally needed for value handling.- Returns:
- the root type of this editor
- See Also:
-
getRootSearchType
ObjectType getRootSearchType()Returns 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 asgetRootType(). 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:
-
getTableModel
MutableTableModel getTableModel() -
createDefaultTableModel
MutableTableModel createDefaultTableModel() -
createAdvancedTableModel
DefaultAdvancedSearchModel createAdvancedTableModel() -
getAdvancedSearchModel
AdvancedSearchModel getAdvancedSearchModel() -
doSearch
void doSearch(ObjectTemplate objectType, AdvancedSearchParameterContainer parameterContainer, int currentPage) -
setActiveItems
-