Re: Set Different Version Adapter Based on Folder
PostPosted:Thu Dec 17, 2015 7:36 pm
Executing several times the PathUtils.getParent(String docPath); you navigate backwards until /okm:root node, iterating with :
Code: Select all
I do not know if it will help you in some way ?String fldPath="/okm:root/XXX/ZZZ/YYY"
while ("fldPath.equals("/okm:root")) {
String fldUUID = OKMRepository.getInstance.getNodeUuid(fldPath);
String fldPath = PathUtils.getParent(fldPath);
}