Interface ColumnProvider
-
@ConsumerType public interface ColumnProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Column
getColumn()
The column handled by this handlerdefault java.lang.Object
getValue(InboxItem inboxItem)
The underlying value of the column for the given Inbox Item.
-
-
-
Method Detail
-
getColumn
@Nonnull Column getColumn()
The column handled by this handler- Returns:
- Column definition
-
getValue
default java.lang.Object getValue(InboxItem inboxItem)
The underlying value of the column for the given Inbox Item. Used for sorting the items by current column. If template path and template name aren't provide inColumn
definition, this value is also used to render the cell content of the column (by html encoding the provided 'value') The type of returned value must match the type provided fromColumn.getType()
.- Parameters:
inboxItem
- theInboxItem
- Returns:
- Underlying value of column for inbox item
-
-