code: public static String loadAndFormatCreatedBy(final BaseEntity baseEntity) {
          if (baseEntity == null || baseEntity.getCreatedBy() == null) {
              return "";
          }
  
          return loadAndFormatUsername(baseEntity.getCreatedBy());
      }
docs: Load user details by {@link BaseEntity#getCreatedBy()} and format the
  user name. Use {@link UserDetailsFormatter#loadAndFormatUsername(String)}
  
  @param baseEntity
  the entity
  @return the formatted 'created at user name' (max 100 characters) cannot
  be <null>