Package org.apache.jackrabbit.core.persistence

Examples of org.apache.jackrabbit.core.persistence.PersistenceManager.checkConsistency()


     *             if the persistence manager could not be initialized
     */
    protected void checkConsistency(String workspaceName, String[] uuids, boolean recursive, boolean fix) throws IllegalStateException, NoSuchWorkspaceException, RepositoryException {
        if ("jcr:system".equals(workspaceName)) {
            PersistenceManager pm = vMgr.getPersistenceManager();
            pm.checkConsistency(uuids, recursive, fix);
        } else {
            PersistenceManager pm = getWorkspaceInfo(workspaceName).getPersistenceManager();
            pm.checkConsistency(uuids, recursive, fix);
        }
    }
View Full Code Here


        if ("jcr:system".equals(workspaceName)) {
            PersistenceManager pm = vMgr.getPersistenceManager();
            pm.checkConsistency(uuids, recursive, fix);
        } else {
            PersistenceManager pm = getWorkspaceInfo(workspaceName).getPersistenceManager();
            pm.checkConsistency(uuids, recursive, fix);
        }
    }
   
    //-----------------------------------------------------------< Repository >
    /**
 
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.