public ActionForward quickApproveDisclosure(
     ActionMapping mapping,
     ActionForm form,
     HttpServletRequest request,
     HttpServletResponse response)
     throws Exception {
   CoiCustomSearchForm searchForm = (CoiCustomSearchForm) form;
   CustomAdminSearchHelper helper = searchForm.getCustomAdminSearchHelper();
   String coiDisclosureDocumentNumber = getCoiDisclosureDocumentNumber(request);
   CoiDisclosureDocument coiDisclosureDocument =
       (CoiDisclosureDocument)
           getDocumentService().getByDocumentHeaderId(coiDisclosureDocumentNumber);
   if (!helper.hasFinEnt(coiDisclosureDocument.getCoiDisclosure())
       && getKraAuthorizationService()
           .hasPermission(
               GlobalVariables.getUserSession().getPrincipalId(),
               coiDisclosureDocument.getCoiDisclosure(),
               PermissionConstants.APPROVE_COI_DISCLOSURE)) {
     getCoiDisclosureActionService()
         .approveDisclosure(
             coiDisclosureDocument.getCoiDisclosure(), CoiDispositionStatus.NO_CONFLICT_EXISTS);
     GlobalVariables.getMessageMap()
         .putInfo(Constants.NO_FIELD, KeyConstants.MESSAGE_COI_DISCLOSURE_QUICK_APPROVED);
   } else {
     GlobalVariables.getMessageMap()
         .putError(Constants.NO_FIELD, KeyConstants.ERROR_COI_NO_PERMISSION_APPROVE);
   }
   helper.setAllOpenReviews(getOpenReviews());
   helper.setPendingReviews(getPendingReviews());
   helper.setInProgressReviews(getInProgressReviews());
   return mapping.findForward(Constants.MAPPING_BASIC);
 }
 public ActionForward openCustomSearch(
     ActionMapping mapping,
     ActionForm form,
     HttpServletRequest request,
     HttpServletResponse response)
     throws Exception {
   if (isAuthorizedForCoiLookups()) {
     CoiCustomSearchForm searchForm = (CoiCustomSearchForm) form;
     searchForm.setCanQuickApprove(
         getPermissionService()
             .hasPermission(
                 GlobalVariables.getUserSession().getPrincipalId(),
                 "KC-COIDISCLOSURE",
                 PermissionConstants.APPROVE_COI_DISCLOSURE));
     CustomAdminSearchHelper helper = searchForm.getCustomAdminSearchHelper();
     helper.setAllOpenReviews(getOpenReviews());
     helper.setPendingReviews(getPendingReviews());
     helper.setInProgressReviews(getInProgressReviews());
     return mapping.findForward(Constants.MAPPING_BASIC);
   } else {
     return mapping.findForward(KRADConstants.MAPPING_PORTAL);
   }
 }