Interface EffectiveNodeType
-
@ProviderType public interface EffectiveNodeType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkMandatoryItems(@NotNull org.apache.jackrabbit.oak.api.Tree tree)
void
checkOrderableChildNodes()
void
checkRemoveProperty(@NotNull org.apache.jackrabbit.oak.api.PropertyState property)
void
checkSetProperty(@NotNull org.apache.jackrabbit.oak.api.PropertyState property)
@NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition>
getAutoCreateNodeDefinitions()
@NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition>
getAutoCreatePropertyDefinitions()
@NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition>
getMandatoryNodeDefinitions()
@NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition>
getMandatoryPropertyDefinitions()
@NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition>
getNamedNodeDefinitions(@NotNull java.lang.String oakName)
@NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition>
getNamedPropertyDefinitions(@NotNull java.lang.String oakName)
@NotNull javax.jcr.nodetype.NodeDefinition
getNodeDefinition(@NotNull java.lang.String childName, @Nullable EffectiveNodeType childEffective)
@NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition>
getNodeDefinitions()
@NotNull javax.jcr.nodetype.PropertyDefinition
getPropertyDefinition(@NotNull java.lang.String propertyName, boolean isMultiple, int type, boolean exactTypeMatch)
@Nullable javax.jcr.nodetype.PropertyDefinition
getPropertyDefinition(@NotNull java.lang.String name, int type, boolean unknownMultiple)
@NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition>
getPropertyDefinitions()
@NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition>
getResidualNodeDefinitions()
@NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition>
getResidualPropertyDefinitions()
boolean
includesNodeType(@NotNull java.lang.String nodeTypeName)
boolean
includesNodeTypes(@NotNull java.lang.String[] nodeTypeNames)
boolean
supportsMixin(@NotNull java.lang.String mixin)
-
-
-
Method Detail
-
includesNodeType
boolean includesNodeType(@NotNull @NotNull java.lang.String nodeTypeName)
-
includesNodeTypes
boolean includesNodeTypes(@NotNull @NotNull java.lang.String[] nodeTypeNames)
-
supportsMixin
boolean supportsMixin(@NotNull @NotNull java.lang.String mixin)
-
getNodeDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition> getNodeDefinitions()
-
getPropertyDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition> getPropertyDefinitions()
-
getAutoCreateNodeDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition> getAutoCreateNodeDefinitions()
-
getAutoCreatePropertyDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition> getAutoCreatePropertyDefinitions()
-
getMandatoryNodeDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition> getMandatoryNodeDefinitions()
-
getMandatoryPropertyDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition> getMandatoryPropertyDefinitions()
-
getNamedNodeDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition> getNamedNodeDefinitions(@NotNull @NotNull java.lang.String oakName)
-
getNamedPropertyDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition> getNamedPropertyDefinitions(@NotNull @NotNull java.lang.String oakName)
-
getResidualNodeDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.NodeDefinition> getResidualNodeDefinitions()
-
getResidualPropertyDefinitions
@NotNull @NotNull java.lang.Iterable<javax.jcr.nodetype.PropertyDefinition> getResidualPropertyDefinitions()
-
checkSetProperty
void checkSetProperty(@NotNull @NotNull org.apache.jackrabbit.oak.api.PropertyState property) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
checkRemoveProperty
void checkRemoveProperty(@NotNull @NotNull org.apache.jackrabbit.oak.api.PropertyState property) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
checkMandatoryItems
void checkMandatoryItems(@NotNull @NotNull org.apache.jackrabbit.oak.api.Tree tree) throws javax.jcr.nodetype.ConstraintViolationException
- Throws:
javax.jcr.nodetype.ConstraintViolationException
-
checkOrderableChildNodes
void checkOrderableChildNodes() throws javax.jcr.UnsupportedRepositoryOperationException
- Throws:
javax.jcr.UnsupportedRepositoryOperationException
-
getPropertyDefinition
@NotNull @NotNull javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(@NotNull @NotNull java.lang.String propertyName, boolean isMultiple, int type, boolean exactTypeMatch) throws javax.jcr.nodetype.ConstraintViolationException
- Throws:
javax.jcr.nodetype.ConstraintViolationException
-
getPropertyDefinition
@Nullable @Nullable javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(@NotNull @NotNull java.lang.String name, int type, boolean unknownMultiple)
-
getNodeDefinition
@NotNull @NotNull javax.jcr.nodetype.NodeDefinition getNodeDefinition(@NotNull @NotNull java.lang.String childName, @Nullable @Nullable EffectiveNodeType childEffective) throws javax.jcr.nodetype.ConstraintViolationException
- Throws:
javax.jcr.nodetype.ConstraintViolationException
-
-