code: public static LocalDocument createIndexPageDocument(Delfoi delfoi, Locale locale, User user) {
      LocalDocumentDAO localDocumentDAO = new LocalDocumentDAO();
      String urlName = String.format("%s-%s", INDEX_PAGE_URLNAME, locale.getLanguage());
      return localDocumentDAO.create(urlName, urlName, delfoi.getRootFolder(), user, 0);
    }
docs: Creates index page document
  
  @param delfoi delfoi
  @param locale locale
  @param user logged user
  @return created document