@PublicApi
public interface ExportRow
ExportRow
represents a particular item in an exported Forest
.Modifier and Type | Method and Description |
---|---|
<T> T |
get(AttributeSpec<T> attribute)
Gets a value of an attribute for this row.
|
<T> T |
get(AttributeSpec<T> attribute,
boolean afterFiltering)
Deprecated.
Since Structure 5.3 you don't need to track the
afterFiltering flag,
please use get(AttributeSpec) instead. |
int |
getDepth() |
StructureRow |
getRow()
Returns the current
StructureRow instance. |
long |
getRowId() |
boolean |
isExpanded() |
boolean |
isLeaf() |
@NotNull StructureRow getRow()
Returns the current StructureRow
instance.
long getRowId()
int getDepth()
Forest
.boolean isExpanded()
true
if the current row is expanded in the exported
Forest
.boolean isLeaf()
true
if the current row has no sub-rows in the exported
Forest
.@Nullable <T> T get(AttributeSpec<T> attribute)
ExportRequestContext.requireAttribute(AttributeSpec)
from ExportRenderer.prepare(ExportRequestContext)
or
ExportRendererProvider.getColumnRenderer(ExportFormat, ViewSpecification.Column, ExportRequestContext)
.T
- attribute format typeattribute
- attribute specification@Deprecated @Nullable <T> T get(AttributeSpec<T> attribute, boolean afterFiltering)
afterFiltering
flag,
please use get(AttributeSpec)
instead.ExportRequestContext.requireAttribute(AttributeSpec, boolean)
from ExportRenderer.prepare(ExportRequestContext)
or
ExportRendererProvider.getColumnRenderer(ExportFormat, ViewSpecification.Column, ExportRequestContext)
with exactly the same value of afterFiltering
.T
- attribute format typeattribute
- attribute specificationafterFiltering
- If true, then values are taken for the forest being exported; if false, the values are
taken for the same forest, but without filtering transformations.Copyright © 2019 ALM Works. All Rights Reserved.