Class RelatedItemAnnotationColumn
java.lang.Object
net.sf.basedb.clients.web.extensions.DynamicActionAttributeSupport
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.RelatedItemAnnotationColumn
- All Implemented Interfaces:
DynamicActionAttributes
,ListColumnAction<Annotatable,
,Object> Action
Related item column that load annotation values from the parent or child items.
- Since:
- 3.16, 3.17
- Author:
- nicklas
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.basedb.clients.web.extensions.list.RelatedItemColumn
RelatedItemColumn.Specification
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AnnotationType
private final Filter<AnnotationSnapshot>
-
Constructor Summary
ConstructorDescriptionRelatedItemAnnotationColumn
(DbControl dc, int index, RelatedItemColumn.Specification spec, RelatedItemHelper helper, AnnotationType at) -
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, getFilterClass, getFilterProperty, getFilterText, getFormatter, getId, getProperty, getSortProperty, getStyle, getSubtitle, getTitle, getTooltip, getValueType, isExportable, isFilterable, isSortable, setCellClass, setCellStyle, setClazz, setCollectionFormatter, setDisableOverflowCheck, setEnumeration, setExportable, setExportFormatter, setExportProperty, setExportTitle, setFilterable, setFilterClass, setFilterProperty, setFilterText, setFormatter, setId, setProperty, setSortable, setSortProperty, setStyle, setSubtitle, setTitle, setTooltip, setValueType
Methods inherited from class net.sf.basedb.clients.web.extensions.DynamicActionAttributeSupport
addAttributes, getAttributesString, getDynamicActionAttributes, setDynamicActionAttributesSource, setDynamicAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.basedb.clients.web.extensions.list.ListColumnAction
getDynamicActionAttributes
-
Field Details
-
at
-
atFilter
-
-
Constructor Details
-
RelatedItemAnnotationColumn
RelatedItemAnnotationColumn(DbControl dc, int index, RelatedItemColumn.Specification spec, RelatedItemHelper helper, AnnotationType at)
-
-
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
-