Package org.rhq.core.domain.content

Examples of org.rhq.core.domain.content.AdvisoryCVE


        entityManager.persist(advobject);
        int id1 = advobject.getId();
        entityManager.flush();

        CVE cve = advManager.createCVE(overlord, "CAN-2009:1203");
        AdvisoryCVE advisory_cve = advManager.createAdvisoryCVE(overlord, advobject, cve);

        PageList<AdvisoryCVE> cvelist = advManager.getAdvisoryCVEByAdvId(overlord, id1, PageControl
            .getUnlimitedInstance());

        assert cvelist != null;
View Full Code Here


    }

    @RequiredPermission(Permission.MANAGE_INVENTORY)
    public AdvisoryCVE createAdvisoryCVE(Subject user, Advisory advisory, CVE cve) throws AdvisoryException {
        log.debug("User [" + user + "] is creating AdvisoryCVE [" + advisory + "]");
        AdvisoryCVE advcve = new AdvisoryCVE(advisory, cve);

        entityManager.persist(advcve);
        return advcve;
    }
View Full Code Here

                //persist cves associated with an errata
                List<AdvisoryCVEDetails> cves = detail.getCVEs();
                log.debug("list of CVEs " + cves);
                if (cves != null && cves.size() > 0) {
                    for (AdvisoryCVEDetails cve : cves) {
                        AdvisoryCVE acve = new AdvisoryCVE(newAdv, advManager.createCVE(overlord, cve.getName()));
                        entityManager.persist(acve);
                        entityManager.flush();
                    }
                }
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.content.AdvisoryCVE

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.