code: public void updateContent(List<CmsResourceTypeBean> types, List<String> selectedTypes) {
  
          clearList();
          fillContent(types, selectedTypes);
      }
docs: Updates the types list.<p>
  
  @param types the new types list
  @param selectedTypes the list of types to select