@PublicApi public interface ScanningAttributeContext extends RowAttributeContext
The context interface for scanning attribute loaders.
ScanningAttributeLoader| Modifier and Type | Method and Description |
|---|---|
int |
getDepth()
Returns the depth of the row currently being loaded.
|
StructureRow |
getPrecedingRow()
Returns the row that immediately precedes this row in the forest.
|
int |
getPrecedingRowDepth()
Returns the depth of the row that immediately precedes this row in the forest.
|
getRowaddTrail, addTrail, getDependencyAttributeValue, getDependencyValue, valueExpiresgetBaseStructureId, getBaseUrl, getI18n, getI18nHelper, getLoadTimeMillis, getLoadTimeNanos, getLocale, getObject, getTimeZone, getUser, putObjectint getDepth()
Returns the depth of the row currently being loaded.
Root elements have depth of 0. Super-root is never loaded with a scanning loader.
@Nullable StructureRow getPrecedingRow()
null (and not the super-root!)int getPrecedingRowDepth()
Returns the depth of the row that immediately precedes this row in the forest. When calculating the very first row, returns -1.
Root elements have depth of 0. Super-root is never loaded with a scanning loader.
Copyright © 2022 ALM Works. All Rights Reserved.