public abstract class AbstractCustomerNameCustomColumn extends AbstractSimpleCustomColumnConfiguration<java.lang.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 java.lang.String |
getCustomerNameValue(UserModel user,
java.util.Locale locale)
Return customer name base on user item
|
java.lang.String |
getItemValue(ItemModel item,
java.util.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 java.lang.String getItemValue(ItemModel item, java.util.Locale locale) throws ValueHandlerException
AbstractSimpleCustomColumnConfigurationgetItemValue in class AbstractSimpleCustomColumnConfiguration<java.lang.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 java.lang.String getCustomerNameValue(UserModel user, java.util.Locale locale) throws ValueHandlerException
user - the userlocale - the display localeValueHandlerExceptionCopyright © 2018 SAP SE. All Rights Reserved.