public String deleteWorkFlowMatrix(){
  LOGGER.info("deleteWorkFlowMatrix Method is called");
  final HashMap workflowsearchparams=getSearchParams();
  deleteWorkFlowMatrixObject(workflowsearchparams);
  final HashMap workflowheaderparams=getHeaderParams();
  getWorkFlowMatrixObject(workflowheaderparams);
  setMode(RESULTS);
  addActionMessage("The Matrix was successfully deleted");
  LOGGER.info("deleteWorkFlowMatrix Method is ended");
  return "search";
}

public String deleteWorkFlowMatrix ( ) { LOGGER . info ( "deleteWorkFlowMatrix Method is called" ) ; final HashMap workflowsearchparams = getSearchParams ( ) ; deleteWorkFlowMatrixObject ( workflowsearchparams ) ; final HashMap workflowheaderparams = getHeaderParams ( ) ; getWorkFlowMatrixObject ( workflowheaderparams ) ; setMode ( RESULTS ) ; addActionMessage ( "The Matrix was successfully deleted" ) ; LOGGER . info ( "deleteWorkFlowMatrix Method is ended" ) ; return "search" ; }
this method is called to delete the workflow matrix the selected objecttype , department , date , from and to amount
