/** * Gets the contents for the given folder path and type name.<p> * * @param folderPath the content folder path * @param type the type name * @return the list of contents * * @throws CmsException if something goes wrong */ private List<CmsResource> getContents(String folderPath, String type) throws CmsException { CmsPathMap<CmsResource> pathMap = getPathMapForType(type); return pathMap.getChildValues(folderPath); }