Class RestrictionDefinitionImpl

java.lang.Object
org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinitionImpl
All Implemented Interfaces:
RestrictionDefinition

public class RestrictionDefinitionImpl extends Object implements RestrictionDefinition
Default implementation of the RestrictionDefinition interface.
  • Constructor Details

    • RestrictionDefinitionImpl

      public RestrictionDefinitionImpl(@NotNull @NotNull String name, Type<?> type, boolean isMandatory)
      Create a new instance.
      Parameters:
      name - The oak name of the restriction definition.
      type - The required type of this definition. Any valid JCR PropertyType except PropertyType.UNDEFINED is allowed.
      isMandatory - A boolean indicating if the restriction is mandatory.
  • Method Details