code: public void setListObject(Class<?> listDialog, CmsHtmlList listObject) {
  
          if (listObject == null) {
              // null object: remove the entry from the map
              getListObjectMap(getSettings()).remove(listDialog.getName());
          } else {
              if ((listObject.getMetadata() != null) && listObject.getMetadata().isVolatile()) {
                  listObject.setMetadata(null);
              }
              getListObjectMap(getSettings()).put(listDialog.getName(), listObject);
          }
      }
docs: Stores the given object as "list object" for the given list dialog in the current users session.<p>
  
  @param listDialog the list dialog class
  @param listObject the list to store