Examples of JCRNodeWrapper


Examples of org.jahia.services.content.JCRNodeWrapper

        JahiaUser user = userMgr.lookupUserByKey(userKey);
        JahiaUser currentUser = sessionFactory.getCurrentUser();
        sessionFactory.setCurrentUser(user);
        if(logger.isDebugEnabled()) {
            for (String id : ids) {
                JCRNodeWrapper node = sessionFactory.getCurrentUserSession().getNodeByUUID(id);
                logger.debug("Launching unpublication of node " + node.getPath() + " at " + (new Date()).toString());
            }
        }
        JCRPublicationService.getInstance().unpublish(ids, Collections.singleton(locale.toString()));
        sessionFactory.setCurrentUser(currentUser);
        execution.takeDefaultTransition();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.