/**
   * Description of the Method
   *
   * @param context Description of the Parameter
   * @return Description of the Return Value
   */
  public String executeCommandAdd(ActionContext context) {
    if (!hasPermission(context, "admin-sysconfig-customlistviews-add")) {
      return ("PermissionError");
    }
    addModuleBean(context, "Configuration", "Custom List Views");
    Connection db = null;
    String moduleId = context.getRequest().getParameter("moduleId");
    try {
      db = getConnection(context);
      // build the module details
      PermissionCategory permCat = new PermissionCategory(db, Integer.parseInt(moduleId));
      context.getRequest().setAttribute("permissionCategory", permCat);

      // build master list of fields available for this view
      SystemStatus thisSystem = this.getSystemStatus(context);
      String constantId = context.getRequest().getParameter("constantId");
      CustomListViewEditor editor =
          thisSystem.getCustomListViewEditor(context, db, Integer.parseInt(constantId));
      context.getRequest().setAttribute("customListViewEditor", editor);
    } catch (Exception e) {
      e.printStackTrace(System.out);
      context.getRequest().setAttribute("Error", e);
      return ("SystemError");
    } finally {
      this.freeConnection(context, db);
    }
    return "AddOK";
  }