private void loadChildCategories(String category, CategoryItem vfsCategoryItem) {
String[] categories = jcrRepositoryCategoryService.loadChildCategories(category);
for(String c : categories) {
String categoryPath = getItemPath(c, vfsCategoryItem.getFullPath());
CategoryItem categoryItem = vfsCategoryItem.addChildren(c, "");
String[] childrenCategories = jcrRepositoryCategoryService.loadChildCategories(categoryItem.getFullPath());
if(childrenCategories.length != 0) {
loadChildCategories(c, categoryItem);
}
}
}