/**
  * 从页面的表单获取单条记录id,并删除单条记录
  *
  * @param mapping
  * @param form
  * @param request
  * @param response
  * @return
  * @throws Exception
  */
 public ActionForward delete(
     ActionMapping mapping,
     ActionForm form,
     HttpServletRequest request,
     HttpServletResponse response)
     throws Exception {
   return RmActionHelper.rebuildForward(
       super.delete(mapping, form, request, response),
       RmVoHelper.getMapFromRequest(request, DEFAULT_CONDITION_KEY_ARRAY));
 }
 /**
  * 查询全部记录,分页显示,支持页面上触发的后台排序
  *
  * @param mapping
  * @param form
  * @param request
  * @param response
  * @return
  * @throws Exception
  */
 public ActionForward queryAll(
     ActionMapping mapping,
     ActionForm form,
     HttpServletRequest request,
     HttpServletResponse response)
     throws Exception {
   //        String condition = request.getParameter(DEFAULT_CONDITION_KEY_ARRAY[0]);
   //        if(condition == null) {
   //            throw new RmCodeTypeException(MESSAGE_NO_CONDITION_KEY);
   //        }
   //        String queryCondition = " " + DEFAULT_CONDITION_KEY_ARRAY[0] + "='" + condition + "'";
   String queryCondition = "";
   request.setAttribute(REQUEST_QUERY_CONDITION, queryCondition);
   return RmActionHelper.rebuildForward(
       simpleQuery(mapping, form, request, response),
       new String[] {REQUEST_QUERY_CONDITION, queryCondition});
 }