public ExternalComponent transform(final ResultSet rs) throws SQLException {
    final String componentName = rs.getString("category");

    if (StringUtils.isBlank(componentName)) {
      return null;
    }

    ExternalComponent component = new ExternalComponent(componentName);
    component.setLead(configBean.getUsernameForLoginName(rs.getString("username")));
    return component;
  }
 public ExternalComponent transform(final ResultSet rs) throws SQLException {
   ExternalComponent component = new ExternalComponent(rs.getString("name"));
   component.setDescription(rs.getString("description"));
   component.setLead(configBean.getUsernameForEmail(rs.getString("owner")));
   return component;
 }