|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.content.ContentUIManagerBean
public class ContentUIManagerBean
| Constructor Summary | |
|---|---|
ContentUIManagerBean()
|
|
| Method Summary | |
|---|---|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> |
findInstalledPackageHistoryByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.InstalledPackageHistoryCriteria criteria)
Returns a pagable list of all package events that have taken place on the given resource. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.ContentServiceRequest> |
getContentRequestsWithNotStatus(org.rhq.core.domain.auth.Subject user,
int resourceId,
org.rhq.core.domain.content.ContentRequestStatus status,
org.rhq.core.domain.util.PageControl pageControl)
Returns a list of all content requests made against the specified resource that do not match the specified status. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.ContentServiceRequest> |
getContentRequestsWithStatus(org.rhq.core.domain.auth.Subject user,
int resourceId,
org.rhq.core.domain.content.ContentRequestStatus status,
org.rhq.core.domain.util.PageControl pageControl)
Returns a list of all content requests made against the specified resource that match the specified status. |
org.rhq.core.domain.content.ContentServiceRequest |
getContentServiceRequest(int requestId)
Retrieves a content request by its ID. |
org.rhq.core.domain.content.InstalledPackage |
getInstalledPackage(int id)
Loads the installed package identified by the ID from the database. |
org.rhq.core.domain.content.InstalledPackageHistory |
getInstalledPackageHistory(int historyId)
Retrieves a specific history entry by its ID. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> |
getInstalledPackageHistory(int contentServiceRequestId,
org.rhq.core.domain.util.PageControl pc)
Returns a list of installed package history entries that were created as a result of executing the indicated request. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> |
getInstalledPackageHistory(org.rhq.core.domain.auth.Subject subject,
int resourceId,
int generalPackageId,
org.rhq.core.domain.util.PageControl pageControl)
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> |
getInstalledPackageHistoryForResource(int resourceId,
org.rhq.core.domain.util.PageControl pc)
Returns a pagable list of all package events that have taken place on the given resource. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageListItemComposite> |
getInstalledPackages(org.rhq.core.domain.auth.Subject user,
int resourceId,
Integer packageTypeFilterId,
String packageVersionFilter,
String search,
org.rhq.core.domain.util.PageControl pageControl)
Returns a list of all installed packages on the specified resource. |
List<org.rhq.core.domain.common.composite.IntegerOptionItem> |
getInstalledPackageTypes(org.rhq.core.domain.auth.Subject user,
int resourceId)
|
org.rhq.core.domain.content.composite.LoadedPackageBitsComposite |
getLoadedPackageBitsComposite(int packageVersionId)
This will return a composite object that tells you if the actual content (the "bits") for a particular package version is loaded into inventory or not, and, if the content is loaded, whether or not that content is stored in the database. |
org.rhq.core.domain.content.PackageInstallationStep |
getPackageInstallationStep(int stepId)
Retrieves a specific step entry by its ID. |
List<org.rhq.core.domain.content.PackageInstallationStep> |
getPackageInstallationSteps(int installedPackageHistoryId)
Retrieves the individual steps executed during the specified package installation history. |
org.rhq.core.domain.content.PackageType |
getPackageType(int id)
Loads the package type identified by the ID from the database. |
List<org.rhq.core.domain.content.PackageType> |
getPackageTypes()
|
List<org.rhq.core.domain.content.PackageType> |
getPackageTypes(int resourceTypeId)
Returns all package types that are available to the specified resource type. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.PackageType> |
getPackageTypes(int resourceTypeId,
org.rhq.core.domain.util.PageControl pageControl)
Returns all package types that are available to the specified resource type in a page control. |
org.rhq.core.domain.content.PackageVersion |
getPackageVersion(int packageVersionId)
Retrieves a package version by its ID. |
List<org.rhq.core.domain.content.composite.PackageVersionComposite> |
getPackageVersionComposites(org.rhq.core.domain.auth.Subject user,
int[] packageVersionIds)
Used to retrieve information about multiple packages to display to the user. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionComposite> |
getPackageVersionComposites(org.rhq.core.domain.auth.Subject user,
int[] packageVersionIds,
org.rhq.core.domain.util.PageControl pageControl)
Used to retrieve information about multiple packages to display to the user. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionComposite> |
getPackageVersionCompositesByFilter(org.rhq.core.domain.auth.Subject user,
int resourceId,
String filter,
org.rhq.core.domain.util.PageControl pc)
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionComposite> |
getUpdatePackageVersionCompositesByFilter(org.rhq.core.domain.auth.Subject user,
int resourceId,
String filter,
org.rhq.core.domain.util.PageControl pc)
|
org.rhq.core.domain.content.composite.AdvisoryDetailsComposite |
loadAdvisoryDetailsComposite(org.rhq.core.domain.auth.Subject user,
Integer advisoryId)
Retrieves Advisory Details by its ID. |
org.rhq.core.domain.content.composite.PackageVersionComposite |
loadPackageVersionComposite(org.rhq.core.domain.auth.Subject user,
int packageVersionId)
Used to retrieve information about a package version to display to a user. |
org.rhq.core.domain.content.composite.PackageVersionComposite |
loadPackageVersionCompositeWithExtraProperties(org.rhq.core.domain.auth.Subject user,
int packageVersionId)
Used to retrieve information about a package version to display to a user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentUIManagerBean()
| Method Detail |
|---|
public org.rhq.core.domain.content.composite.LoadedPackageBitsComposite getLoadedPackageBitsComposite(int packageVersionId)
ContentUIManagerLocal
getLoadedPackageBitsComposite in interface ContentUIManagerLocalpackageVersionId - the PackageVersion identifier
LoadedPackageBitsCompositepublic org.rhq.core.domain.content.InstalledPackage getInstalledPackage(int id)
ContentUIManagerLocal
getInstalledPackage in interface ContentUIManagerLocalid - identifies the installed package
null otherwisepublic org.rhq.core.domain.content.PackageType getPackageType(int id)
ContentUIManagerLocal
getPackageType in interface ContentUIManagerLocalid - package type to load
null otherwisepublic List<org.rhq.core.domain.content.PackageType> getPackageTypes()
getPackageTypes in interface ContentUIManagerLocalpublic List<org.rhq.core.domain.content.PackageType> getPackageTypes(int resourceTypeId)
ContentUIManagerLocal
getPackageTypes in interface ContentUIManagerLocalresourceTypeId - identifies the resource type
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.PackageType> getPackageTypes(int resourceTypeId,
org.rhq.core.domain.util.PageControl pageControl)
ContentUIManagerLocal
getPackageTypes in interface ContentUIManagerLocalresourceTypeId - identifies the resource typepageControl - paging control
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.ContentServiceRequest> getContentRequestsWithStatus(org.rhq.core.domain.auth.Subject user,
int resourceId,
org.rhq.core.domain.content.ContentRequestStatus status,
org.rhq.core.domain.util.PageControl pageControl)
ContentUIManagerLocal
getContentRequestsWithStatus in interface ContentUIManagerLocaluser - the user who is requesting the retrievalresourceId - identifies the resource whose requests to retrievestatus - request status being matchedpageControl - pagination controller
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.ContentServiceRequest> getContentRequestsWithNotStatus(org.rhq.core.domain.auth.Subject user,
int resourceId,
org.rhq.core.domain.content.ContentRequestStatus status,
org.rhq.core.domain.util.PageControl pageControl)
ContentUIManagerLocal
getContentRequestsWithNotStatus in interface ContentUIManagerLocaluser - the user who is requesting the retrievalresourceId - identifies the resource whose requests to retrievestatus - request status to not matchpageControl - pagination controller
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageListItemComposite> getInstalledPackages(org.rhq.core.domain.auth.Subject user,
int resourceId,
Integer packageTypeFilterId,
String packageVersionFilter,
String search,
org.rhq.core.domain.util.PageControl pageControl)
ContentUIManagerLocal
getInstalledPackages in interface ContentUIManagerLocaluser - the user who is requesting the retrievalresourceId - identifies the resource whose requests to retrievesearch - string to search against filtering by name or descriptionpageControl - pagination controller
public List<org.rhq.core.domain.common.composite.IntegerOptionItem> getInstalledPackageTypes(org.rhq.core.domain.auth.Subject user,
int resourceId)
getInstalledPackageTypes in interface ContentUIManagerLocal
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> getInstalledPackageHistory(org.rhq.core.domain.auth.Subject subject,
int resourceId,
int generalPackageId,
org.rhq.core.domain.util.PageControl pageControl)
getInstalledPackageHistory in interface ContentUIManagerLocal
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionComposite> getPackageVersionCompositesByFilter(org.rhq.core.domain.auth.Subject user,
int resourceId,
String filter,
org.rhq.core.domain.util.PageControl pc)
getPackageVersionCompositesByFilter in interface ContentUIManagerLocal
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionComposite> getUpdatePackageVersionCompositesByFilter(org.rhq.core.domain.auth.Subject user,
int resourceId,
String filter,
org.rhq.core.domain.util.PageControl pc)
getUpdatePackageVersionCompositesByFilter in interface ContentUIManagerLocal
public org.rhq.core.domain.content.composite.PackageVersionComposite loadPackageVersionComposite(org.rhq.core.domain.auth.Subject user,
int packageVersionId)
ContentUIManagerLocal
loadPackageVersionComposite in interface ContentUIManagerLocaluser - user who wants to see the informationpackageVersionId - identifies what package version to return info on
public org.rhq.core.domain.content.composite.PackageVersionComposite loadPackageVersionCompositeWithExtraProperties(org.rhq.core.domain.auth.Subject user,
int packageVersionId)
ContentUIManagerLocal
loadPackageVersionCompositeWithExtraProperties in interface ContentUIManagerLocaluser - user who wants to see the informationpackageVersionId - identifies what package version to return info on
public List<org.rhq.core.domain.content.composite.PackageVersionComposite> getPackageVersionComposites(org.rhq.core.domain.auth.Subject user,
int[] packageVersionIds)
ContentUIManagerLocal
getPackageVersionComposites in interface ContentUIManagerLocaluser - user who wants to see the informationpackageVersionIds - identifies what package versions to return info on
public org.rhq.core.domain.content.composite.AdvisoryDetailsComposite loadAdvisoryDetailsComposite(org.rhq.core.domain.auth.Subject user,
Integer advisoryId)
ContentUIManagerLocal
loadAdvisoryDetailsComposite in interface ContentUIManagerLocaluser - user who wants to see the informationadvisoryId - identifier for advisory
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionComposite> getPackageVersionComposites(org.rhq.core.domain.auth.Subject user,
int[] packageVersionIds,
org.rhq.core.domain.util.PageControl pageControl)
ContentUIManagerLocal
getPackageVersionComposites in interface ContentUIManagerLocaluser - user who wants to see the informationpackageVersionIds - identifies what package versions to return info onpageControl - pagination controller
public org.rhq.core.domain.content.PackageVersion getPackageVersion(int packageVersionId)
ContentUIManagerLocal
getPackageVersion in interface ContentUIManagerLocalpackageVersionId - identifies the package version
public org.rhq.core.domain.content.ContentServiceRequest getContentServiceRequest(int requestId)
ContentUIManagerLocal
getContentServiceRequest in interface ContentUIManagerLocalrequestId - identifies the request
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> getInstalledPackageHistory(int contentServiceRequestId,
org.rhq.core.domain.util.PageControl pc)
ContentUIManagerLocal
getInstalledPackageHistory in interface ContentUIManagerLocalcontentServiceRequestId - identifies the request that caused the history entriespc - pagination controller
public org.rhq.core.domain.content.InstalledPackageHistory getInstalledPackageHistory(int historyId)
ContentUIManagerLocal
getInstalledPackageHistory in interface ContentUIManagerLocalhistoryId - identifies the history entry
public List<org.rhq.core.domain.content.PackageInstallationStep> getPackageInstallationSteps(int installedPackageHistoryId)
ContentUIManagerLocal
getPackageInstallationSteps in interface ContentUIManagerLocalinstalledPackageHistoryId - identifies the history entry
public org.rhq.core.domain.content.PackageInstallationStep getPackageInstallationStep(int stepId)
ContentUIManagerLocal
getPackageInstallationStep in interface ContentUIManagerLocalstepId - identifies the step to retrieve
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> getInstalledPackageHistoryForResource(int resourceId,
org.rhq.core.domain.util.PageControl pc)
ContentUIManagerLocal
getInstalledPackageHistoryForResource in interface ContentUIManagerLocalresourceId - must refer to a valid resource in the databasepc - pagination controller
null
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> findInstalledPackageHistoryByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.InstalledPackageHistoryCriteria criteria)
ContentUIManagerLocal
findInstalledPackageHistoryByCriteria in interface ContentUIManagerLocalnull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||