Package com.denimgroup.threadfix.service.beans

Examples of com.denimgroup.threadfix.service.beans.TableSortBean


    if (application == null || !application.isActive()) {
      log.warn(ResourceNotFoundException.getLogMessage("Application", appId));
      throw new ResourceNotFoundException();
    }

    TableSortBean falsePositiveBean = new TableSortBean();
    falsePositiveBean.setFalsePositive(true);
   
    long numVulns = applicationService.getVulnCount(appId, true);
    long numClosedVulns = applicationService.getVulnCount(appId, false);
    long falsePositiveCount = applicationService.getCount(appId, falsePositiveBean);
   
    TableSortBean hiddenBean = new TableSortBean();
    hiddenBean.setHidden(true);
   
        PermissionUtils.addPermissions(model, orgId, appId, Permission.CAN_MANAGE_APPLICATIONS,
        Permission.CAN_UPLOAD_SCANS,
        Permission.CAN_MODIFY_VULNERABILITIES,
        Permission.CAN_MANAGE_VULN_FILTERS,
View Full Code Here


        long numClosedVulns = applicationService.getVulnCount(appId, false);

    long numVulns = applicationService.getCount(appId, bean);

        TableSortBean falsePositiveBean = new TableSortBean();
        falsePositiveBean.setFalsePositive(true);
        long falsePositiveCount = applicationService.getCount(appId, falsePositiveBean);

        TableSortBean hiddenBean = new TableSortBean();
        hiddenBean.setHidden(true);
        long numHiddenVulns = applicationService.getCount(appId, hiddenBean);

        TableSortBean openBean = new TableSortBean();
        openBean.setOpen(true);
        long numOpenVulns = applicationService.getCount(appId, openBean);

    long numPages = numVulns / 100;
    if (numVulns % 100 == 0) {
      numPages -= 1;
View Full Code Here

TOP

Related Classes of com.denimgroup.threadfix.service.beans.TableSortBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.