Package org.apache.chemistry.opencmis.client.api

Examples of org.apache.chemistry.opencmis.client.api.Document.applyAcl()


        // get document for id
        Document doc = (Document) this.session.getObject(id);
        assertNotNull(doc);

        // apply acl (not supported by InMemory?)
        Acl acl = doc.applyAcl(aces, null, AclPropagation.PROPAGATE);
        assertNotNull(acl);

        // read & check acls
         Acl acl2 = doc.getAcl();
         assertNotNull(acl2);
View Full Code Here


        // get document for id
        Document doc = (Document) this.session.getObject(id);
        assertNotNull(doc);

        // apply acl (not supported by InMemory?)
        Acl acl = doc.applyAcl(aces, null, AclPropagation.PROPAGATE);
        assertNotNull(acl);

        // read & check acls
         Acl acl2 = doc.getAcl();
         assertNotNull(acl2);
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.