Class Utils
- java.lang.Object
 - 
- org.apache.jackrabbit.oak.plugins.version.Utils
 
 
- 
public final class Utils extends java.lang.ObjectUtilsprovide some utility methods. 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
- 
isFrozenNodeReferenceable
public static boolean isFrozenNodeReferenceable(@NotNull @NotNull NodeState root)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
public static boolean isFrozenNodeReferenceable(@NotNull @NotNull ReadOnlyNodeTypeManager ntMgr)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.
 
 - 
 
 -