code: private Dashboard getDashboard(String title, DashboardType type, String busServ, String busApp) throws
              AuditException {
          if (!StringUtils.isEmpty(title) && (type != null)) {
              return dashboardRepository.findByTitleAndType(title, type);
  
          } else if (!StringUtils.isEmpty(busServ) && !StringUtils.isEmpty(busApp)) {
              Cmdb busServItem = cmdbRepository.findByConfigurationItemAndItemType(busServ, "app");
              if (busServItem == null)
                  throw new AuditException("Invalid Business Service Name.", AuditException.BAD_INPUT_DATA);
              Cmdb busAppItem = cmdbRepository.findByConfigurationItemAndItemType(busApp, "component");
              if (busAppItem == null)
                  throw new AuditException("Invalid Business Application Name.", AuditException.BAD_INPUT_DATA);
  
              return dashboardRepository.findByConfigurationItemBusServNameIgnoreCaseAndConfigurationItemBusAppNameIgnoreCase(busServItem.getConfigurationItem(), busAppItem.getConfigurationItem());
          }
          return null;
      }
docs: Finds the dashboard
  
  @param title
  @param type
  @param busServ
  @param busApp
  @return the @Dashboard for a given title, type, business service and app
  @throws AuditException