|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.content.AdvisoryManagerBean
public class AdvisoryManagerBean
| Constructor Summary | |
|---|---|
AdvisoryManagerBean()
|
|
| Method Summary | |
|---|---|
org.rhq.core.domain.content.Advisory |
createAdvisory(org.rhq.core.domain.auth.Subject user,
String advisory,
String advisoryType,
String synopsis)
Creates a new advisory in the system. |
org.rhq.core.domain.content.AdvisoryBuglist |
createAdvisoryBuglist(org.rhq.core.domain.auth.Subject user,
org.rhq.core.domain.content.Advisory advisory,
String buginfo)
|
org.rhq.core.domain.content.AdvisoryCVE |
createAdvisoryCVE(org.rhq.core.domain.auth.Subject user,
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 user,
org.rhq.core.domain.content.Advisory advisory,
org.rhq.core.domain.content.PackageVersion pkg)
creates a AdvisoryPackage mapping object |
org.rhq.core.domain.content.CVE |
createCVE(org.rhq.core.domain.auth.Subject user,
String cvename)
creates a cve instance for a given cve name |
void |
deleteAdvisoryBugList(org.rhq.core.domain.auth.Subject user,
int advId)
Deletes a given instance of advisoryBuglist object. |
void |
deleteAdvisoryByAdvId(org.rhq.core.domain.auth.Subject user,
int advId)
Deletes a given instance of advisory object. |
void |
deleteAdvisoryCVE(org.rhq.core.domain.auth.Subject user,
int advId)
removes the AdvisoryCVE mapping |
void |
deleteAdvisoryPackage(org.rhq.core.domain.auth.Subject user,
int advId)
Deletes a given instance of advisoryPackage object. |
void |
deleteCVE(org.rhq.core.domain.auth.Subject user,
int cveId)
deletes specified cve object |
org.rhq.core.domain.content.AdvisoryPackage |
findAdvisoryPackage(org.rhq.core.domain.auth.Subject subject,
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 list of Packages associated to an 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 list of Packages Versions associated to an advisory |
org.rhq.core.domain.content.AdvisoryBuglist |
getAdvisoryBuglist(org.rhq.core.domain.auth.Subject subject,
int advId,
String buginfo)
Returns a Advisorybuglist object if exists else null |
List<org.rhq.core.domain.content.AdvisoryBuglist> |
getAdvisoryBuglistByAdvId(org.rhq.core.domain.auth.Subject subject,
int advId)
Returns a list of bugs for requested 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)
Returns a list of available cves for requested Advisory |
long |
getCVECountFromAdv(org.rhq.core.domain.auth.Subject subject,
int advId)
|
long |
getPackageCountFromAdv(org.rhq.core.domain.auth.Subject subject,
int advId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdvisoryManagerBean()
| Method Detail |
|---|
public org.rhq.core.domain.content.Advisory createAdvisory(org.rhq.core.domain.auth.Subject user,
String advisory,
String advisoryType,
String synopsis)
throws AdvisoryException
AdvisoryManagerLocal
createAdvisory in interface AdvisoryManagerLocaladvisory - advisory labeladvisoryType - adv type
AdvisoryException
public org.rhq.core.domain.content.CVE createCVE(org.rhq.core.domain.auth.Subject user,
String cvename)
throws AdvisoryException
AdvisoryManagerLocal
createCVE in interface AdvisoryManagerLocalAdvisoryException
public org.rhq.core.domain.content.AdvisoryCVE createAdvisoryCVE(org.rhq.core.domain.auth.Subject user,
org.rhq.core.domain.content.Advisory advisory,
org.rhq.core.domain.content.CVE cve)
throws AdvisoryException
AdvisoryManagerLocal
createAdvisoryCVE in interface AdvisoryManagerLocalAdvisoryException
public org.rhq.core.domain.content.AdvisoryBuglist createAdvisoryBuglist(org.rhq.core.domain.auth.Subject user,
org.rhq.core.domain.content.Advisory advisory,
String buginfo)
throws AdvisoryException
AdvisoryException
public org.rhq.core.domain.content.AdvisoryPackage createAdvisoryPackage(org.rhq.core.domain.auth.Subject user,
org.rhq.core.domain.content.Advisory advisory,
org.rhq.core.domain.content.PackageVersion pkg)
throws AdvisoryException
AdvisoryManagerLocal
createAdvisoryPackage in interface AdvisoryManagerLocalAdvisoryException
public void deleteCVE(org.rhq.core.domain.auth.Subject user,
int cveId)
AdvisoryManagerLocal
deleteCVE in interface AdvisoryManagerLocal
public void deleteAdvisoryCVE(org.rhq.core.domain.auth.Subject user,
int advId)
AdvisoryManagerLocal
deleteAdvisoryCVE in interface AdvisoryManagerLocal
public void deleteAdvisoryByAdvId(org.rhq.core.domain.auth.Subject user,
int advId)
AdvisoryManagerLocal
deleteAdvisoryByAdvId in interface AdvisoryManagerLocal
public void deleteAdvisoryPackage(org.rhq.core.domain.auth.Subject user,
int advId)
AdvisoryManagerLocal
deleteAdvisoryPackage in interface AdvisoryManagerLocal
public void deleteAdvisoryBugList(org.rhq.core.domain.auth.Subject user,
int advId)
AdvisoryManagerLocal
deleteAdvisoryBugList in interface AdvisoryManagerLocalpublic org.rhq.core.domain.content.Advisory getAdvisoryByName(String advlabel)
AdvisoryManagerLocal
getAdvisoryByName in interface AdvisoryManagerLocal
public 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)
findPackageByAdvisory in interface AdvisoryManagerLocaladvId - advisoryId
public org.rhq.core.domain.content.AdvisoryPackage findAdvisoryPackage(org.rhq.core.domain.auth.Subject subject,
int advId,
int pkgVerId)
AdvisoryManagerLocal
findAdvisoryPackage in interface AdvisoryManagerLocaladvId - advisoryId
public org.rhq.core.domain.content.PackageVersion findPackageVersionByPkgId(org.rhq.core.domain.auth.Subject subject,
String rpmName,
org.rhq.core.domain.util.PageControl pc)
findPackageVersionByPkgId in interface AdvisoryManagerLocal
public long getPackageCountFromAdv(org.rhq.core.domain.auth.Subject subject,
int advId)
public 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)
getAdvisoryCVEByAdvId in interface AdvisoryManagerLocaladvId -
public long getCVECountFromAdv(org.rhq.core.domain.auth.Subject subject,
int advId)
public List<org.rhq.core.domain.content.AdvisoryBuglist> getAdvisoryBuglistByAdvId(org.rhq.core.domain.auth.Subject subject,
int advId)
getAdvisoryBuglistByAdvId in interface AdvisoryManagerLocaladvId -
public org.rhq.core.domain.content.AdvisoryBuglist getAdvisoryBuglist(org.rhq.core.domain.auth.Subject subject,
int advId,
String buginfo)
getAdvisoryBuglist in interface AdvisoryManagerLocaladvId - buginfo -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||