I was able to delete most of the documents by using Explorer. However, there's a folder that was created by replication from another server that I can't remove! It has several "P:trx:*" aspects, but trying to remove them programmatically I get an exception that the node is locked. How can I unlock the folder? My app is Java and I have the CmisSession and also the AlfrescoFolder objects, but all I can find is:
cmisSession.getBinding().getVersioningService().cancelCheckOut(repoId, objectId, null);
which throws an exception. I think I need the lockService, but I don't know how to get a reference to that.