public class JcrSessionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.hippoecm.repository.api.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
- Wheter 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
- Wheter 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 org.hippoecm.repository.api.HippoSession getHippoSession(javax.jcr.Session session) throws javax.jcr.RepositoryException, IllegalArgumentException
javax.jcr.RepositoryException
IllegalArgumentException
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.