|
||||||||||
| 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 | |
|---|---|
PageList<ContentServiceRequest> |
getContentRequestsWithNotStatus(Subject user,
int resourceId,
ContentRequestStatus status,
PageControl pageControl)
Returns a list of all content requests made against the specified resource that do not match the specified status. |
PageList<ContentServiceRequest> |
getContentRequestsWithStatus(Subject user,
int resourceId,
ContentRequestStatus status,
PageControl pageControl)
Returns a list of all content requests made against the specified resource that match the specified status. |
ContentServiceRequest |
getContentServiceRequest(int requestId)
Retrieves a content request by its ID. |
InstalledPackage |
getInstalledPackage(int id)
Loads the installed package identified by the ID from the database. |
InstalledPackageHistory |
getInstalledPackageHistory(int historyId)
Retrieves a specific history entry by its ID. |
PageList<InstalledPackageHistory> |
getInstalledPackageHistory(int contentServiceRequestId,
PageControl pc)
Returns a list of installed package history entries that were created as a result of executing the indicated request. |
PageList<InstalledPackageHistory> |
getInstalledPackageHistory(Subject subject,
int resourceId,
int generalPackageId,
PageControl pageControl)
|
PageList<InstalledPackageHistory> |
getInstalledPackageHistoryForResource(int resourceId,
PageControl pc)
Returns a pagable list of all package events that have taken place on the given resource. |
PageList<PackageListItemComposite> |
getInstalledPackages(Subject user,
int resourceId,
java.lang.Integer packageTypeFilterId,
java.lang.String packageVersionFilter,
java.lang.String search,
PageControl pageControl)
Returns a list of all installed packages on the specified resource. |
java.util.List<IntegerOptionItem> |
getInstalledPackageTypes(Subject user,
int resourceId)
|
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. |
PackageInstallationStep |
getPackageInstallationStep(int stepId)
Retrieves a specific step entry by its ID. |
java.util.List<PackageInstallationStep> |
getPackageInstallationSteps(int installedPackageHistoryId)
Retrieves the individual steps executed during the specified package installation history. |
PackageType |
getPackageType(int id)
Loads the package type identified by the ID from the database. |
java.util.List<PackageType> |
getPackageTypes(int resourceTypeId)
Returns all package types that are available to the specified resource type. |
PageList<PackageType> |
getPackageTypes(int resourceTypeId,
PageControl pageControl)
Returns all package types that are available to the specified resource type in a page control. |
PackageVersion |
getPackageVersion(int packageVersionId)
Retrieves a package version by its ID. |
java.util.List<PackageVersionComposite> |
getPackageVersionComposites(Subject user,
int[] packageVersionIds)
Used to retrieve information about multiple packages to display to the user. |
PageList<PackageVersionComposite> |
getPackageVersionComposites(Subject user,
int[] packageVersionIds,
PageControl pageControl)
Used to retrieve information about multiple packages to display to the user. |
PageList<PackageVersionComposite> |
getPackageVersionCompositesByFilter(Subject user,
int resourceId,
java.lang.String filter,
PageControl pc)
|
PackageVersionComposite |
loadPackageVersionComposite(Subject user,
int packageVersionId)
Used to retrieve information about a package version to display to a user. |
PackageVersionComposite |
loadPackageVersionCompositeWithExtraProperties(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 LoadedPackageBitsComposite getLoadedPackageBitsComposite(int packageVersionId)
ContentUIManagerLocal
getLoadedPackageBitsComposite in interface ContentUIManagerLocalpackageVersionId - the PackageVersion identifier
LoadedPackageBitsCompositepublic InstalledPackage getInstalledPackage(int id)
ContentUIManagerLocal
getInstalledPackage in interface ContentUIManagerLocalid - identifies the installed package
null otherwisepublic PackageType getPackageType(int id)
ContentUIManagerLocal
getPackageType in interface ContentUIManagerLocalid - package type to load
null otherwisepublic java.util.List<PackageType> getPackageTypes(int resourceTypeId)
ContentUIManagerLocal
getPackageTypes in interface ContentUIManagerLocalresourceTypeId - identifies the resource type
public PageList<PackageType> getPackageTypes(int resourceTypeId,
PageControl pageControl)
ContentUIManagerLocal
getPackageTypes in interface ContentUIManagerLocalresourceTypeId - identifies the resource typepageControl - paging control
public PageList<ContentServiceRequest> getContentRequestsWithStatus(Subject user,
int resourceId,
ContentRequestStatus status,
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 PageList<ContentServiceRequest> getContentRequestsWithNotStatus(Subject user,
int resourceId,
ContentRequestStatus status,
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 PageList<PackageListItemComposite> getInstalledPackages(Subject user,
int resourceId,
java.lang.Integer packageTypeFilterId,
java.lang.String packageVersionFilter,
java.lang.String search,
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 java.util.List<IntegerOptionItem> getInstalledPackageTypes(Subject user,
int resourceId)
getInstalledPackageTypes in interface ContentUIManagerLocal
public PageList<InstalledPackageHistory> getInstalledPackageHistory(Subject subject,
int resourceId,
int generalPackageId,
PageControl pageControl)
getInstalledPackageHistory in interface ContentUIManagerLocal
public PageList<PackageVersionComposite> getPackageVersionCompositesByFilter(Subject user,
int resourceId,
java.lang.String filter,
PageControl pc)
getPackageVersionCompositesByFilter in interface ContentUIManagerLocal
public PackageVersionComposite loadPackageVersionComposite(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 PackageVersionComposite loadPackageVersionCompositeWithExtraProperties(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 java.util.List<PackageVersionComposite> getPackageVersionComposites(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 PageList<PackageVersionComposite> getPackageVersionComposites(Subject user,
int[] packageVersionIds,
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 PackageVersion getPackageVersion(int packageVersionId)
ContentUIManagerLocal
getPackageVersion in interface ContentUIManagerLocalpackageVersionId - identifies the package version
public ContentServiceRequest getContentServiceRequest(int requestId)
ContentUIManagerLocal
getContentServiceRequest in interface ContentUIManagerLocalrequestId - identifies the request
public PageList<InstalledPackageHistory> getInstalledPackageHistory(int contentServiceRequestId,
PageControl pc)
ContentUIManagerLocal
getInstalledPackageHistory in interface ContentUIManagerLocalcontentServiceRequestId - identifies the request that caused the history entriespc - pagination controller
public InstalledPackageHistory getInstalledPackageHistory(int historyId)
ContentUIManagerLocal
getInstalledPackageHistory in interface ContentUIManagerLocalhistoryId - identifies the history entry
public java.util.List<PackageInstallationStep> getPackageInstallationSteps(int installedPackageHistoryId)
ContentUIManagerLocal
getPackageInstallationSteps in interface ContentUIManagerLocalinstalledPackageHistoryId - identifies the history entry
public PackageInstallationStep getPackageInstallationStep(int stepId)
ContentUIManagerLocal
getPackageInstallationStep in interface ContentUIManagerLocalstepId - identifies the step to retrieve
public PageList<InstalledPackageHistory> getInstalledPackageHistoryForResource(int resourceId,
PageControl pc)
ContentUIManagerLocal
getInstalledPackageHistoryForResource in interface ContentUIManagerLocalresourceId - must refer to a valid resource in the databasepc - pagination controller
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||