public interface AdvisoryManagerLocal
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.content.Advisory |
createAdvisory(org.rhq.core.domain.auth.Subject subject,
String advisory,
String advisoryType,
String synopsis)
Creates a new advisory in the system.
|
org.rhq.core.domain.content.AdvisoryCVE |
createAdvisoryCVE(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.content.Advisory advisory,
org.rhq.core.domain.content.CVE cve)
creates a AdvisoryCVE relationship object
|
org.rhq.core.domain.content.AdvisoryPackage |
createAdvisoryPackage(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.content.Advisory advisory,
org.rhq.core.domain.content.PackageVersion packageVersion)
creates a AdvisoryPackage mapping object
|
org.rhq.core.domain.content.CVE |
createCVE(org.rhq.core.domain.auth.Subject subject,
String cvename)
creates a cve instance for a given cve name
|
void |
deleteAdvisoryBugList(org.rhq.core.domain.auth.Subject overlord,
int id)
Deletes a given instance of advisoryBuglist object.
|
void |
deleteAdvisoryByAdvId(org.rhq.core.domain.auth.Subject subject,
int advId)
Deletes a given instance of advisory object.
|
void |
deleteAdvisoryCVE(org.rhq.core.domain.auth.Subject subject,
int advId)
removes the AdvisoryCVE mapping
|
void |
deleteAdvisoryPackage(org.rhq.core.domain.auth.Subject subject,
int advId)
Deletes a given instance of advisoryPackage object.
|
void |
deleteCVE(org.rhq.core.domain.auth.Subject subject,
int cveId)
deletes specified cve object
|
org.rhq.core.domain.content.AdvisoryPackage |
findAdvisoryPackage(org.rhq.core.domain.auth.Subject overlord,
int advId,
int pkgVerId)
find AdvisoryPackage object for given advId and packageVersion id
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.AdvisoryPackage> |
findPackageByAdvisory(org.rhq.core.domain.auth.Subject subject,
int advId,
org.rhq.core.domain.util.PageControl pc)
find packages associated for a given advisory
|
org.rhq.core.domain.content.PackageVersion |
findPackageVersionByPkgId(org.rhq.core.domain.auth.Subject subject,
String rpmName,
org.rhq.core.domain.util.PageControl pc)
find packages associated for a given package
|
org.rhq.core.domain.content.AdvisoryBuglist |
getAdvisoryBuglist(org.rhq.core.domain.auth.Subject subject,
int advId,
String buginfo)
find AdvisoryBuglist object for given advId and buginfo
|
List<org.rhq.core.domain.content.AdvisoryBuglist> |
getAdvisoryBuglistByAdvId(org.rhq.core.domain.auth.Subject subject,
int advId)
find bugs associated to a given advisory
|
org.rhq.core.domain.content.Advisory |
getAdvisoryByName(String advlabel)
find advisory by advisory name
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.AdvisoryCVE> |
getAdvisoryCVEByAdvId(org.rhq.core.domain.auth.Subject subject,
int advId,
org.rhq.core.domain.util.PageControl pc)
find CVEs associated to a given advisory
|
org.rhq.core.domain.content.Advisory createAdvisory(org.rhq.core.domain.auth.Subject subject,
String advisory,
String advisoryType,
String synopsis)
throws AdvisoryException
subject - advisory - advisory labeladvisoryType - adv typeAdvisoryExceptionorg.rhq.core.domain.content.CVE createCVE(org.rhq.core.domain.auth.Subject subject,
String cvename)
throws AdvisoryException
user - cvename - AdvisoryExceptionorg.rhq.core.domain.content.AdvisoryCVE createAdvisoryCVE(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.content.Advisory advisory,
org.rhq.core.domain.content.CVE cve)
throws AdvisoryException
user - advisory - cve - AdvisoryExceptionorg.rhq.core.domain.content.AdvisoryPackage createAdvisoryPackage(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.content.Advisory advisory,
org.rhq.core.domain.content.PackageVersion packageVersion)
throws AdvisoryException
user - advisory - pkg - AdvisoryExceptionvoid deleteCVE(org.rhq.core.domain.auth.Subject subject,
int cveId)
user - cveId - void deleteAdvisoryCVE(org.rhq.core.domain.auth.Subject subject,
int advId)
user - advId - void deleteAdvisoryByAdvId(org.rhq.core.domain.auth.Subject subject,
int advId)
user - advId - org.rhq.core.domain.content.Advisory getAdvisoryByName(String advlabel)
advlabel - org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.AdvisoryPackage> findPackageByAdvisory(org.rhq.core.domain.auth.Subject subject,
int advId,
org.rhq.core.domain.util.PageControl pc)
subject - advId - pc - org.rhq.core.domain.content.PackageVersion findPackageVersionByPkgId(org.rhq.core.domain.auth.Subject subject,
String rpmName,
org.rhq.core.domain.util.PageControl pc)
subject - pkgId - pc - org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.AdvisoryCVE> getAdvisoryCVEByAdvId(org.rhq.core.domain.auth.Subject subject,
int advId,
org.rhq.core.domain.util.PageControl pc)
subject - advId - pc - List<org.rhq.core.domain.content.AdvisoryBuglist> getAdvisoryBuglistByAdvId(org.rhq.core.domain.auth.Subject subject, int advId)
subject - advId - void deleteAdvisoryBugList(org.rhq.core.domain.auth.Subject overlord,
int id)
user - advId - void deleteAdvisoryPackage(org.rhq.core.domain.auth.Subject subject,
int advId)
user - advId - org.rhq.core.domain.content.AdvisoryPackage findAdvisoryPackage(org.rhq.core.domain.auth.Subject overlord,
int advId,
int pkgVerId)
overlord - advId - pkgVerId - org.rhq.core.domain.content.AdvisoryBuglist getAdvisoryBuglist(org.rhq.core.domain.auth.Subject subject,
int advId,
String buginfo)
subject - advId - buginfo - Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.