Package org.apache.jackrabbit.core.xml

Examples of org.apache.jackrabbit.core.xml.ProtectedNodeImporter


        // by either node type constraints nor by some retention or hold.
        int options = ItemValidator.CHECK_LOCK | ItemValidator.CHECK_CHECKED_OUT |
                ItemValidator.CHECK_CONSTRAINTS | ItemValidator.CHECK_HOLD | ItemValidator.CHECK_RETENTION;
        getValidator().checkModify(parent, options, Permission.NONE);

        ProtectedNodeImporter pi = new AccessControlImporter(this, this, false, ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW);
        SessionImporter importer = new SessionImporter(parent, this, uuidBehavior, pi, null);
        return new ImportHandler(importer, this);
    }
View Full Code Here


        int options = ItemValidator.CHECK_LOCK | ItemValidator.CHECK_CHECKED_OUT |
                ItemValidator.CHECK_CONSTRAINTS | ItemValidator.CHECK_HOLD | ItemValidator.CHECK_RETENTION;
        getValidator().checkModify(parent, options, Permission.NONE);

        // TODO: make configurable
        ProtectedNodeImporter pi = new AccessControlImporter(this, this, false, ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW);
        SessionImporter importer = new SessionImporter(parent, this, uuidBehavior, pi, null);
        return new ImportHandler(importer, this);
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.core.xml.ProtectedNodeImporter

Copyright © 2018 www.massapicom. 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.