105106107108109110111112113114115
} // remove old "dc:elementSet" properties if (parent.isNodeType("dc:elementSet")) { parent.removeMixin("dc:elementSet"); } parent.addMixin("dc:elementSet"); DocumentReaderService readerService =
222223224225226227228229230231232
node = (NodeImpl)sessionMaryWS1.getRootNode().getNode("MARY-ReadOnly").getNode("test"); try { node.removeMixin("mix:versionable"); sessionMaryWS1.save(); fail("Exception should be thrown."); } catch (AccessDeniedException e)
223224225226227228229230231232233
260261262263264265266267268269270
node1.addMixin(mixins[1]); this.testNode.save(); node1.lock(true, false); node1.removeMixin(mixins[0]); this.testNode.save(); checkMixins(finalMixins, node1); }