private CMFolder loadFoldersStructure ( ) { CMFolder rootFolder = new CMFolder ( getRootId ( ) , "root" ) ; HttpPost request = buildSoapRequest ( "getFolderXML" , "<folder id='" + rootFolder . getId ( ) + "'/>" ) ; CResponse response = retryStrategy . invokeRetry ( getApiRequestInvoker ( request , null ) ) ; Element rootElement = findRootFolderElement ( response . asDom ( ) ) ; scanFolderLevel ( rootElement , rootFolder ) ; return rootFolder ; }
Gets the folders tree structure beginning from the root folder .