code: public void updateListContent(List<CmsGalleryFolderBean> galleries, List<String> selectedGalleries) {
  
          clearList();
          fillContent(galleries, selectedGalleries);
      }
docs: Update the galleries list.<p>
  
  @param galleries the new gallery list
  @param selectedGalleries the list of galleries to select