public class JcrSessionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static HippoSession |
getHippoSession(javax.jcr.Session session) |
static String[] |
getPendingChangePaths(javax.jcr.Session session,
boolean prune) |
static String[] |
getPendingChangePaths(javax.jcr.Session session,
javax.jcr.Node node,
boolean prune) |
public static String[] getPendingChangePaths(javax.jcr.Session session, boolean prune) throws javax.jcr.RepositoryException
prune
- Whether only to return the first matching modified node in
a subtree (true), or provide a depth search for all modified
nodes (false)javax.jcr.RepositoryException
public static String[] getPendingChangePaths(javax.jcr.Session session, javax.jcr.Node node, boolean prune) throws javax.jcr.RepositoryException
node
- The starting node for which to look for changes, will not
be included in result, may be null to indicate to search whole treeprune
- Whether only to return the first matching modified node in
a subtree (true), or provide a depth search for all modified
nodes (false)javax.jcr.RepositoryException
public static HippoSession getHippoSession(javax.jcr.Session session) throws javax.jcr.RepositoryException, IllegalArgumentException
javax.jcr.RepositoryException
IllegalArgumentException
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.