Create a folder subtree Apache Chemistry CMIS

595 Views Asked by At

So the question here is...

Assuming that Sharepoint repository and folders are provided, how would I check that every single folder exists and create folder and subfolders that do not exist.

For example: For folder path /documents/pdfs/bills/january/house/ if the foder documents exist, but the subfolders /pdfs/bulls/january/house/ do not how would I go ahead and create all those folders under documents folder?

I have to use Apache Chemistry CMIS Library to get this accomplished.

1

There are 1 best solutions below

1
Florian Müller On BEST ANSWER

Since OpenCMIS 1.1 you can use one of the createPath methods. See the OpenCMIS JavaDoc.