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

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

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

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

private String getPath() {
  if (parent == null) {
    return "/";
  } else if (parent.parent == null) {
    return '/' + nodeName;
  } else {
    return parent.getPath() + '/' + nodeName;
  }
}
origin: apache/jackrabbit-oak

private String getPath() {
  if (parent == null) {
    return "/";
  } else if (parent.parent == null) {
    return '/' + nodeName;
  } else {
    return parent.getPath() + '/' + nodeName;
  }
}
origin: org.apache.jackrabbit/oak-core

private String getPath() {
  if (parent == null) {
    return "/";
  } else if (parent.parent == null) {
    return '/' + nodeName;
  } else {
    return parent.getPath() + '/' + nodeName;
  }
}
origin: org.apache.jackrabbit/oak-core

/**
 * Throws or logs the specified constraint violation.
 *
 * @param code code of this violation
 * @param message description of the violation
 * @throws CommitFailedException the constraint violation
 */
private void constraintViolation(int code, String message) throws CommitFailedException {
  List<String> nodeTypeNames = effective != null ? effective.getDirectTypeNames() : Collections.emptyList();
  
  callback.onConstraintViolation(getPath(), nodeTypeNames, code, message);
}
origin: apache/jackrabbit-oak

/**
 * Throws or logs the specified constraint violation.
 *
 * @param code code of this violation
 * @param message description of the violation
 * @throws CommitFailedException the constraint violation
 */
private void constraintViolation(int code, String message) throws CommitFailedException {
  List<String> nodeTypeNames = effective != null ? effective.getDirectTypeNames() : Collections.emptyList();
  
  callback.onConstraintViolation(getPath(), nodeTypeNames, code, message);
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

/**
 * Throws or logs the specified constraint violation.
 *
 * @param code code of this violation
 * @param message description of the violation
 * @throws CommitFailedException the constraint violation
 */
private void constraintViolation(int code, String message) throws CommitFailedException {
  List<String> nodeTypeNames = effective != null ? effective.getDirectTypeNames() : Collections.emptyList();
  
  callback.onConstraintViolation(getPath(), nodeTypeNames, code, message);
}
origin: apache/jackrabbit-oak

      + getPath());
} else {
  constraintViolation(2, "Abstract type " + primary + " used as the primary type");
origin: org.apache.jackrabbit/oak-core

      + getPath());
} else {
  constraintViolation(2, "Abstract type " + primary + " used as the primary type");
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

      + getPath());
} else {
  constraintViolation(2, "Abstract type " + primary + " used as the primary type");
org.apache.jackrabbit.oak.plugins.nodetypeTypeEditorgetPath

Popular methods of TypeEditor

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

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JOptionPane (javax.swing)
  • Top Vim plugins
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