@PublicSpi public static interface StructureGenerator.Inserter extends StructureGenerator
StructureGenerator.ApplicabilityChecker, StructureGenerator.Context, StructureGenerator.EffectContext, StructureGenerator.Extender, StructureGenerator.Filter, StructureGenerator.GenerationContext, StructureGenerator.Grouper, StructureGenerator.HandlingContext, StructureGenerator.Inserter, StructureGenerator.ItemChangeFilterContext, StructureGenerator.Sorter
Modifier and Type | Method and Description |
---|---|
void |
createFragment(Map<String,Object> parameters,
StructureGenerator.GenerationContext context,
ItemForestBuilder builder)
Builds a forest fragment.
|
addDefaultFormParameters, addParametersForSummary, addParametersToForm, buildParametersFromForm, isAvailable
void createFragment(@NotNull Map<String,Object> parameters, @NotNull StructureGenerator.GenerationContext context, @NotNull ItemForestBuilder builder)
Builds a forest fragment. The Structure core inserts the fragment right after the row with this Inserter.
StructureItemType#isVisible()
method hides items those a user is not permitted to see, the Inserter implementation ought to check
an item visibility before insertion.
If the implementation inserts an invisible item, the Structure hides it from the user, but the Structure does not hide
the item from a subsequent generator (if any). So the generator may disclose a private data from the item
by aggregating it or in some similar way.parameters
- configuration parameters. See StructureGenerator.buildParametersFromForm(Map, ErrorCollection)
context
- a generation contextbuilder
- a forest builderCopyright © 2024 Tempo Software. All Rights Reserved.