Class Utils
java.lang.Object
org.apache.jackrabbit.oak.plugins.version.Utils
Utils provide some utility methods.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisFrozenNodeReferenceable(@NotNull ReadOnlyNodeTypeManager ntMgr) Returnstrueiff there is ant:frozenNodedefinition and the definition has amix:referenceablesupertype.static booleanisFrozenNodeReferenceable(@NotNull NodeState root) Returnstrueiff there is ant:frozenNodedefinition and the definition has amix:referenceablesupertype.
-
Method Details
-
isFrozenNodeReferenceable
Returnstrueiff there is ant:frozenNodedefinition and the definition has amix:referenceablesupertype.- Parameters:
root- the root of a repository from where to read the node type information.- Returns:
trueif frozen nodes are referenceable,falseotherwise.
-
isFrozenNodeReferenceable
Returnstrueiff there is ant:frozenNodedefinition and the definition has amix:referenceablesupertype.- Parameters:
ntMgr- a node type manager to access the node types.- Returns:
trueif frozen nodes are referenceable,falseotherwise.
-