Tabnine Logo
TypeEditor.createEffectiveType
Code IndexAdd Tabnine to your IDE (free)

How to use
createEffectiveType
method
in
org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor

Best Java code snippets using org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.createEffectiveType (Showing top 6 results out of 315)

origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

TypeEditor(
    ConstraintViolationCallback callback, Set<String> typesToCheck, NodeState types,
    String primary, Iterable<String> mixins, NodeBuilder builder)
    throws CommitFailedException {
  this.callback = checkNotNull(callback);
  this.typesToCheck = typesToCheck;
  this.checkThisNode =
      typesToCheck == null
      || typesToCheck.contains(primary)
      || any(mixins, in(typesToCheck));
  this.parent = null;
  this.nodeName = null;
  this.types = checkNotNull(types);
  this.effective = createEffectiveType(null, null, primary, mixins);
  this.builder = checkNotNull(builder);
  this.validate = false;
}
origin: org.apache.jackrabbit/oak-core

private TypeEditor(
    @NotNull TypeEditor parent, @NotNull String name,
    @Nullable String primary, @NotNull Iterable<String> mixins, @NotNull NodeBuilder builder,
    boolean validate)
    throws CommitFailedException {
  this.valueFactory = parent.valueFactory;
  this.callback = parent.callback;
  this.typesToCheck = parent.typesToCheck;
  this.checkThisNode =
      typesToCheck == null
      || typesToCheck.contains(primary)
      || any(mixins, in(typesToCheck));
  this.parent = checkNotNull(parent);
  this.nodeName = checkNotNull(name);
  this.types = parent.types;
  this.effective = createEffectiveType(parent.effective, name, primary, mixins);
  this.builder = checkNotNull(builder);
  this.validate = validate;
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

private TypeEditor(
    @Nonnull TypeEditor parent, @Nonnull String name,
    @CheckForNull String primary, @Nonnull Iterable<String> mixins, @Nonnull NodeBuilder builder,
    boolean validate)
    throws CommitFailedException {
  this.callback= parent.callback;
  this.typesToCheck = parent.typesToCheck;
  this.checkThisNode =
      typesToCheck == null
      || typesToCheck.contains(primary)
      || any(mixins, in(typesToCheck));
  this.parent = checkNotNull(parent);
  this.nodeName = checkNotNull(name);
  this.types = parent.types;
  this.effective = createEffectiveType(parent.effective, name, primary, mixins);
  this.builder = checkNotNull(builder);
  this.validate = validate;
}
origin: apache/jackrabbit-oak

private TypeEditor(
    @NotNull TypeEditor parent, @NotNull String name,
    @Nullable String primary, @NotNull Iterable<String> mixins, @NotNull NodeBuilder builder,
    boolean validate)
    throws CommitFailedException {
  this.valueFactory = parent.valueFactory;
  this.callback = parent.callback;
  this.typesToCheck = parent.typesToCheck;
  this.checkThisNode =
      typesToCheck == null
      || typesToCheck.contains(primary)
      || any(mixins, in(typesToCheck));
  this.parent = checkNotNull(parent);
  this.nodeName = checkNotNull(name);
  this.types = parent.types;
  this.effective = createEffectiveType(parent.effective, name, primary, mixins);
  this.builder = checkNotNull(builder);
  this.validate = validate;
}
origin: org.apache.jackrabbit/oak-core

TypeEditor(
    ConstraintViolationCallback callback, Set<String> typesToCheck, NodeState types,
    String primary, Iterable<String> mixins, NodeBuilder builder)
    throws CommitFailedException {
  this.valueFactory = new PartialValueFactory(NamePathMapper.DEFAULT);
  this.callback = checkNotNull(callback);
  this.typesToCheck = typesToCheck;
  this.checkThisNode =
      typesToCheck == null
      || typesToCheck.contains(primary)
      || any(mixins, in(typesToCheck));
  this.parent = null;
  this.nodeName = null;
  this.types = checkNotNull(types);
  this.effective = createEffectiveType(null, null, primary, mixins);
  this.builder = checkNotNull(builder);
  this.validate = false;
}
origin: apache/jackrabbit-oak

TypeEditor(
    ConstraintViolationCallback callback, Set<String> typesToCheck, NodeState types,
    String primary, Iterable<String> mixins, NodeBuilder builder)
    throws CommitFailedException {
  this.valueFactory = new PartialValueFactory(NamePathMapper.DEFAULT);
  this.callback = checkNotNull(callback);
  this.typesToCheck = typesToCheck;
  this.checkThisNode =
      typesToCheck == null
      || typesToCheck.contains(primary)
      || any(mixins, in(typesToCheck));
  this.parent = null;
  this.nodeName = null;
  this.types = checkNotNull(types);
  this.effective = createEffectiveType(null, null, primary, mixins);
  this.builder = checkNotNull(builder);
  this.validate = false;
}
org.apache.jackrabbit.oak.plugins.nodetypeTypeEditorcreateEffectiveType

Popular methods of TypeEditor

  • <init>
  • checkNodeTypeConstraints
  • checkPropertyTypeConstraints
  • checkRequiredType
  • checkValueConstraints
  • childNodeChanged
  • constraintViolation
    Throws or logs the specified constraint violation.
  • getEffective
  • getPath
  • getRequiredType
  • mixinsChanged
  • primaryChanged
  • mixinsChanged,
  • primaryChanged,
  • propertyChanged,
  • childNodeDeleted,
  • create,
  • propertyDeleted

Popular in Java

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Notification (javax.management)
  • JTextField (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now