public final class Utils
extends java.lang.Object
Utils
provide some utility methods.Modifier and Type | Method and Description |
---|---|
static boolean |
isFrozenNodeReferenceable(@NotNull NodeState root)
Returns
true iff there is a nt:frozenNode definition and
the definition has a mix:referenceable supertype. |
static boolean |
isFrozenNodeReferenceable(@NotNull ReadOnlyNodeTypeManager ntMgr)
Returns
true iff there is a nt:frozenNode definition and
the definition has a mix:referenceable supertype. |
public static boolean isFrozenNodeReferenceable(@NotNull @NotNull NodeState root)
true
iff there is a nt:frozenNode
definition and
the definition has a mix:referenceable
supertype.root
- the root of a repository from where to read the node type
information.true
if frozen nodes are referenceable, false
otherwise.public static boolean isFrozenNodeReferenceable(@NotNull @NotNull ReadOnlyNodeTypeManager ntMgr)
true
iff there is a nt:frozenNode
definition and
the definition has a mix:referenceable
supertype.ntMgr
- a node type manager to access the node types.true
if frozen nodes are referenceable, false
otherwise.Copyright © 2010 - 2023 Adobe. All Rights Reserved