public class ContentUIManagerBean extends Object implements ContentUIManagerLocal
| Constructor and Description |
|---|
ContentUIManagerBean() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public org.rhq.core.domain.content.composite.LoadedPackageBitsComposite getLoadedPackageBitsComposite(int packageVersionId)
ContentUIManagerLocalgetLoadedPackageBitsComposite in interface ContentUIManagerLocalpackageVersionId - the PackageVersion identifierLoadedPackageBitsCompositepublic org.rhq.core.domain.content.InstalledPackage getInstalledPackage(int id)
ContentUIManagerLocalgetInstalledPackage in interface ContentUIManagerLocalid - identifies the installed packagenull otherwisepublic org.rhq.core.domain.content.PackageType getPackageType(int id)
ContentUIManagerLocalgetPackageType in interface ContentUIManagerLocalid - package type to loadnull otherwisepublic List<org.rhq.core.domain.content.PackageType> getPackageTypes()
getPackageTypes in interface ContentUIManagerLocalpublic List<org.rhq.core.domain.content.PackageType> getPackageTypes(int resourceTypeId)
ContentUIManagerLocalgetPackageTypes in interface ContentUIManagerLocalresourceTypeId - identifies the resource typepublic org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.PackageType> getPackageTypes(int resourceTypeId,
org.rhq.core.domain.util.PageControl pageControl)
ContentUIManagerLocalgetPackageTypes in interface ContentUIManagerLocalresourceTypeId - identifies the resource typepageControl - paging controlpublic 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)
ContentUIManagerLocalgetContentRequestsWithStatus in interface ContentUIManagerLocaluser - the user who is requesting the retrievalresourceId - identifies the resource whose requests to retrievestatus - request status being matchedpageControl - pagination controllerpublic 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)
ContentUIManagerLocalgetContentRequestsWithNotStatus in interface ContentUIManagerLocaluser - the user who is requesting the retrievalresourceId - identifies the resource whose requests to retrievestatus - request status to not matchpageControl - pagination controllerpublic 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)
ContentUIManagerLocalgetInstalledPackages 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 controllerpublic List<org.rhq.core.domain.common.composite.IntegerOptionItem> getInstalledPackageTypes(org.rhq.core.domain.auth.Subject user, int resourceId)
getInstalledPackageTypes in interface ContentUIManagerLocalpublic 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 ContentUIManagerLocalpublic 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 ContentUIManagerLocalpublic 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 ContentUIManagerLocalpublic org.rhq.core.domain.content.composite.PackageVersionComposite loadPackageVersionComposite(org.rhq.core.domain.auth.Subject user,
int packageVersionId)
ContentUIManagerLocalloadPackageVersionComposite in interface ContentUIManagerLocaluser - user who wants to see the informationpackageVersionId - identifies what package version to return info onpublic org.rhq.core.domain.content.composite.PackageVersionComposite loadPackageVersionCompositeWithExtraProperties(org.rhq.core.domain.auth.Subject user,
int packageVersionId)
ContentUIManagerLocalloadPackageVersionCompositeWithExtraProperties in interface ContentUIManagerLocaluser - user who wants to see the informationpackageVersionId - identifies what package version to return info onpublic List<org.rhq.core.domain.content.composite.PackageVersionComposite> getPackageVersionComposites(org.rhq.core.domain.auth.Subject user, int[] packageVersionIds)
ContentUIManagerLocalgetPackageVersionComposites in interface ContentUIManagerLocaluser - user who wants to see the informationpackageVersionIds - identifies what package versions to return info onpublic org.rhq.core.domain.content.composite.AdvisoryDetailsComposite loadAdvisoryDetailsComposite(org.rhq.core.domain.auth.Subject user,
Integer advisoryId)
ContentUIManagerLocalloadAdvisoryDetailsComposite in interface ContentUIManagerLocaluser - user who wants to see the informationadvisoryId - identifier for advisorypublic 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)
ContentUIManagerLocalgetPackageVersionComposites in interface ContentUIManagerLocaluser - user who wants to see the informationpackageVersionIds - identifies what package versions to return info onpageControl - pagination controllerpublic org.rhq.core.domain.content.PackageVersion getPackageVersion(int packageVersionId)
ContentUIManagerLocalgetPackageVersion in interface ContentUIManagerLocalpackageVersionId - identifies the package versionpublic org.rhq.core.domain.content.ContentServiceRequest getContentServiceRequest(int requestId)
ContentUIManagerLocalgetContentServiceRequest in interface ContentUIManagerLocalrequestId - identifies the requestpublic org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> getInstalledPackageHistory(int contentServiceRequestId,
org.rhq.core.domain.util.PageControl pc)
ContentUIManagerLocalgetInstalledPackageHistory in interface ContentUIManagerLocalcontentServiceRequestId - identifies the request that caused the history entriespc - pagination controllerpublic org.rhq.core.domain.content.InstalledPackageHistory getInstalledPackageHistory(int historyId)
ContentUIManagerLocalgetInstalledPackageHistory in interface ContentUIManagerLocalhistoryId - identifies the history entrypublic List<org.rhq.core.domain.content.PackageInstallationStep> getPackageInstallationSteps(int installedPackageHistoryId)
ContentUIManagerLocalgetPackageInstallationSteps in interface ContentUIManagerLocalinstalledPackageHistoryId - identifies the history entrypublic org.rhq.core.domain.content.PackageInstallationStep getPackageInstallationStep(int stepId)
ContentUIManagerLocalgetPackageInstallationStep in interface ContentUIManagerLocalstepId - identifies the step to retrievepublic org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.InstalledPackageHistory> getInstalledPackageHistoryForResource(int resourceId,
org.rhq.core.domain.util.PageControl pc)
ContentUIManagerLocalgetInstalledPackageHistoryForResource in interface ContentUIManagerLocalresourceId - must refer to a valid resource in the databasepc - pagination controllernullpublic 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)
ContentUIManagerLocalfindInstalledPackageHistoryByCriteria in interface ContentUIManagerLocalnullCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.