protected static CoreSession getSessionFromDoc(DocumentModel doc) {
   return CoreInstance.getInstance().getSession(doc.getSessionId());
 }
예제 #2
0
 protected CoreSession getCoreSession() {
   String coreSessionId = treeRoot == null ? sessionId : treeRoot.getSessionId();
   return CoreInstance.getInstance().getSession(coreSessionId);
 }