protected List<Resource> getStructures(WebDAVRequest webDAVRequest) throws Exception {

    List<Resource> resources = new ArrayList<>();

    List<DDMStructure> ddmStructures =
        DDMStructureLocalServiceUtil.getStructures(
            webDAVRequest.getGroupId(), PortalUtil.getClassNameId(JournalArticle.class));

    for (DDMStructure ddmStructure : ddmStructures) {
      Resource resource =
          DDMWebDavUtil.toResource(webDAVRequest, ddmStructure, getRootPath(), true);

      resources.add(resource);
    }

    return resources;
  }