Package com.cognifide.sling.query.function

Examples of com.cognifide.sling.query.function.ParentsFunction


   *
   * @param selector Parents filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery parents(String selector) {
    return functionWithSelector(new ParentsFunction(new RejectingPredicate<Resource>()), selector);
  }
View Full Code Here


   *
   * @param until Selector marking when the operation should stop
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery parentsUntil(String until) {
    return functionWithSelector(new ParentsFunction(new Selector(until, searchStrategy).asPredicate()),
        "");
  }
View Full Code Here

   * @param until Selector marking when the operation should stop
   * @param selector Parents filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery parentsUntil(String until, String selector) {
    return functionWithSelector(new ParentsFunction(new Selector(until, searchStrategy).asPredicate()),
        selector);
  }
View Full Code Here

   *
   * @param selector Parents filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery parents(String selector) {
    return functionWithSelector(new ParentsFunction(new RejectingPredicate()), selector);
  }
View Full Code Here

   *
   * @param until Selector marking when the operation should stop
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery parentsUntil(String until) {
    return functionWithSelector(new ParentsFunction(new Selector(until, searchStrategy).asPredicate()),
        "");
  }
View Full Code Here

   * @param until Selector marking when the operation should stop
   * @param selector Parents filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery parentsUntil(String until, String selector) {
    return functionWithSelector(new ParentsFunction(new Selector(until, searchStrategy).asPredicate()),
        selector);
  }
View Full Code Here

TOP

Related Classes of com.cognifide.sling.query.function.ParentsFunction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.