Interface EffectiveNodeType


  • @ProviderType
    public interface EffectiveNodeType
    • 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