public abstract class AbstractCustomerNameCustomColumn extends AbstractSimpleCustomColumnConfiguration<String,ItemModel>
AbstractSimpleCustomColumnConfiguration.SimpleCustomColumnValueHandlereditable, editor, name, selectable, sortable, visible| Constructor and Description |
|---|
AbstractCustomerNameCustomColumn() |
| Modifier and Type | Method and Description |
|---|---|
protected UserModel |
findUser(ItemModel item)
Given an item find the user.
|
protected abstract String |
getCustomerNameValue(UserModel user,
Locale locale)
Return customer name base on user item
|
String |
getItemValue(ItemModel item,
Locale locale)
Override this method to lookup the value for this column.
|
getCellEditor, getCellRenderer, getColumnDescriptor, getValueHandlergetAllLabels, getLabel, getLabel, getName, setAllLabels, setCellEditor, setLanguagesgetEditor, getLanguages, getParameter, getParameters, getPosition, getWidth, isEditable, isLocalized, isSelectable, isSortable, isVisible, setCellRenderer, setEditable, setEditor, setName, setParameter, setParameters, setPosition, setSelectable, setSortable, setVisible, setWidthpublic String getItemValue(ItemModel item, Locale locale) throws ValueHandlerException
AbstractSimpleCustomColumnConfigurationgetItemValue in class AbstractSimpleCustomColumnConfiguration<String,ItemModel>item - The item that this column is looked up onlocale - the display localValueHandlerException - thrown or errorprotected UserModel findUser(ItemModel item)
item - the itemprotected abstract String getCustomerNameValue(UserModel user, Locale locale) throws ValueHandlerException
user - the userlocale - the display localeValueHandlerExceptionCopyright © 2017 SAP SE. All Rights Reserved.