// add some changes which will be logged in incremental log
rootNode.addNode("node1").setProperty("prop1", "value1");
rootNode.addNode("node2").setProperty("prop2", new FileInputStream(blob));
rootNode.addNode("node3").addMixin("mix:lockable");
session.save();
}
public void checkConent(ManageableRepository repository, String wsName) throws Exception
{
SessionImpl session = (SessionImpl)repository.login(credentials, wsName);