public abstract class ByIndexedChildNodes extends Object implements MultiFormView.EntryResolution<javax.jcr.Node>
ByIndexedChildNodes.Definition.strict
defaulting to
false. It can be only used if MultiFieldDefinition
uses JcrChildNodeProviderDefinition
or any other means that isolate multifield value nodes from non-related nodes. For
CurrentItemProvider
it needs to be set to true.
Prefer to use strict to true if possible, support for reading nodes with missing index or improperly named could
likely be removed in next major version.Modifier and Type | Class and Description |
---|---|
static class |
ByIndexedChildNodes.Definition
Definition of
ByIndexedChildNodes . |
Modifier and Type | Field and Description |
---|---|
protected ByIndexedChildNodes.Definition |
definition |
protected I18NAuthoringSupport<javax.jcr.Node> |
i18NAuthoringSupport |
protected Locale |
locale |
protected info.magnolia.config.NamedDefinition |
relatedPropertyDefinition |
Constructor and Description |
---|
ByIndexedChildNodes(ByIndexedChildNodes.Definition definition,
info.magnolia.config.NamedDefinition relatedPropertyDefinition,
I18NAuthoringSupport<javax.jcr.Node> i18NAuthoringSupport,
info.magnolia.objectfactory.ComponentProvider componentProvider,
Locale locale) |
ByIndexedChildNodes(info.magnolia.config.NamedDefinition relatedPropertyDefinition,
I18NAuthoringSupport<javax.jcr.Node> i18NAuthoringSupport,
info.magnolia.objectfactory.ComponentProvider componentProvider,
Locale locale)
Deprecated.
since 6.2.1, use
ByIndexedChildNodes(Definition, NamedDefinition, I18NAuthoringSupport, ComponentProvider, Locale) instead. |
Modifier and Type | Method and Description |
---|---|
protected Stream<javax.jcr.Node> |
getChildNodes(javax.jcr.Node rootNode,
String name) |
protected String |
getEntryPropertyNameBase() |
CompletableFuture<ComplexPropertyDefinition<javax.jcr.Node>> |
pick() |
protected abstract Optional<EditorDefinition<javax.jcr.Node>> |
resolveEntryEditorDefinition(javax.jcr.Node item,
int index) |
Stream<ComplexPropertyDefinition<javax.jcr.Node>> |
resolveForRoot(javax.jcr.Node rootNode) |
protected JcrIndexedChildNodeProvider.Definition |
resolveItemProvider(javax.jcr.Node node,
int index)
Deprecated.
|
protected Optional<ConfiguredComplexPropertyDefinition<javax.jcr.Node>> |
resolvePropertyDefinition(javax.jcr.Node item,
int index) |
protected final ByIndexedChildNodes.Definition definition
protected info.magnolia.config.NamedDefinition relatedPropertyDefinition
protected final I18NAuthoringSupport<javax.jcr.Node> i18NAuthoringSupport
protected final Locale locale
@Inject public ByIndexedChildNodes(ByIndexedChildNodes.Definition definition, info.magnolia.config.NamedDefinition relatedPropertyDefinition, I18NAuthoringSupport<javax.jcr.Node> i18NAuthoringSupport, info.magnolia.objectfactory.ComponentProvider componentProvider, Locale locale)
@Deprecated public ByIndexedChildNodes(info.magnolia.config.NamedDefinition relatedPropertyDefinition, I18NAuthoringSupport<javax.jcr.Node> i18NAuthoringSupport, info.magnolia.objectfactory.ComponentProvider componentProvider, Locale locale)
ByIndexedChildNodes(Definition, NamedDefinition, I18NAuthoringSupport, ComponentProvider, Locale)
instead.public CompletableFuture<ComplexPropertyDefinition<javax.jcr.Node>> pick()
pick
in interface MultiFormView.EntryResolution<javax.jcr.Node>
public Stream<ComplexPropertyDefinition<javax.jcr.Node>> resolveForRoot(javax.jcr.Node rootNode)
resolveForRoot
in interface MultiFormView.EntryResolution<javax.jcr.Node>
protected abstract Optional<EditorDefinition<javax.jcr.Node>> resolveEntryEditorDefinition(javax.jcr.Node item, int index)
protected Optional<ConfiguredComplexPropertyDefinition<javax.jcr.Node>> resolvePropertyDefinition(javax.jcr.Node item, int index)
@Deprecated protected JcrIndexedChildNodeProvider.Definition resolveItemProvider(javax.jcr.Node node, int index)
protected String getEntryPropertyNameBase()
Copyright © 2021 Magnolia International Ltd.. All rights reserved.