Class RelatedItemListColumn
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.RelatedItemListColumn
- All Implemented Interfaces:
DynamicActionAttributes
,ListColumnAction<Annotatable,
,Object> Action
Related item column that get the item lists that the parent or child
item is a member of.
- Since:
- 3.18
- 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
ConstructorDescriptionRelatedItemListColumn
(DbControl dc, int index, RelatedItemColumn.Specification spec, Filter<? super ItemList> itemListFilter, RelatedItemHelper helper) -
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
-
listQuery
-
-
Constructor Details
-
RelatedItemListColumn
RelatedItemListColumn(DbControl dc, int index, RelatedItemColumn.Specification spec, Filter<? super ItemList> itemListFilter, RelatedItemHelper helper)
-
-
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
-