Package com.cognifide.sling.query.function

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


   *
   * @param selector Previous sibling filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery prev(String selector) {
    return functionWithSelector(new PrevFunction(null), selector);
  }
View Full Code Here


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

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

   *
   * @param selector Previous sibling filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery prev(String selector) {
    return functionWithSelector(new PrevFunction(null), selector);
  }
View Full Code Here

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

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

TOP

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

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.