All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.jcr.query.qom.Selector Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
/*
 * Copyright 2009 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr.query.qom;

/**
 * Selects a subset of the nodes in the repository based on node type.
 * 

* A selector selects every node in the repository, subject to access control * constraints, that satisfies at least one of the following conditions:

    *
  • the node's primary node type is {@link #getNodeTypeName nodeType}, * or
  • the node's primary node type is a subtype of {@link * #getNodeTypeName nodeType}, or
  • the node has a mixin node type that * is {@link #getNodeTypeName nodeType}, or
  • the node has a mixin node * type that is a subtype of {@link #getNodeTypeName nodeType}.
* * @since JCR 2.0 */ public interface Selector extends Source { /** * Gets the name of the required node type. * * @return the node type name; non-null */ public String getNodeTypeName(); /** * Gets the selector name. *

* A selector's name can be used elsewhere in the query to identify the * selector. * * @return the selector name; non-null */ public String getSelectorName(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy