|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.jcr.util.SessionUtil
public class SessionUtil
Session-related utility methods.
Constructor Summary | |
---|---|
SessionUtil()
|
Method Summary | |
---|---|
static javax.jcr.Node |
getNode(javax.jcr.Session session,
String path)
Return the Node for the Given Path from the given repository. |
static javax.jcr.Node |
getNode(String workspace,
String path)
Return the Node for the Given Path from the given repository. |
static javax.jcr.Node |
getNodeByIdentifier(String workspace,
String id)
Return the Node by the given identifier from the given repository. |
static boolean |
hasSameUnderlyingSession(javax.jcr.Session first,
javax.jcr.Session second)
|
static javax.jcr.Session |
unwrap(javax.jcr.Session session)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionUtil()
Method Detail |
---|
public static boolean hasSameUnderlyingSession(javax.jcr.Session first, javax.jcr.Session second)
public static javax.jcr.Session unwrap(javax.jcr.Session session)
public static javax.jcr.Node getNode(String workspace, String path)
public static javax.jcr.Node getNode(javax.jcr.Session session, String path)
public static javax.jcr.Node getNodeByIdentifier(String workspace, String id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |