Interface EffectiveNodeType
-
@ProviderType public interface EffectiveNodeType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckMandatoryItems(@NotNull Tree tree)voidcheckOrderableChildNodes()voidcheckRemoveProperty(@NotNull PropertyState property)voidcheckSetProperty(@NotNull PropertyState property)@NotNull java.lang.Iterable<NodeDefinition>getAutoCreateNodeDefinitions()@NotNull java.lang.Iterable<PropertyDefinition>getAutoCreatePropertyDefinitions()@NotNull java.lang.Iterable<NodeDefinition>getMandatoryNodeDefinitions()@NotNull java.lang.Iterable<PropertyDefinition>getMandatoryPropertyDefinitions()@NotNull java.lang.Iterable<NodeDefinition>getNamedNodeDefinitions(@NotNull java.lang.String oakName)@NotNull java.lang.Iterable<PropertyDefinition>getNamedPropertyDefinitions(@NotNull java.lang.String oakName)@NotNull NodeDefinitiongetNodeDefinition(@NotNull java.lang.String childName, @Nullable EffectiveNodeType childEffective)@NotNull java.lang.Iterable<NodeDefinition>getNodeDefinitions()@NotNull PropertyDefinitiongetPropertyDefinition(@NotNull java.lang.String propertyName, boolean isMultiple, int type, boolean exactTypeMatch)@Nullable PropertyDefinitiongetPropertyDefinition(@NotNull java.lang.String name, int type, boolean unknownMultiple)@NotNull java.lang.Iterable<PropertyDefinition>getPropertyDefinitions()@NotNull java.lang.Iterable<NodeDefinition>getResidualNodeDefinitions()@NotNull java.lang.Iterable<PropertyDefinition>getResidualPropertyDefinitions()booleanincludesNodeType(@NotNull java.lang.String nodeTypeName)booleanincludesNodeTypes(@NotNull java.lang.String[] nodeTypeNames)booleansupportsMixin(@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<NodeDefinition> getNodeDefinitions()
-
getPropertyDefinitions
@NotNull @NotNull java.lang.Iterable<PropertyDefinition> getPropertyDefinitions()
-
getAutoCreateNodeDefinitions
@NotNull @NotNull java.lang.Iterable<NodeDefinition> getAutoCreateNodeDefinitions()
-
getAutoCreatePropertyDefinitions
@NotNull @NotNull java.lang.Iterable<PropertyDefinition> getAutoCreatePropertyDefinitions()
-
getMandatoryNodeDefinitions
@NotNull @NotNull java.lang.Iterable<NodeDefinition> getMandatoryNodeDefinitions()
-
getMandatoryPropertyDefinitions
@NotNull @NotNull java.lang.Iterable<PropertyDefinition> getMandatoryPropertyDefinitions()
-
getNamedNodeDefinitions
@NotNull @NotNull java.lang.Iterable<NodeDefinition> getNamedNodeDefinitions(@NotNull @NotNull java.lang.String oakName)
-
getNamedPropertyDefinitions
@NotNull @NotNull java.lang.Iterable<PropertyDefinition> getNamedPropertyDefinitions(@NotNull @NotNull java.lang.String oakName)
-
getResidualNodeDefinitions
@NotNull @NotNull java.lang.Iterable<NodeDefinition> getResidualNodeDefinitions()
-
getResidualPropertyDefinitions
@NotNull @NotNull java.lang.Iterable<PropertyDefinition> getResidualPropertyDefinitions()
-
checkSetProperty
void checkSetProperty(@NotNull @NotNull PropertyState property) throws RepositoryException- Throws:
RepositoryException
-
checkRemoveProperty
void checkRemoveProperty(@NotNull @NotNull PropertyState property) throws RepositoryException- Throws:
RepositoryException
-
checkMandatoryItems
void checkMandatoryItems(@NotNull @NotNull Tree tree) throws ConstraintViolationException- Throws:
ConstraintViolationException
-
checkOrderableChildNodes
void checkOrderableChildNodes() throws UnsupportedRepositoryOperationException
-
getPropertyDefinition
@NotNull @NotNull PropertyDefinition getPropertyDefinition(@NotNull @NotNull java.lang.String propertyName, boolean isMultiple, int type, boolean exactTypeMatch) throws ConstraintViolationException
- Throws:
ConstraintViolationException
-
getPropertyDefinition
@Nullable @Nullable PropertyDefinition getPropertyDefinition(@NotNull @NotNull java.lang.String name, int type, boolean unknownMultiple)
-
getNodeDefinition
@NotNull @NotNull NodeDefinition getNodeDefinition(@NotNull @NotNull java.lang.String childName, @Nullable @Nullable EffectiveNodeType childEffective) throws ConstraintViolationException
- Throws:
ConstraintViolationException
-
-