-// Session getSysSession() {
-// return sysSession;
-// }
-//
-// synchronized void initSessions(Repository repository, String userDirPath) throws RepositoryException {
-// this.sysSession = repository.login();
-// this.homeSession = repository.login(CmsConstants.HOME_WORKSPACE);
-// userDir = sysSession.getNode(userDirPath);
-// addDisposeListener((e) -> {
-// Jcr.logout(sysSession);
-// Jcr.logout(homeSession);
-// });
-// }
-
- @Deprecated
- Content getUserDirNode() {
- if (userDir == null)
- return null;
- return userDir;
- }
-