Class RelatedItemErrorColumn
java.lang.Object
net.sf.basedb.clients.web.extensions.list.AbstractListColumnBean<Annotatable,Object>
net.sf.basedb.clients.web.extensions.list.RelatedItemColumn
net.sf.basedb.clients.web.extensions.list.RelatedItemErrorColumn
- All Implemented Interfaces:
ListColumnAction<Annotatable,
,Object> Action
Related item column that displays an error message.
- Since:
- 3.19.4
- Author:
- nicklas
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.basedb.clients.web.extensions.list.RelatedItemColumn
RelatedItemColumn.Specification
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRelatedItemErrorColumn
(int index, RelatedItemColumn.Specification spec, RelatedItemHelper helper, String error) -
Method Summary
Modifier and TypeMethodDescriptiongetValue
(RelatedItemHelper helper, Annotatable item, SourceItemTransformer preTransform) Alternate implementation for loading data.Methods inherited from class net.sf.basedb.clients.web.extensions.list.RelatedItemColumn
create, getExportValue, getExportValue, getRelatedItems, getSpecification, getTransformer, getValue, isLazy
Methods inherited from class net.sf.basedb.clients.web.extensions.list.AbstractListColumnBean
getCellClass, getCellStyle, getClazz, getCollectionFormatter, getDisableOverflowCheck, getEnumeration, getExportFormatter, getExportProperty, getExportTitle, getFilterProperty, getFormatter, getId, getProperty, getSortProperty, getStyle, getSubtitle, getTitle, getTooltip, getValueType, isExportable, isFilterable, isSortable, setCellClass, setCellStyle, setClazz, setCollectionFormatter, setDisableOverflowCheck, setEnumeration, setExportable, setExportFormatter, setExportProperty, setExportTitle, setFilterable, setFilterProperty, setFormatter, setId, setProperty, setSortable, setSortProperty, setStyle, setSubtitle, setTitle, setTooltip, setValueType
-
Field Details
-
error
-
-
Constructor Details
-
RelatedItemErrorColumn
RelatedItemErrorColumn(int index, RelatedItemColumn.Specification spec, RelatedItemHelper helper, String error)
-
-
Method Details
-
getValue
public Object getValue(RelatedItemHelper helper, Annotatable item, SourceItemTransformer preTransform) Description copied from class:RelatedItemColumn
Alternate implementation for loading data. The item is normally an item of the expected source type, but if a preTransform is present, the item may be of different type and must be processed with theSourceItemTransformer.transform(net.sf.basedb.util.listable.TransformContext, Set)
method first. In most cases, implementation should simply callRelatedItemColumn.getRelatedItems(Annotatable, SourceItemTransformer)
to load the final target items.- Specified by:
getValue
in classRelatedItemColumn
-